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

:root {
    /* NEW: Blue Branding Palette */
    --primary-blue: #0084FF;
    --primary-blue-dark: #0066CC;
    --light-blue: #E6F2FF;
    --blue-gradient: linear-gradient(135deg, #0084FF 0%, #0066CC 100%);
    --light-gradient: linear-gradient(135deg, #F0F8FF 0%, #E6F2FF 100%);
    
    --navy-blue: #0F2A4D;
    --text-primary-dark: #0F2A4D;
    --text-secondary-dark: #3E6089;
    --background: #FFFFFF;
    --background-secondary: #F7FAFF;
    --border-color: rgba(0, 132, 255, 0.2);
    
    --success: #2E854B;
    --warning: #E5A663;
    --error: #D06454;
    
    --nav-height: 99px;
    --container-width: 1400px; /* UPDATED: Wider container */
    --border-radius: 24px;
    --border-radius-small: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-small: 0 2px 12px rgba(0, 102, 204, 0.06);
    --shadow-medium: 0 4px 24px rgba(0, 102, 204, 0.1);
    --shadow-large: 0 12px 48px rgba(0, 102, 204, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 102, 204, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary-dark);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary-dark);
}

h1 { 
    font-size: 52px; 
    font-weight: 400;
}
h2 { 
    font-size: 44px; 
    margin-bottom: 24px;
    font-weight: 400;
}
h3 { 
    font-size: 30px; 
    margin-bottom: 16px;
    font-weight: 500;
}
h4 { 
    font-size: 22px;
    font-weight: 500;
}
p { 
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-secondary-dark);
}
.faq-answer ul {
    list-style-position: outside;
    padding-left: 20px;
    margin-bottom: 16px;
}
.faq-answer li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-secondary-dark);
}
.faq-answer li:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    h1 { font-size: 38px; }
    h2 { font-size: 34px; }
    h3 { font-size: 26px; }
}

/* Navigation - UPDATED */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--primary-blue); /* UPDATED */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* UPDATED */
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--primary-blue); /* UPDATED */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 90px;
    vertical-align: middle;
    transition: transform 0.4s ease, height 0.4s ease; /* Added height to transition */
    filter: invert(1);
}

.logo-link:hover .logo-img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 16px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white; /* UPDATED */
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-login {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.nav-cta {
    background: white;
    color: var(--primary-blue-dark) !important;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 400;
    transition: all 0.4s ease;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 32px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--blue-gradient);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--light-blue);
    color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-large {
    padding: 18px 52px;
    font-size: 18px;
}

.btn-glow {
    box-shadow: 0 8px 28px rgba(0, 102, 204, 0.2);
}

.btn-arrow {
    transition: transform 0.4s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Section - UPDATED */
.hero {
    padding: calc(var(--nav-height) + 80px) 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
/*    background: var(--background-secondary); /* UPDATED: Changed from image to color */
    background-color: #c1e7e9
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* UPDATED: Two columns */
    gap: 80px;
    align-items: center;
    text-align: left; /* UPDATED: Align text left */
}

.hero-content {
    max-width: 600px; /* Limit text width */
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    margin-bottom: 24px;
    font-size: 58px; /* UPDATED: Most prominent */
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 1000;
    color: var(--text-primary-dark);
}

.hero-subtitle {
    font-size: 24px; /* UPDATED: 2nd most prominent */
    color: var(--text-secondary-dark); 
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-tagline { /* NEW */
    font-size: 20px;
    color: var(--text-secondary-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start; /* UPDATED: Align button left */
    animation: fadeInUp 1.2s ease;
}

.hero-image-wrapper { /* NEW */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease;
}

.hero-image { /* NEW */
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 20px;
}

/* Sections */
.process, .why-us, .bmi-section, .wegovy, .pricing, .team, .faq {
    padding: 120px 0;
    border-top: 1px solid var(--border-color); /* NEW: Visual divider */
}

.process { background: var(--background); }
.why-us { background: var(--background-secondary); }
.bmi-section { background: var(--background); }
.wegovy { background: var(--background-secondary); }
.pricing { background: var(--background); }
.team { background: var(--background-secondary); }
.faq { background: var(--background); }


.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary-dark);
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    background: var(--background);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--border-color);
    padding: 0;
    overflow: hidden;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--light-blue);
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary-dark);
    margin: 0;
    min-height: 1px; /* To prevent collapse */
}

.card-top-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 32px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--background);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--border-color);
    padding: 0;
}
.why-us .feature-card { /* Adjust feature cards for light blue background */
     background: var(--background);
}


.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--light-blue);
}

.feature-link {
    color: var(--primary-blue);
    font-weight: 400;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-link {
    opacity: 1;
}

/* BMI Calculator */
.bmi-card {
    background: var(--light-gradient);
    padding: 64px;
    border-radius: 32px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.bmi-card h2 {
    margin-bottom: 16px;
}

.bmi-inputs {
    margin: 40px auto 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-field {
    width: 100%;
    padding: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 18px;
    transition: all 0.4s ease;
    background: var(--background);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.1);
}

.btn-calculate {
    margin-top: 24px;
}

.bmi-result {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.bmi-result.show {
    opacity: 1;
    transform: translateY(0);
}

/* Wegovy Section */
.wegovy-hero-image {
    margin: 48px 0;
    text-align: center;
}

.wegovy-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow-large);
}

.info-card {
    background: var(--background);
    padding: 32px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--border-color);
}

/* FIX: Add spacing between Wegovy effectiveness and safety sections */
.wegovy-info h3:nth-of-type(2) {
    margin-top: 60px;
}

.effectiveness-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.9);
    border: 1px solid var(--border-color);
}

.stat.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-animated { animation: statPulse 3s ease-in-out infinite; }

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--background);
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
    margin-top: 16px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary-dark);
    line-height: 1.4;
}

.safety-info {
    background: rgba(46, 133, 75, 0.1);
    padding: 32px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success);
    margin: 24px 0 24px 0; /* UPDATED: Changed top margin to 24px from 60px */
}

.faq-section-title {
    text-align: center;
    margin: 80px 0 48px;
    font-size: 36px;
}

/* Pricing Section - UPDATED */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    align-items: stretch;
}

.pricing-card {
    background: var(--background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.pricing-card.primary-card {
    background: var(--navy-blue);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}
.pricing-card.primary-card:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-card-header {
    margin-bottom: 32px;
}

.pricing-card-header h3 {
    margin-top: 12px;
    margin-bottom: 12px;
}
.primary-card .pricing-card-header h3,
.primary-card .pricing-card-header p {
    color: white;
}
.primary-card .pricing-card-header p {
    color: rgba(255, 255, 255, 0.8);
}


.pricing-step {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-blue);
    color: var(--primary-blue-dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.primary-card .pricing-step {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.price-list {
    list-style: none;
    margin-bottom: 32px;
    padding-left: 0;
    text-align: left;
    flex-grow: 1;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    color: var(--text-secondary-dark);
}
.price-list li:last-child {
    border-bottom: none;
}
.price-list li strong {
    font-weight: 600;
    color: var(--text-primary-dark);
}
.primary-card .price-list li,
.primary-card .price-list li strong {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-list.features-list {
    text-align: left;
    list-style-type: '✔️ ';
    padding-left: 20px;
}
.price-list.features-list li {
    justify-content: flex-start;
    border-bottom: none;
    padding: 8px 0;
    line-height: 1.5;
}


.price-display-main {
    margin-bottom: 32px;
    flex-grow: 1;
}
.price-display-main h4 {
    color: white;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}
.price-amount {
    font-size: 64px;
    font-weight: 400;
    color: white;
    line-height: 1;
}
.price-period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.pricing-card-footer {
    margin-top: auto;
}
.pricing-card-footer .btn {
    width: 100%;
    justify-content: center;
}
.primary-card .btn {
    background: white;
    color: var(--primary-blue-dark);
}
.primary-card .btn:hover {
    background: var(--light-blue);
}

.pricing-card .btn[href="#"] {
    cursor: not-allowed;
    background-color: var(--background-secondary);
    border-color: var(--background-secondary);
    color: var(--text-secondary-dark);
    opacity: 0.7;
}
.pricing-card .btn[href="#"]:hover {
    transform: none;
    box-shadow: none;
}
.primary-card .btn[href="#"] {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-secondary-dark);
}
.primary-card .btn[href="#"]:hover {
    background: rgba(255, 255, 255, 0.8);
}


.card-note {
    font-size: 14px;
    color: var(--text-secondary-dark);
    line-height: 1.5;
    margin-bottom: 24px;
}
.primary-card .card-note {
    color: rgba(255, 255, 255, 0.7);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
    padding: 40px;
    background: var(--background);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--border-color);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.member-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.member-image:hover {
    box-shadow: var(--shadow-large);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.member-photo:hover {
    transform: scale(1.05);
}

.member-initial {
    font-size: 64px;
    font-weight: 400;
    color: white;
}

.member-title {
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-size: 16px;
}

.member-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.badge {
    padding: 4px 12px;
    background: var(--light-blue);
    color: var(--primary-blue-dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.member-bio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    text-align: left;
    margin-top: 16px;
}

.member-bio-content.expanded { max-height: 800px; }

.member-bio {
    color: var(--text-secondary-dark);
    font-size: 15px;
    line-height: 1.6;
}

.expand-bio-btn {
    margin-top: 16px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 400;
}

.expand-bio-btn:hover {
    background: var(--light-blue);
    color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

/* FAQ Accordion Section - UPDATED */
.faq-grid {
    display: flex;
    gap: 32px;
    margin-bottom: 64px;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-item {
    padding: 0;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--light-blue);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 32px;
    background: var(--background);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary-dark);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background: var(--background-secondary);
}

.faq-answer-content {
    padding: 24px 32px;
}

.faq-answer p {
    line-height: 1.7;
    margin-bottom: 16px;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    background-color: var(--light-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-cta {
    text-align: center;
}

.faq-cta p {
    font-size: 20px;
    margin-bottom: 24px;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--light-blue); /* UPDATED: Changed from navy to primary blue */
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    font-weight: 400;
    margin-bottom: 24px;
}

.final-cta h2 {
    color: var(--text-secondary-dark);
    margin-bottom: 16px;
    font-size: 52px;
    font-weight: 400;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: var(--text-secondary-dark);
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary-blue-dark);
    font-size: 18px;
    padding: 20px 52px;
}

.final-cta .btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--primary-blue); /* UPDATED */
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; }

.footer-section h4 {
    margin-bottom: 24px;
    font-weight: 500;
    color: white;
}

.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 12px; }

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s ease;
}

.footer-section a:hover { color: white; }

.footer-contact a { 
    color: white; /* UPDATED */
    font-weight: 500; /* UPDATED */
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link:hover {
    background: white; /* UPDATED */
    transform: translateY(-4px);
}

.social-link:hover span {
    color: var(--primary-blue); /* NEW RULE */
}

.social-link span { font-size: 20px; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-powered-by {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-powered-by-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: brightness(255);
}

.footer-powered-by-group p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-powered-by-group img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.footer-powered-by a {
    text-decoration: none;
    transition: opacity 0.4s ease;
}

.footer-powered-by a:hover img { opacity: 1; }

/* Citation Styles */
.citation {
    font-size: 12px;
    color: var(--text-secondary-dark);
    margin-top: 1rem;
    line-height: 1.5;
    text-align: left;
    font-style: italic;
    padding: 12px 16px;
    background: var(--background-secondary);
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary-blue);
}
.wegovy .citation { /* Adjust citation for light blue background */
    background: var(--background);
}


/* External Link */
.link-external {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
}

.link-external:hover { text-decoration: underline; }

/* Contact Page Styles */
.contact-section {
    padding: calc(var(--nav-height) + 60px) 0 120px;
    background: var(--background-secondary);
}
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
}
.contact-form {
    display: grid;
    gap: 24px;
    text-align: left;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary-dark);
}
.form-group .input-field,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.4s ease;
    background: var(--background);
    font-family: 'Inter', sans-serif;
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .input-field:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.1);
}

.contact-form .btn {
    justify-self: center;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes statPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* --- Password Gate Styles --- */
#password-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease-in-out;
}

.gate-container {
    background: white;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 450px;
    width: 90%;
}

.gate-logo {
    height: 60px;
    margin-bottom: 24px;
}

.gate-title {
    color: var(--text-primary-dark);
    margin-bottom: 8px;
}

.gate-subtitle {
    color: var(--text-secondary-dark);
    margin-bottom: 32px;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gate-input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.4s ease;
}

.gate-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.1);
}

.gate-button {
    width: 100%;
    justify-content: center;
}

.gate-error-message {
    color: var(--error);
    font-size: 14px;
    margin: 8px 0 0 0;
    display: none;
}

.gate-form.shake {
    animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* --- Members Page Styles --- */
.members-area {
    padding: calc(var(--nav-height) + 80px) 0 120px;
    background: var(--background-secondary);
}

.members-title {
    font-size: 52px;
    font-weight: 400;
    color: var(--text-primary-dark);
}

.member-section {
    margin-bottom: 100px;
}

.member-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 48px;
}

/* Follow-up Booking Cards */
.follow-up-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.follow-up-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}
.follow-up-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}
.follow-up-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
}
.follow-up-price {
    font-size: 40px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 16px;
}
.follow-up-card p {
    margin-bottom: 32px;
    min-height: 50px;
}
.follow-up-card .btn {
    width: 100%;
    justify-content: center;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.video-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-blue);
}
.video-thumbnail {
    background: var(--light-gradient);
    height: 150px;
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-icon {
    font-size: 48px;
    color: var(--primary-blue);
    opacity: 0.7;
    transition: all 0.4s ease;
}
.video-card:hover .play-icon {
    transform: scale(1.2);
    opacity: 1;
}
.video-card h4 {
    font-size: 18px;
    font-weight: 500;
}


/* Purchase & Side Effects Section */
.purchase-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: flex-start;
}
.purchase-card, .side-effects-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.purchase-price {
    font-size: 32px;
    font-weight: 500;
    color: var(--primary-blue);
}
.purchase-note {
    font-size: 15px;
    margin-bottom: 24px;
}
.purchase-form {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--background-secondary);
    padding: 24px;
    border-radius: var(--border-radius-small);
}
.purchase-form .form-group {
    flex-grow: 1;
}
.purchase-form label {
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}
.purchase-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
}
.purchase-disclaimer {
    display: block;
    font-size: 12px;
    color: var(--text-secondary-dark);
    margin-top: 16px;
    text-align: center;
}
.side-effects-card h3 {
    margin-bottom: 16px;
}
.side-effects-faq {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}

/* --- NEW: Payment Page Styles --- */
.payment-section {
    padding: calc(var(--nav-height) + 60px) 0 120px;
    background: var(--background-secondary);
}
.payment-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 48px;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.payment-container h2 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 36px;
    font-weight: 400;
}
.payment-info-text {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary-dark);
}
.order-summary {
    background: var(--background-secondary);
    padding: 24px;
    border-radius: var(--border-radius-small);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-item h4 {
    margin: 0;
    font-size: 18px;
}
.order-price {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-blue);
}
.payment-form .form-group {
    margin-bottom: 20px;
}
.payment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.payment-form .form-group.full-width {
    grid-column: 1 / -1;
}
.payment-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 1099px) { /* UPDATED from 1024px */
    .process-steps, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.primary-card {
        transform: scale(1);
    }
    .pricing-card.primary-card:hover {
        transform: translateY(-8px);
    }
    
    /* NEW: Mobile Nav and Hero stacking */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--background);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-large);
    }
    .nav-menu .nav-link, .nav-menu .nav-login {
        color: var(--text-primary-dark);
    }
    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: flex; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-image-wrapper {
        order: -1; /* Puts image on top on mobile */
    }
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    .hero-cta {
        justify-content: center;
    }

    .follow-up-grid {
        grid-template-columns: 1fr;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .purchase-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .logo-img {
        height: 70px;
    }

    .hero-title { font-size: 48px; }
    .hero-cta { flex-direction: column; }
    
    /* ADDED: Full-width mobile hero styles */
    .hero-container {
        padding-left: 0;
        padding-right: 0;
        gap: 32px;
    }
    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero-image {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    /* END ADDED styles */

    .process-steps, .features-grid, .effectiveness-stats, .footer-content { grid-template-columns: 1fr; }
    .faq-grid {
        flex-direction: column;
    }
    .effectiveness-stats { gap: 16px; }
    .bmi-card, .contact-container { padding: 32px 24px; }
    .pricing-card { padding: 32px 24px; }
    .final-cta h2 { font-size: 40px; }
    .faq-question { padding: 20px; font-size: 18px; }
    .faq-answer-content { padding: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .video-grid {
        grid-template-columns: 1fr;
    }
    .purchase-form {
        flex-direction: column;
        align-items: stretch;
    }
    .payment-container {
        padding: 32px 24px;
    }
    .payment-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print { .navbar, .hero-cta, .btn, .footer, .expand-bio-btn { display: none; } }

/* Accessibility */
*:focus { outline: 2px solid var(--primary-blue); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
html { scroll-behavior: smooth; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}