/* ============================================
   PORTIONAL DESIGN SYSTEM - Web Version
   Deep Blue-Purple Gradient Theme
   Matching Theme.swift from the iOS app
   ============================================ */

:root {
    /* Brand Colors - Deep Blue-Purple Theme */
    --primary: #6699FF;           /* Light Blue - rgb(102, 153, 255) */
    --primary-dark: #4D80E6;      /* Darker Blue for pressed states */
    --primary-light: #80B3FF;     /* Lighter Blue for highlights */
    --primary-subtle: rgba(102, 153, 255, 0.12);
    
    /* Secondary Accent - Purple */
    --accent-secondary: #9966FF;  /* Purple - rgb(153, 102, 255) */
    --accent-secondary-subtle: rgba(153, 102, 255, 0.12);
    
    /* Semantic Colors (matching Theme.swift) */
    --success: #33CC99;           /* rgb(51, 204, 153) */
    --warning: #FFBF33;           /* rgb(255, 191, 51) */
    --error: #FF6666;             /* rgb(255, 102, 102) */
    
    /* Water Color */
    --water: #4D99FF;             /* rgb(77, 153, 255) */
    
    /* Macro Colors - Deep Blue-Purple Theme */
    --protein: #9966FF;           /* Purple (accent secondary) */
    --carbs: #FFBF33;             /* Amber */
    --fat: #FF6699;               /* Pink */
    
    /* Activity Colors */
    --active-calories: #9966FF;   /* Purple */
    --steps: #6699FF;             /* Light Blue */
    
    /* Corner Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Gradient for buttons and accents - Blue to Purple */
    --gradient-primary: linear-gradient(135deg, #80B3FF 0%, #6699FF 50%, #9966FF 100%);
    --gradient-ring: linear-gradient(135deg, #6699FF, #9966FF);
}

/* Dark Mode (default) - Deep Blue-Purple Background */
:root {
    --background: #191933;        /* Dark Blue - rgb(25, 25, 51) */
    --background-secondary: #141428;
    --surface: rgba(255, 255, 255, 0.08);  /* Glass effect */
    --surface-solid: #1E293B;
    --surface-elevated: rgba(255, 255, 255, 0.12);
    --track: rgba(255, 255, 255, 0.15);
    --border: rgba(255, 255, 255, 0.20);   /* Glass border */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --border-width: 1px;
    
    /* Glowing orb colors for background effects */
    --orb-blue: rgba(51, 128, 230, 0.3);
    --orb-purple: rgba(102, 77, 230, 0.25);
}

/* Light Mode via system preference */
@media (prefers-color-scheme: light) {
    :root {
        --background: #F8FAFC;
        --background-secondary: #FFFFFF;
        --surface: #FFFFFF;
        --surface-solid: #FFFFFF;
        --surface-elevated: #FFFFFF;
        --track: #E2E8F0;
        --border: #CBD5E1;
        --text-primary: #0F172A;
        --text-secondary: #475569;
        --text-tertiary: #94A3B8;
        --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        --border-width: 1px;
        
        --orb-blue: transparent;
        --orb-purple: transparent;
    }
}

/* ============================================
   BASE STYLES
   ============================================ */

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

/* Dark mode is default */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #191933;
    color: #F8FAFC;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Light mode via system preference */
@media (prefers-color-scheme: light) {
    body {
        background: #F8FAFC;
        color: #0F172A;
    }
    
    .bg-gradient {
        opacity: 0;
    }
}

/* Background gradient overlay */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 10% 10%, rgba(51, 128, 230, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 90% 90%, rgba(102, 77, 230, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(102, 153, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--surface-solid);
    border-bottom: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    position: absolute;
    top: 0;
    left: 0;
}

/* Logo switching based on color scheme */
.logo-icon img.logo-light {
    display: none;
}
.logo-icon img.logo-dark {
    display: block;
}

@media (prefers-color-scheme: light) {
    .logo-icon img.logo-light {
        display: block;
    }
    .logo-icon img.logo-dark {
        display: none;
    }
}

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

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

.nav-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-text {
    text-align: left;
}

.hero-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.hero-screenshot img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

.hero-badges {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-privacy {
    background: rgba(51, 204, 153, 0.12);
    border: 1px solid rgba(51, 204, 153, 0.3);
    color: var(--success);
}

.badge-feature {
    background: var(--accent-secondary-subtle);
    border: 1px solid rgba(153, 102, 255, 0.3);
    color: var(--accent-secondary);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 .privacy-text {
    color: var(--primary-light);
}

.hero h1 .feature-text {
    background: var(--gradient-ring);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 0 36px 0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 153, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 153, 255, 0.5);
}

.btn-secondary {
    background: var(--primary-subtle);
    color: var(--primary);
    border: 1px solid rgba(102, 153, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(102, 153, 255, 0.2);
    color: var(--primary);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   VALUE PROPS SECTION
   ============================================ */

.value-props {
    padding: 60px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .value-props-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: var(--surface-solid);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.value-card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}

.glow-teal { background: var(--primary); }
.glow-green { background: var(--accent-secondary); }

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--gradient-ring);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Privacy Features List */
.privacy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: var(--border-width) solid var(--border);
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.privacy-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-item-text {
    flex: 1;
}

.privacy-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.privacy-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Net Demo (Calorie Calculation Demo) */
.net-demo {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: var(--border-width) solid var(--border);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.net-demo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.net-demo-item {
    text-align: center;
    padding: 0 12px;
}

.net-demo-value {
    font-size: 1.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.net-demo-value.eaten {
    color: var(--primary);
}

.net-demo-value.burned {
    color: var(--accent-secondary);
}

.net-demo-value.net {
    background: var(--gradient-ring);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.net-demo-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.net-demo-operator {
    font-size: 1.5rem;
    color: var(--text-tertiary);
    font-weight: 300;
}

.net-demo-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.net-demo-caption strong {
    color: var(--accent-secondary);
}

/* ============================================
   NET COMPARISON SECTION
   ============================================ */

.net-comparison {
    padding: 80px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.card {
    background: var(--surface-solid);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
}

.comparison-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.comparison-card-header span {
    font-size: 1.5rem;
}

.comparison-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.badge-small {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-estimated {
    background: rgba(255, 191, 51, 0.15);
    color: var(--warning);
}

.badge-actual {
    background: var(--accent-secondary-subtle);
    color: var(--accent-secondary);
}

.week-view {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    margin-bottom: 20px;
    padding: 0 8px;
}

.day-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.day-bar-container {
    height: 80px;
    display: flex;
    align-items: flex-end;
}

.day-bar {
    width: 24px;
    border-radius: 4px;
    transition: height 0.3s ease;
}

/* Other apps - all same height, muted color */
.other-apps .day-bar {
    height: 50px;
    background: var(--track);
}

/* Portional - varying heights with gradient */
.day-bar.high {
    height: 75px;
    background: var(--gradient-ring);
}

.day-bar.medium {
    height: 50px;
    background: var(--gradient-ring);
}

.day-bar.low {
    height: 35px;
    background: var(--gradient-ring);
}

.day-bar.rest {
    height: 20px;
    background: var(--primary-subtle);
}

.day-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.comparison-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.comparison-text strong {
    color: var(--text-primary);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-section {
    padding: 80px 24px;
    background: var(--surface-solid);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.features-grid-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.features-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 153, 255, 0.15);
}

.features-grid-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.features-grid-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.features-grid-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-section {
    padding: 60px 24px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.trust-item {
    padding: 24px 16px;
    background: var(--surface-solid);
    border-radius: var(--radius-lg);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.trust-item:hover {
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.trust-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.trust-desc {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface-solid) 0%, var(--background) 100%);
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-badge span:first-child {
    color: var(--success);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */

.page-header {
    padding: 140px 24px 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ============================================
   PAGE CONTENT (for subpages)
   ============================================ */

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.page-content ul {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content strong {
    color: var(--text-primary);
}

.page-content a {
    color: var(--primary-light);
    font-weight: 500;
}

.page-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Contact Card */
.contact-card {
    background: var(--surface-solid);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 32px;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    background: var(--gradient-ring);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card a {
    color: var(--primary-light);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ============================================
   SUPPORT PAGE SPECIFIC
   ============================================ */

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    align-items: stretch;
}

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

.support-card {
    background: var(--surface-solid);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}

.support-card:hover {
    transform: translateY(-2px);
}

.support-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.support-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* FAQ Section */
.faq-section {
    margin-top: 48px;
}

.faq-item {
    background: var(--surface-solid);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 16px;
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.faq-item ol,
.faq-item ul {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-screenshot {
        order: 2;
    }
    
    .hero-screenshot img {
        max-width: 280px;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
