/* ============================================
   基金记账簿官网 — Premium Redesign
   Aesthetic: Refined Financial / Clean Luxury
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Brand */
    --blue: #007AFF;
    --blue-dark: #0060D0;
    --blue-light: #4DA3FF;
    --blue-glow: rgba(0, 122, 255, 0.25);

    /* Finance: China convention */
    --profit: #E54D42;
    --loss: #1AAD19;

    /* Surfaces */
    --bg-body: #F7F8FA;
    --bg-white: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-muted: #F0F1F5;
    --bg-dark: #0C1222;
    --bg-dark-elevated: #141D33;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --text-inverse: #FFFFFF;

    /* Borders */
    --border: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.1);

    /* Effects */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
    --shadow-phone: 0 32px 80px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 60px var(--blue-glow);

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-phone: 44px;

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-16: 64px;
    --s-20: 80px;
    --s-24: 96px;

    /* Timing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.5s;

    /* Typography */
    --font-display: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Noto Sans SC', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-6);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
}

.nav-links {
    display: flex;
    gap: var(--s-8);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,122,255,0.4) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88,86,214,0.35) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,200,255,0.2) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -40px) scale(1.05); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--text-inverse);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: var(--s-2) var(--s-4);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--s-6);
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--blue-light);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-6);
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--blue-light) 0%, #a78bfa 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--s-8);
    max-width: 440px;
}

.hero-buttons {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
    margin-bottom: var(--s-12);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 14px 28px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--blue);
    color: var(--text-inverse);
    box-shadow: 0 4px 16px rgba(0,122,255,0.35);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.4);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.12);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--s-6);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-inverse);
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.12);
}

/* Hero Visual / Phone */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    width: 280px;
    background: #000;
    border-radius: var(--r-phone);
    padding: 10px;
    box-shadow: var(--shadow-phone), 0 0 80px rgba(0,122,255,0.15);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.phone-screenshot {
    width: 100%;
    border-radius: 36px;
    display: block;
}

/* Floating Cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--s-3);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.float-card-profit {
    top: 20%;
    left: -40px;
    animation: floatCard 5s ease-in-out infinite;
}

.float-card-nav {
    bottom: 25%;
    right: -40px;
    animation: floatCard 5s ease-in-out infinite 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.profit-icon {
    background: rgba(229,77,66,0.1);
    color: var(--profit);
}

.nav-icon {
    background: rgba(0,122,255,0.1);
    color: var(--blue);
}

.float-card-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.float-card-label {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.float-card-value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.profit-text { color: var(--profit); }

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--s-24) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--s-16);
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    background: rgba(0,122,255,0.06);
    padding: var(--s-1) var(--s-3);
    border-radius: 100px;
    margin-bottom: var(--s-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--s-4);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
}

.feature-card {
    position: relative;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s-8);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,122,255,0.15);
}

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

.feature-card-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    margin-bottom: var(--s-4);
    user-select: none;
}

.feature-card-badge {
    position: absolute;
    top: var(--s-4);
    right: var(--s-4);
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: rgba(0,122,255,0.08);
    padding: 3px 10px;
    border-radius: 100px;
}

.feature-card-highlight {
    border-color: rgba(0,122,255,0.12);
    background: linear-gradient(135deg, rgba(0,122,255,0.02) 0%, var(--bg-body) 100%);
}

.feature-card-highlight .feature-card-number {
    color: rgba(0,122,255,0.06);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue) 0%, #5856D6 100%);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-5);
    box-shadow: 0 4px 12px rgba(0,122,255,0.2);
}

.feature-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: white;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--s-2);
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   Metrics Section
   ============================================ */
.metrics {
    padding: var(--s-16) 0;
    background: var(--bg-body);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
}

.metric-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s-8) var(--s-6);
    text-align: center;
    transition: all 0.35s var(--ease-out);
}

.metric-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue) 0%, #5856D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: var(--s-3);
}

.metric-value-icon {
    font-size: 0;
}

.metric-value-icon svg {
    width: 44px;
    height: 44px;
    fill: var(--blue);
}

.metric-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--s-1);
}

.metric-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================
   Screenshots Section
   ============================================ */
.screenshots {
    padding: var(--s-24) 0 var(--s-16);
    background: var(--bg-white);
    overflow: hidden;
}

.screenshot-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 var(--s-6);
}

.screenshot-track {
    display: flex;
    transition: transform 0.6s var(--ease-out);
    gap: var(--s-8);
}

.screenshot-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-6);
}

.screenshot-phone-frame {
    position: relative;
    width: 280px;
    background: #0a0a0a;
    border-radius: var(--r-phone);
    padding: 10px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s var(--ease-out);
}

.screenshot-slide:hover .screenshot-phone-frame {
    transform: translateY(-4px);
}

.screenshot-img {
    width: 100%;
    border-radius: 36px;
}

.screenshot-caption {
    text-align: center;
}

.screenshot-caption h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.screenshot-caption p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Screenshot Controls */
.screenshot-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-6);
    margin-top: var(--s-8);
}

.screenshot-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    color: var(--text-secondary);
}

.screenshot-btn:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(0,122,255,0.25);
}

.screenshot-dots {
    display: flex;
    gap: var(--s-2);
}

.screenshot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: all 0.3s ease;
    padding: 0;
}

.screenshot-dot.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    position: relative;
    padding: var(--s-24) 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.download-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.download-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,122,255,0.25) 0%, transparent 70%);
    top: -30%;
    right: -10%;
}

.download-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(88,86,214,0.2) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--s-5);
}

.download-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--s-10);
}

.download-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    background: var(--text-inverse);
    color: var(--text-primary);
    padding: var(--s-4) var(--s-8) var(--s-4) var(--s-5);
    border-radius: var(--r-lg);
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 24px rgba(255,255,255,0.1);
}

.download-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255,255,255,0.15);
}

.download-cta-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-cta-icon svg {
    width: 32px;
    height: 32px;
}

.download-cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-cta-small {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.download-cta-large {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}

.download-cta-arrow {
    opacity: 0.4;
    transition: all 0.3s ease;
}

.download-cta:hover .download-cta-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--s-12) 0 var(--s-8);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--s-10);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-inverse);
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-nav {
    display: flex;
    gap: var(--s-8);
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: var(--s-6);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
    text-align: center;
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-left"] {
    transform: translateX(-28px) translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(28px) translateY(0);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .float-card-profit {
        left: 0;
    }

    .float-card-nav {
        right: 0;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: var(--s-6);
        gap: var(--s-4);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s var(--ease-out);
    }

    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-phone {
        width: 240px;
    }

    .hero-float-card {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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

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

    .screenshot-phone-frame {
        width: 240px;
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--s-8);
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: var(--s-4) var(--s-6);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-phone {
        width: 220px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .screenshot-phone-frame {
        width: 220px;
    }
}
