/* 
 * Mealory Premium Design System 
 * Theme: Modern Emerald + Monochrome + Glassmorphism
 */

:root {
    /* Brand Colors */
    --primary-green: #10B981;
    --primary-dark: #059669;
    --primary-light: #D1FAE5;

    /* Monochrome Palette */
    --bg-white: #FFFFFF;
    --bg-canvas: #FAFAFA;
    /* Very light gray for sections */
    --bg-glass: rgba(255, 255, 255, 0.7);

    --text-primary: #111827;
    /* Near Black */
    --text-secondary: #4B5563;
    /* Cool Gray */
    --text-tertiary: #9CA3AF;

    --border-light: rgba(0, 0, 0, 0.06);

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-emerald: 0 10px 30px -10px rgba(16, 185, 129, 0.5);

    --blur-glass: blur(12px);

    /* Layout */
    --container-width: 1200px;
    --header-height: 70px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--blur-glass);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.6);
}

/* Specific Style for Uiverse Button with Circle Icon */
.btn-primary .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:hover .icon-circle {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
}

.btn-secondary:hover {
    color: var(--text-primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.btn-white {
    background: white;
    color: var(--primary-green);
    font-weight: 800;
}

.btn-white:hover {
    background: var(--bg-canvas);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 100% 0%, #FAFAFA 0%, #FFFFFF 50%, #ECFDF5 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Mesh Gradient Background */
.hero-bg-mesh {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 0;
    animation: pulse-float 10s ease-in-out infinite;
}

@keyframes pulse-float {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-20px, 10px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-pill .dot {
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.highlight-text {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 16px;
    background: rgba(16, 185, 129, 0.2);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-2deg);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.ios-waitlist {
    margin-top: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    max-width: 500px;
}

.ios-waitlist h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.waitlist-form {
    display: flex;
    gap: 8px;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    background: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.btn-notify {
    padding: 12px 20px;
    background: var(--text-primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-notify:hover {
    background: #000;
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.trust-badges p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    background-size: cover;
    margin-right: -10px;
}

.avatar-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-canvas);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-left: -10px;
    z-index: 2;
}

/* Premium Store Button */
.btn-store-premium {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    gap: 12px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 24px;
    cursor: pointer;
}

.btn-store-premium.white {
    background: #fff;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-store-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.btn-store-premium.white:hover {
    background: #f8f8f8;
}

.play-badge {
    width: 28px;
    height: 28px;
}

.btn-store-premium .btn-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.btn-store-premium .small-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.9;
    text-transform: uppercase;
}

.btn-store-premium .main-text {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Navbar CTA Alignment */
.nav-cta {
    margin-left: auto;
}

/* Legacy Store Button Styles (Replaced) */

.main-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.ios-waitlist-static {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ios-waitlist-static p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.waitlist-form-mini {
    display: flex;
    gap: 8px;
    max-width: 400px;
}

.waitlist-form-mini input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
}

.waitlist-form-mini button {
    padding: 10px 20px;
    background: white;
    color: var(--primary-green);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.waitlist-form-mini button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #fff;
    border-radius: 48px;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 0 0 12px #fff,
        0 0 0 13px #E5E7EB,
        0 40px 80px -20px rgba(0, 0, 0, 0.2);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    overflow: hidden;
    z-index: 10;
}

.phone-screen {
    background: var(--bg-canvas);
    height: 100%;
    border-radius: 36px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

.app-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-card h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.app-card p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 20;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.stat-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 60px;
    background: var(--border-light);
}

/* AI Food Scan Showcase Section */
.scan-showcase {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-canvas) 100%);
    overflow: hidden;
}

.scan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.scan-visual {
    order: -1;
    /* Move visual to the left */
}

.scan-text {
    order: 1;
    /* Move text to the right */
}

.scan-text .section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.scan-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(8px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.step-text span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Scan Visual Side */
.scan-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-scan {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #333,
        0 40px 80px -20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.scan-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* Animated Scan Line */
.scan-line-overlay {
    position: absolute;
    top: 30%;
    left: 12px;
    right: 12px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-green), 0 0 40px var(--primary-green);
    animation: scanMove 2.5s ease-in-out infinite;
}

@keyframes scanMove {

    0%,
    100% {
        top: 25%;
        opacity: 0.8;
    }

    50% {
        top: 65%;
        opacity: 1;
    }
}

/* Floating Result Card */
.scan-result-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    animation: floatResult 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes floatResult {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-green);
}

.result-icon {
    font-size: 1.2rem;
}

.result-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.food-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.calorie-badge {
    background: var(--primary-green);
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
}

.nutrient-row {
    display: flex;
    gap: 12px;
}

.nutrient {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--bg-canvas);
    border-radius: 8px;
}

.nutrient span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.nutrient strong {
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* Bento Features */
.features {
    padding: 120px 0;
    background: var(--bg-canvas);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bento-card.large {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
}

.bento-card.large .card-content {
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.bento-card .card-visual {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 60%;
    height: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.bento-card .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.bento-card.tall {
    grid-row: span 2;
    background: linear-gradient(180deg, #ECFDF5 0%, #FFFFFF 100%);
    border-color: transparent;
}

.bento-card.bg-emerald {
    background: var(--primary-green);
    color: white;
}

.bento-card.bg-emerald h3,
.bento-card.bg-emerald p {
    color: white;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    background: #111;
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 24px;
}

/* Animated Chart Styles */
.mini-chart {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: 24px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.animated-chart .chart-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.5s ease-out;
}

.animated-chart .chart-area {
    opacity: 0;
    transition: opacity 1s ease-out 0.5s;
}

.animated-chart .data-point {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Triggered when visible */
.animated-chart.animate .chart-line {
    stroke-dashoffset: 0;
}

.animated-chart.animate .chart-area {
    opacity: 1;
}

.animated-chart.animate .data-point:nth-child(5) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.8s;
}

.animated-chart.animate .data-point:nth-child(6) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
}

.animated-chart.animate .data-point:nth-child(7) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.2s;
}

.animated-chart.animate .data-point:nth-child(8) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.4s;
}

/* Data Report Card specific styling */
.bento-card.bg-emerald {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.bg-emerald .card-content {
    flex-shrink: 0;
}

.bento-card.bg-emerald .mini-chart {
    flex-grow: 1;
    min-height: 80px;
    max-height: 150px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
}

.cta-box {
    background: var(--primary-green);
    border-radius: 48px;
    padding: 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        align-items: center;
    }

    .hero-visual {
        margin-top: 80px;
        display: none;
        /* Simplify for mobile, or stack */
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }

    .bento-card {
        padding: 28px;
        border-radius: 24px;
        min-height: auto;
    }

    .bento-card.large,
    .bento-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card.large {
        flex-direction: column;
    }

    .bento-card.large .card-content {
        max-width: 100%;
    }

    .bento-card .card-visual {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    /* Data Report Card on Mobile */
    .bento-card.bg-emerald {
        min-height: 280px;
        padding: 28px;
    }

    .mini-chart {
        height: 120px;
        margin-top: 16px;
    }

    .stat-grid {
        flex-direction: column;
        gap: 32px;
    }

    .divider {
        display: none;
    }

    .cta-box {
        padding: 48px 24px;
        border-radius: 32px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Scan Showcase Mobile */
    .scan-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .scan-text .section-title {
        font-size: 2rem;
    }

    .scan-text .badge-pill {
        margin: 0 auto 16px;
    }

    .section-desc br {
        display: none;
    }

    .scan-steps {
        gap: 12px;
    }

    .step-item {
        padding: 12px 16px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .scan-visual {
        order: -1;
    }

    .phone-mockup-scan {
        width: 240px;
        height: 500px;
    }

    .scan-result-card {
        left: -20px;
        right: auto;
        bottom: 20px;
        min-width: 180px;
        padding: 16px;
    }

    .food-name {
        font-size: 0.875rem;
    }

    .calorie-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .nutrient-row {
        gap: 8px;
    }

    .nutrient {
        padding: 6px;
    }
}

/* Animations Triggered by JS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.event-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-green);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.cta-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* CTA 섹션 내 강조 문구 보호색 해결 */
.cta-box .highlight-text {
    color: #fff;
    /* 배경이 녹색이므로 흰색으로 변경 */
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.cta-box .event-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}