/* 1. SETUP & GLOBAL STYLES */
:root {
    --brand-red: #E63946;
    --dark-blue: #0D1B2A;
    --mid-blue: #1B263B;
    --light-blue: #415A77;
    --text-light: #F0F8FF;
    --text-muted: #778DA9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-blue);
    color: var(--text-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
}

h2 .highlight {
    color: var(--brand-red);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

section {
    padding: 100px 0;
    overflow: hidden;
}

section h2 {
    opacity: 0;
    transform: translateY(30px);
}

/* --- NEW NAVIGATION BAR STYLES --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.main-nav.scrolled {
    background-color: rgba(13, 27, 42, 0.85);
    /* --dark-blue with opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-cta {
    padding: 8px 24px !important;
    font-size: 0.9rem !important;
    background-color: var(--brand-red) !important;
    border: 2px solid var(--brand-red);
    box-shadow: none !important;
}

/* .nav-cta:hover {
    background-color: var(--brand-red) !important;
    transform: translateY(-2px) !important;
} */
/* -------------------------------- */


/* 2. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/8386440/pexels-photo-8386440.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--dark-blue) 5%, rgba(13, 27, 42, 0.6) 50%, rgba(13, 27, 42, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
}

.hero-h1 .line-wrapper {
    display: block;
    overflow: hidden;
}

.hero-h1 .line {
    transform: translateY(110%);
    display: block;
}

.subheadline {
    opacity: 0;
    transform: translateY(30px);
}

.cta-section {
    opacity: 0;
    transform: translateY(30px);
}

.cta-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-section input,
.cta-section select {
    padding: 15px 20px;
    border: 1px solid var(--light-blue);
    border-radius: 50px;
    background-color: rgba(27, 38, 59, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.cta-section input::placeholder {
    color: var(--text-muted);
}

.cta-section input:focus,
.cta-section select:focus {
    border-color: var(--brand-red);
}

.cta-section select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23778DA9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem;
}

/* 3. AUDIENCE SECTION */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.audience-card {
    background-color: var(--mid-blue);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
}

.audience-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--brand-red);
}

.audience-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: var(--brand-red);
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* 4. FEATURES SECTION */
#features {
    background-color: var(--mid-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: var(--dark-blue);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--brand-red);
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

.feature-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
}

.feature-icon {
    width: 35px;
    height: 35px;
    color: var(--brand-red);
    flex-shrink: 0;
}

/* 5. HOW IT WORKS SECTION */
.how-it-works-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 40px;
}

.steps-connector {
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--light-blue), var(--light-blue) 10px, transparent 10px, transparent 20px);
    z-index: -1;
}

.steps-connector-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 300px;
    opacity: 0;
    transform: translateY(40px);
}

.step-number {
    width: 90px;
    height: 90px;
    border: 3px solid var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-red);
    background-color: var(--dark-blue);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    background-color: #e639462a;
}

.step h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* 6. TRUST SECTION */
#social-proof {
    background-color: var(--mid-blue);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
}

.trust-item .stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
    display: inline-block;
}

.trust-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* 7. NEWSLETTER & BUTTON */
.newsletter-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--mid-blue);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--light-blue);
    opacity: 0;
    transform: scale(0.95);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-fields input,
.form-fields select {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--dark-blue);
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-fields input:focus,
.form-fields select:focus {
    outline: none;
    border-color: var(--brand-red);
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #ff4d4d;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::after {
    left: 150%;
}

/* 8. FOOTER & RESPONSIVE */
footer {
    background-color: #08121d;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--brand-red);
}

.social-icons a {
    margin: 0 10px;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a svg {
    width: 24px;
    height: 24px;
}

.social-icons a:hover {
    color: var(--brand-red);
    transform: translateY(-3px);
}

.footer-contact p,
.footer-copyright p {
    color: var(--text-muted);
    font-s-size: 0.9rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--brand-red);
}

@media (max-width: 992px) {
    .how-it-works-steps {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .steps-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2,
    section h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .hero h1 .line {
        transform: translateY(100%);
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-section input,
    .cta-section select,
    .cta-section button {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}





/* Initial states for animation */
.privacy-section h1,
.policy-content {
    opacity: 0;
    transform: translateY(40px);
    padding-bottom: 4%;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--mid-blue);
    padding: 30px 40px;
    border-radius: 15px;
    border: 1px solid var(--light-blue);
}

.policy-content h3 {
    color: var(--brand-red);
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-blue);
}

.policy-content h3:first-of-type {
    margin-top: 0;
}

.policy-content p,
.policy-content li {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-content ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.policy-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-red);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.7;
}

.policy-content a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}



@media (max-width: 768px) {
    .policy-content {
        padding: 20px;
    }

    .privacy-section {
        padding: 120px 0 80px 0;
    }
}