/* =========================================
   THEME VARIABLES & RESET
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
    --bg-body: #f8faff;
    --deep-blue: #0f172a;        /* Main Dark Color */
    --royal-blue: #1d4ed8;       /* Primary Blue */
    --neon-lime: #ccff00;        /* WPP Neon Accent */
    --text-dark: #1e293b;
    --text-grey: #64748b;
    --white: #ffffff;
    
    --font-head: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 16px;
    --shadow: 0 10px 40px -5px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   HEADER
========================================= */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--royal-blue); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--deep-blue); position: relative; }
.nav-links a:hover { color: var(--royal-blue); }

.contact-pill {
    background: var(--deep-blue);
    color: var(--neon-lime);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--deep-blue);
}
.contact-pill:hover { background: transparent; color: var(--deep-blue); }


/* =========================================
   HERO SECTION – WPP STYLE + ANIMATION
========================================= */

.hero {
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 30% 35%, rgba(140,255,0,0.35), transparent 42%),
        radial-gradient(circle at 70% 30%, rgba(0,180,255,0.35), transparent 45%),
        radial-gradient(circle at 50% 65%, rgba(90,120,255,0.25), transparent 50%),
        linear-gradient(180deg, #fbfdff 0%, #f1f6ff 100%);

    background-size: 140% 140%;
    animation: heroGlowMove 16s ease-in-out infinite alternate;
}

/* BACKGROUND GLOW ANIMATION */
@keyframes heroGlowMove {
    0% {
        background-position: 30% 30%, 70% 30%, 50% 65%, center;
    }
    100% {
        background-position: 40% 40%, 60% 25%, 50% 55%, center;
    }
}

/* Soft dotted texture */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cfd8ff 0.6px, transparent 0.6px);
    background-size: 26px 26px;
    opacity: 0.25;
    pointer-events: none;
}

/* HERO HEADING */
.hero h1 {
    font-family: var(--font-head);
    font-size: 4.1rem;
    line-height: 1.15;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;

    background: linear-gradient(
        90deg,
        #0b1d3a,
        #1f4cff,
        #00b4ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 1.1s ease forwards;
}

/* HERO SUBTEXT */
.hero p {
    font-size: 1.25rem;
    color: #4e5f78;
    max-width: 720px;
    margin: 0 auto 48px;
    font-weight: 400;
    position: relative;
    z-index: 2;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 1.1s ease forwards;
    animation-delay: 0.25s;
}

/* CTA BUTTON */
.hero-btn {
    background: linear-gradient(135deg,
        #ccff00,
        #7bff6b,
        #00c6ff
    );
    color: #081c3a;
    padding: 18px 54px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.4px;

    box-shadow:
        0 18px 40px rgba(0,180,255,0.35),
        0 0 40px rgba(204,255,0,0.45);

    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 1.1s ease forwards;
    animation-delay: 0.45s;

    transition: all 0.35s ease;
}

/* TEXT & BUTTON ENTRY */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA HOVER ANIMATION */
.hero-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 25px 55px rgba(0,180,255,0.45),
        0 0 60px rgba(204,255,0,0.65);
}




/* =========================================
   PRODUCTS GRID
========================================= */
.products-section { padding: 60px 0; background: var(--bg-body); }

.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-family: var(--font-head); font-size: 3rem; color: var(--deep-blue); margin-bottom: 10px; }
.section-head p { font-size: 1.1rem; color: var(--text-grey); }

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 30px 25px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--neon-lime);
}

.card-icon {
    width: 60px; height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--deep-blue);
    margin-bottom: 20px;
    transition: 0.3s;
}
.product-card:hover .card-icon { background: var(--deep-blue); color: var(--neon-lime); }

.product-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--deep-blue); font-weight: 600; }
.product-card p { font-size: 0.95rem; color: var(--text-grey); margin-bottom: 20px; }
.card-link { font-size: 0.85rem; font-weight: 700; color: var(--royal-blue); text-transform: uppercase; letter-spacing: 0.5px; }

/* =========================================
   PARTNERS STRIP
========================================= */
.partners-strip {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.partners-grid {
    display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; opacity: 0.8;
}
.partner-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; color: #475569; font-size: 1.2rem;
}
.partner-logo i { font-size: 1.5rem; }

/* =========================================
   ADVANTAGE SECTION (NEW CARD STYLE)
========================================= */
.advantage-section {
    padding: 80px 0;
    background: #fff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.adv-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.4s;
}

.adv-card:hover {
    background: var(--deep-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.adv-icon-box {
    width: 80px; height: 80px;
    margin: 0 auto 25px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--royal-blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.adv-card:hover .adv-icon-box {
    background: var(--neon-lime);
    color: var(--deep-blue);
    transform: scale(1.1);
}

.adv-card h3 {
    font-size: 1.4rem; font-weight: 700; color: var(--deep-blue); margin-bottom: 10px;
    font-family: var(--font-head);
}
.adv-card p { font-size: 1rem; color: var(--text-grey); }

/* Change text color on hover */
.adv-card:hover h3 { color: white; }
.adv-card:hover p { color: #cbd5e1; }



/* =========================================
   NEW QUOTE FORM SECTION
========================================= */
.quote-section {
    padding: 80px 0;
    background: #0f172a; /* Deep Blue Background */
    color: white;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.quote-text h2 {
    font-family: var(--font-head);
    font-size: 3rem;
    margin: 15px 0 20px;
    color: white;
}

.quote-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.check-list-hero li {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 15px; font-size: 1.1rem; color: #fff;
}
.check-list-hero i { color: var(--neon-lime); }

.quote-box {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width { grid-column: span 2; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.main-form .form-input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #333;
}
.main-form .form-input:focus {
    border-color: var(--royal-blue);
    background: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quote-wrapper { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .quote-text h2 { font-size: 2.5rem; }
}


/* =========================================
   HOW IT WORKS (NEW FEATURE)
========================================= */
.process-section {
    padding: 80px 0;
    background: var(--deep-blue);
    color: white;
    text-align: center;
}

.process-steps {
    display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 50px; gap: 30px;
    position: relative;
}

.step-item { flex: 1; min-width: 250px; position: relative; z-index: 2; }

.step-num {
    width: 60px; height: 60px; background: var(--neon-lime); color: var(--deep-blue);
    border-radius: 50%; font-size: 1.5rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; border: 4px solid rgba(255,255,255,0.1);
}

.step-item h4 { font-size: 1.3rem; margin-bottom: 10px; color: white; }
.step-item p { color: #94a3b8; font-size: 0.95rem; max-width: 250px; margin: 0 auto; }

/* =========================================
   FOOTER
========================================= */
footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid #1e293b;
}
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-box h4 { color: white; margin-bottom: 25px; font-family: var(--font-head); font-size: 1.4rem; }
.footer-box a { display: block; margin-bottom: 15px; color: #94a3b8; font-size: 1rem; }
.footer-box a:hover { color: var(--neon-lime); padding-left: 5px; }

/* =========================================
   MODAL
========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center; z-index: 2000;
}
.modal-box {
    background: white; width: 95%; max-width: 450px; padding: 40px;
    border-radius: 24px; position: relative; animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #999; }
.form-input {
    width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #cbd5e1;
    border-radius: 12px; font-size: 1rem; background: #f8fafc;
}
.btn-submit {
    width: 100%; padding: 15px; background: var(--deep-blue); color: var(--neon-lime);
    border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .partners-grid { gap: 30px; flex-direction: column; align-items: center; }
    .nav-links { display: none; }
    .process-steps { flex-direction: column; }
}



/* =========================================
   LEGAL PAGES STYLING
========================================= */
.legal-content {
    background: white;
    padding: 60px 0;
    color: var(--text-dark);
}

.legal-content h2 {
    font-family: var(--font-head);
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--text-grey);
}


/* =========================================
   WIZARD / JOURNEY STYLING
========================================= */
.wizard-container {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Progress Bar */
.progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 5px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--neon-lime); /* Neon Progress */
    width: 0%;
    transition: width 0.4s ease;
}
.progress-text {
    text-align: right;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 25px;
}

/* Steps */
.wizard-step { display: none; animation: fadeIn 0.4s ease; }
.wizard-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-header h2 { font-family: var(--font-head); font-size: 1.6rem; color: var(--deep-blue); margin-bottom: 5px; }
.step-header p { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; }
.badge-offer {
    background: #ecfccb; color: #3f6212; 
    font-size: 0.75rem; padding: 4px 10px; border-radius: 4px;
    display: inline-block; margin-bottom: 20px; font-weight: 600;
}

/* Gender Toggle */
.gender-toggle { display: flex; gap: 10px; margin-bottom: 25px; }
.radio-label { flex: 1; }
.radio-label input { display: none; }
.radio-label span {
    display: block; text-align: center; padding: 12px;
    border: 1px solid #e2e8f0; border-radius: 10px;
    font-weight: 600; cursor: pointer; color: var(--text-grey);
}
.radio-label input:checked + span {
    background: var(--deep-blue); color: var(--neon-lime); border-color: var(--deep-blue);
}

/* Member Grid */
.member-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-bottom: 25px;
}
.member-card {
    border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px 10px;
    text-align: center; cursor: pointer; transition: 0.2s; position: relative;
}
.member-card input { display: none; }
.member-card .icon { font-size: 1.5rem; margin-bottom: 5px; }
.member-card span { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.member-card.selected {
    border: 2px solid var(--royal-blue); background: #eff6ff;
}

/* Trust Box (Step 3) */
.trust-stats-box {
    background: #f8fafc; padding: 15px; border-radius: 10px; margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.ts-item { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ts-item.highlight { color: #16a34a; font-weight: 700; margin-bottom: 0; }

/* Inputs */
.wizard-input, .wizard-select {
    width: 100%; padding: 14px; border: 1px solid #cbd5e1;
    border-radius: 8px; font-size: 1rem; margin-bottom: 20px;
}
.wizard-input:focus { border-color: var(--royal-blue); outline: none; }

/* Disease Grid (Step 4) */
.disease-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.disease-card {
    border: 1px solid #e2e8f0; padding: 8px 15px; border-radius: 20px;
    font-size: 0.85rem; cursor: pointer; color: var(--text-grey);
}
.disease-card input { display: none; }
.disease-card.selected {
    background: var(--royal-blue); color: white; border-color: var(--royal-blue);
}

/* Buttons */
.btn-next {
    width: 100%; padding: 16px; background: var(--deep-blue);
    color: var(--neon-lime); border: none; border-radius: 12px;
    font-size: 1.1rem; font-weight: 700; cursor: pointer;
    transition: 0.3s;
}
.btn-next:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-back {
    width: 100%; background: transparent; border: none;
    color: #94a3b8; padding: 10px; margin-top: 5px; cursor: pointer;
}
.legal-note { font-size: 0.7rem; color: #94a3b8; text-align: center; margin-top: 15px; }

/* Mobile */
@media (max-width: 500px) {
    .wizard-container { margin: 0; border-radius: 0; min-height: 100vh; }
    .member-grid { grid-template-columns: 1fr 1fr; }
}





/* =========================================
   NEW ADVANTAGE SECTION (SPLIT LAYOUT)
========================================= */
.advantage-section {
    padding: 100px 0;
    background: white; /* Clean White Background */
}

.adv-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Text takes less space, Cards take more */
    gap: 60px;
    align-items: center;
}

/* Left Content Styling */
.adv-content h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--deep-blue);
    margin: 15px 0 20px;
}

.adv-content p {
    font-size: 1.1rem;
    color: var(--text-grey);
    line-height: 1.7;
    max-width: 400px;
}

/* Right Grid Styling (2x2) */
.adv-grid-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Card Styling */
.adv-card {
    background: #f8fafc;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.adv-card:hover {
    background: var(--deep-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    border-color: var(--deep-blue);
}

/* Icon Box */
.adv-icon-box {
    width: 60px; height: 60px;
    background: white;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--royal-blue);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.4s;
}

/* Hover Effects */
.adv-card:hover .adv-icon-box {
    background: var(--neon-lime);
    color: var(--deep-blue);
    transform: rotateY(180deg); /* 3D Rotate Effect */
}

.adv-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 10px;
    transition: 0.3s;
}

.adv-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
    transition: 0.3s;
}

.adv-card:hover h3 { color: white; }
.adv-card:hover p { color: #cbd5e1; }

/* Responsive Mobile */
@media (max-width: 900px) {
    .adv-split-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 40px;
        text-align: center;
    }
    .adv-content p { margin: 0 auto; }
    .adv-content ul { display: inline-block; text-align: left; }
}

@media (max-width: 600px) {
    .adv-grid-box {
        grid-template-columns: 1fr; /* 1 Column on small phones */
    }
}