/* ============================================
   YumChain - Brand Styles
   ============================================ */

:root {
    --blue: #00AFEF;
    --blue-dark: #0090C8;
    --navy: #003E6D;
    --navy-light: #005A8E;
    --light-blue: #E6F5FC;
    --ice-blue: #F0F9FF;
    --accent: #00C4FF;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.1);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--navy);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-img {
    height: 32px;
    filter: brightness(0) invert(1);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s;
}

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

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

.nav-cta {
    font-size: 0.875rem;
    padding: 10px 24px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 153, 214, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--ice-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 153, 214, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 119, 168, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy) 0%, #0D3050 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 153, 214, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 214, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 72px;
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--ice-blue);
}

.section-white {
    background: var(--white);
}

.section-blue {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0D4070 100%);
    color: var(--white);
}

.section-cta {
    background: linear-gradient(135deg, var(--blue) 0%, #0077A8 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-eyebrow.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Stats Row
   ============================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ============================================
   Pain Points
   ============================================ */

.pain-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.pain-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue);
}

.pain-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   How It Works - Steps
   ============================================ */

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-icon {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
}

.step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
}

.reward-banner {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 40px;
    text-align: center;
}

.reward-banner p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white);
}

/* ============================================
   Franchise Section
   ============================================ */

.franchise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.franchise-problem,
.franchise-solution {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
}

.franchise-problem {
    border-left: 4px solid #E53E3E;
}

.franchise-solution {
    border-left: 4px solid var(--blue);
    background: var(--ice-blue);
}

.franchise-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E53E3E;
    margin-bottom: 8px;
}

.franchise-label.solution {
    color: var(--blue);
}

.franchise-problem h3,
.franchise-solution h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.franchise-problem ul,
.franchise-solution ul {
    list-style: none;
    padding: 0;
}

.franchise-problem ul li,
.franchise-solution ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.franchise-problem ul li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #E53E3E;
    font-weight: 700;
}

.franchise-solution ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.franchise-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.flow-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 175, 239, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .franchise-grid {
        grid-template-columns: 1fr;
    }

    .franchise-flow {
        flex-direction: column;
        gap: 16px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   Ecosystem
   ============================================ */

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
    align-items: start;
}

.eco-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.eco-card:hover {
    transform: translateY(-4px);
}

.eco-consumers {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
}

.eco-icon {
    width: 56px;
    height: 56px;
    background: var(--light-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--blue);
}

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.eco-card ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.eco-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    transform: translateY(-50%);
}

.eco-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px 20px;
}

.eco-hub {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--blue);
}

.eco-hub span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.eco-pillars {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.eco-pillar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
}

.eco-pillar span {
    color: var(--navy);
}

/* ============================================
   What Makes Us Different - Pillars
   ============================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 153, 214, 0.4);
    transform: translateY(-4px);
}

.pillar-icon {
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ============================================
   Market
   ============================================ */

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.market-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.market-card:hover {
    transform: translateY(-4px);
}

.market-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    display: block;
    margin-bottom: 8px;
}

.market-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 12px;
}

.market-growth {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    background: var(--blue);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ============================================
   Team
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 153, 214, 0.25);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    margin-bottom: 24px;
}

.cta-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.cta-contact a:hover {
    color: var(--white);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    width: 100%;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .eco-consumers {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .pain-points {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .stat-number {
        font-size: 2.5rem;
    }

    .market-value {
        font-size: 2rem;
    }
}
