/* ========================================
   Nutrition & Meal Plan Services Page Styles
   ======================================== */

/* Root Variables */
:root {
    --primary-green: #2D5016;
    --sage-green: #87A96B;
    --light-sage: #B4C4A7;
    --cream: #F5F2E9;
    --warm-white: #FEFDFB;
    --accent-gold: #D4AF37;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --border-light: #E8E4D9;
    --shadow-soft: 0 4px 20px rgba(45, 80, 22, 0.08);
    --shadow-hover: 0 8px 32px rgba(45, 80, 22, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(34px, 5vw, 46px);
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.section-subtitle {
    font-size: clamp(18px, 2vw, 20px);
    text-align: center;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 60px;
}

/* Extra spacing for section titles without subtitles */
.service-intro-section > .container > h2,
.diet-spectrum-section > .container > .section-title,
.how-it-works-section > .container > h2,
.deliverables-section > .container > h2,
.faq-section > .container > .section-title {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
    outline: none !important;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2) !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-secondary:focus,
.btn-secondary:active {
    outline: none !important;
    border: 2px solid white !important;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Hero Section - Matching meal-prep.html */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Meal Plans Hero - Unique classes to avoid WordPress conflicts */
.meal-plans-hero-bg {
    position: absolute !important;
    top: -15% !important;
    left: 0 !important;
    width: 100% !important;
    height: 130% !important;
    background-image: url('https://meals-by-emily.com/wp-content/uploads/2025/10/7-day-sample-fat-loss-diet-plan-for-men-17342E32.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: translateY(0);
    will-change: transform;
    z-index: 0 !important;
    background-color: #f5f2e9;
}

.meal-plans-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg,
        rgba(30, 35, 40, 0.75) 0%,
        rgba(45, 50, 55, 0.60) 100%) !important;
    z-index: 1 !important;
}

/* Legacy support for other pages */
.hero-parallax-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background-image: url('https://meals-by-emily.com/wp-content/uploads/2025/10/7-day-sample-fat-loss-diet-plan-for-men-17342E32.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(0);
    will-change: transform;
    z-index: 0;
    background-color: #f5f2e9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(30, 35, 40, 0.75) 0%,
        rgba(45, 50, 55, 0.60) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: white;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    margin-bottom: 24px;
    color: white;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero-specific button styling */
.hero-section .btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.25), 0 4px 10px rgba(45, 80, 22, 0.15);
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.35), 0 6px 15px rgba(45, 80, 22, 0.2);
}

.hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hero-section .btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    color: var(--primary-green);
}

/* Client Portal Banner */
.client-portal-banner {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-light);
    min-height: 120px;
    display: flex;
    align-items: center;
}

.portal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.portal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.portal-text h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    color: var(--primary-green);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.portal-text p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.btn-portal {
    background: var(--primary-green);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-portal:hover {
    background: var(--sage-green);
    transform: translateX(5px);
}

/* Service Introduction Section */
.service-intro-section {
    padding: 5rem 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-main h2 {
    font-size: clamp(34px, 5vw, 46px);
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.service-details {
    margin-bottom: 2rem;
}

.service-details p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-details strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* Intro Visual */
.intro-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card.card-1 {
    width: 65%;
    height: 350px;
    top: 0;
    right: 0;
    z-index: 2;
}

.floating-card.card-2 {
    width: 55%;
    height: 280px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.floating-card:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: var(--shadow-hover);
}

/* Diet Spectrum Section */
.diet-spectrum-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

.spectrum-wrapper {
    margin: 1.5rem 0;
    padding: 0 2rem;
    overflow-x: auto;
    position: relative;
}

.spectrum-track {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    min-width: 900px;
    padding: 2rem 0;
}

.spectrum-card {
    flex: 1;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.spectrum-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sage-green);
}

.spectrum-card.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    color: white;
    transform: scale(1.05);
}

.spectrum-card .card-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(135, 169, 107, 0.15) 0%, rgba(180, 196, 167, 0.1) 100%);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.spectrum-card .card-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--sage-green);
}

.spectrum-card h3 {
    font-size: clamp(16px, 1.5vw, 18px);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.spectrum-card p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.spectrum-card.active h3,
.spectrum-card.active p {
    color: white;
}

.spectrum-card.active .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.spectrum-card.active .card-icon svg {
    stroke: white;
}

.spectrum-note {
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
    margin-top: 2rem;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    color: var(--sage-green);
    border: 2px solid var(--sage-green);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.15);
}

.carousel-nav-btn:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn:disabled:hover {
    background: white;
    color: var(--sage-green);
    transform: translateY(-50%) scale(1);
}

.carousel-nav-btn.prev {
    left: 0.25rem;
}

.carousel-nav-btn.next {
    right: 0.25rem;
}

.carousel-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: none;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(135, 169, 107, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(135, 169, 107, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--sage-green);
    transform: scale(1.3);
}

/* Diet Details Panel */
.diet-details-panel {
    margin-top: 3rem;
    position: relative;
    min-height: 280px;
    transition: min-height 0.3s ease;
}

.diet-detail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--border-light);
}

.diet-detail.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    border-color: var(--sage-green);
    box-shadow: var(--shadow-hover);
}

.diet-detail h3 {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.diet-detail.active h3 {
    opacity: 1;
    transform: translateY(0);
}

.detail-intro {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.1s;
}

.diet-detail.active .detail-intro {
    opacity: 1;
    transform: translateY(0);
}

.detail-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: 12px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateX(-10px);
}

.diet-detail.active .highlight-item {
    opacity: 1;
    transform: translateX(0);
}

.diet-detail.active .highlight-item:nth-child(1) {
    transition-delay: 0.1s;
}

.diet-detail.active .highlight-item:nth-child(2) {
    transition-delay: 0.2s;
}

.diet-detail.active .highlight-item:nth-child(3) {
    transition-delay: 0.3s;
}


.highlight-item svg {
    flex-shrink: 0;
    stroke: var(--sage-green);
    margin-top: 2px;
}

.highlight-item span {
    color: var(--text-dark);
    font-size: 0.938rem;
    font-weight: 500;
    line-height: 1.4;
}

.detail-cta {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--sage-green) 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.4s;
}

.diet-detail.active .detail-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Process Timeline */
.process-timeline-section {
    padding: 5rem 0;
    background: white;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sage-green) 0%, var(--primary-green) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item.left {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item.right {
    flex-direction: row;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-green);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 2rem;
    background: var(--cream);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.timeline-item.left .timeline-content {
    margin-right: auto;
}

.timeline-item.right .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: clamp(18px, 2vw, 20px);
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.timeline-duration {
    display: inline-block;
    margin-top: 1rem;
    padding: 4px 12px;
    background: white;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--sage-green);
    font-weight: 600;
}

/* Deliverables Section */
.deliverables-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, white 100%);
}

.deliverables-section .metrics-content {
    margin: 3rem 0 4rem;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.deliverable-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.deliverable-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sage-green);
}

.card-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sage-green);
    margin: 0 0 1rem 0;
    line-height: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--cream) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.card-icon svg {
    stroke: var(--primary-green);
}

.deliverable-card h3 {
    font-size: clamp(18px, 2vw, 20px);
    color: var(--primary-green);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.deliverable-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.sample-plan-preview {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 3px solid var(--border-light);
}

.sample-plan-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(45, 80, 22, 0.15) 0%,
        rgba(45, 80, 22, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.sample-plan-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.preview-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--sage-green);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(45, 80, 22, 0.85) 0%,
        rgba(135, 169, 107, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 3;
}

.preview-overlay span {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 14px 32px;
    border: 2px solid white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.preview-overlay svg {
    width: 20px;
    height: 20px;
}

.sample-plan-preview:hover {
    border-color: var(--sage-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sample-plan-preview:hover img {
    transform: scale(1.05);
}

.sample-plan-preview:hover .preview-badge {
    opacity: 0;
    transform: translateY(-10px);
}

.sample-plan-preview:hover .preview-overlay {
    opacity: 1;
}

.sample-plan-preview:hover .preview-overlay span {
    transform: translateY(0);
}

.plan-preview-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.938rem;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-preview-caption svg {
    width: 18px;
    height: 18px;
    stroke: var(--sage-green);
    flex-shrink: 0;
}

/* Success Metrics Section */
.success-metrics-section {
    padding: 5rem 0;
    background: white;
}

.metrics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.metrics-text h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.metrics-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.metric-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.metrics-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.metrics-image img {
    width: 100%;
    height: auto;
    display: block;
}

.metrics-image-mobile {
    display: none;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg,
        var(--primary-green) 0%,
        var(--sage-green) 100%);
}

.faq-section .section-title {
    color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-item:hover .faq-question {
    background: rgba(245, 242, 233, 0.5);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background: white;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.faq-question:hover {
    background: rgba(245, 242, 233, 0.5);
}

.faq-question:focus,
.faq-question:active,
.faq-question:focus-within {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.faq-question:focus-visible {
    outline: 2px solid var(--sage-green);
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.75rem;
    color: var(--sage-green);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-weight: 300;
    position: absolute;
    left: calc(2.25rem - 12px);
    top: 1.5rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-green);
}

.faq-question-text {
    flex: 1;
    line-height: 1.4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.faq-answer p {
    padding: 1rem 1.5rem 1.5rem 4.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-visual {
        height: 400px;
    }

    .timeline-container {
        padding: 0 1rem;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-left: 0;
        align-items: center;
    }

    .timeline-dot {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 1rem;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .metrics-content {
        grid-template-columns: 1fr;
    }

    .metrics-image {
        display: none;
    }

    .metrics-image-mobile {
        display: block;
        margin: 2rem 0;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
    }

    .metrics-image-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .client-portal-banner {
        padding: 2rem 0;
        min-height: auto;
    }

    .portal-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .portal-text {
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    /* Mobile Carousel Styles */
    .spectrum-wrapper {
        padding: 0 4rem;
        overflow: visible;
    }

    .spectrum-track {
        min-width: auto;
        width: 100%;
        padding: 2rem 1rem;
        gap: 0;
        overflow-x: hidden;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .spectrum-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        scroll-snap-align: center;
        margin: 0;
        padding: 1.5rem 1rem;
    }

    .spectrum-card .card-icon {
        width: 80px;
        height: 80px;
    }

    .spectrum-card .card-icon svg {
        width: 40px;
        height: 40px;
    }

    /* Show carousel navigation on mobile */
    .carousel-nav-btn {
        display: flex;
    }

    .carousel-indicators {
        display: flex;
    }

    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .metric-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-card.card-1,
    .floating-card.card-2 {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .intro-visual {
        height: auto;
    }

    .preview-badge {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .preview-badge svg {
        width: 14px;
        height: 14px;
    }

    .preview-overlay span {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .diet-detail {
        padding: 1.5rem;
    }

    .detail-intro {
        font-size: 1rem;
    }

    .detail-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 0.5rem 0.75rem;
    }

    .plan-preview-caption {
        flex-direction: column;
        gap: 0.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1.25rem 1.25rem 3.5rem;
        gap: 0;
    }

    .faq-answer p {
        padding: 1rem 1.25rem 1.25rem 3.5rem;
        font-size: 0.938rem;
    }

    .faq-icon {
        font-size: 1.5rem;
        width: 20px;
        height: 20px;
        left: calc(1.75rem - 10px);
        top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .spectrum-wrapper {
        padding: 0 3.5rem;
    }

    .spectrum-track {
        padding: 1.5rem 0.5rem;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-nav-btn.prev {
        left: 0.5rem;
    }

    .carousel-nav-btn.next {
        right: 0.5rem;
    }

    .spectrum-card {
        padding: 1.25rem 0.5rem;
    }
}