/* ===== CSS Variables / Theme ===== */
:root {
    --bg-primary: #131722;
    --bg-secondary: #1e222d;
    --bg-tertiary: #2a2e39;
    --bg-card: #1e222d;
    --bg-card-hover: #252a37;
    --text-primary: #d1d4dc;
    --text-secondary: #787b86;
    --text-white: #ffffff;
    --accent-blue: #2962ff;
    --accent-blue-hover: #1e53e5;
    --accent-blue-light: rgba(41, 98, 255, 0.15);
    --accent-green: #26a69a;
    --accent-red: #ef5350;
    --accent-orange: #ff9800;
    --accent-purple: #ab47bc;
    --accent-teal: #00bcd4;
    --border-color: #2a2e39;
    --border-light: #363a45;
    --gradient-hero: linear-gradient(135deg, #131722 0%, #1a1f2e 50%, #131722 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --nav-height: 56px;
    --banner-height: 36px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f0f3fa;
    --bg-tertiary: #e8ecf3;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f8fa;
    --text-primary: #131722;
    --text-secondary: #787b86;
    --text-white: #131722;
    --border-color: #e0e3eb;
    --border-light: #d1d4dc;
    --gradient-hero: linear-gradient(135deg, #f0f3fa 0%, #e8ecf3 50%, #f0f3fa 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* ===== Top Banner ===== */
.top-banner {
    background: linear-gradient(90deg, #2962ff, #1e88e5, #2962ff);
    background-size: 200% 100%;
    animation: bannerShimmer 4s ease infinite;
    height: var(--banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
}

@keyframes bannerShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.banner-link {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.banner-link:hover {
    text-decoration: underline;
}

/* ===== Header / Navigation ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    height: var(--nav-height);
}

.header-transparent {
    background: rgba(19, 23, 34, 0.85);
}

[data-theme="light"] .header-transparent {
    background: rgba(255, 255, 255, 0.9);
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
}

.brand-text {
    background: linear-gradient(135deg, #2962ff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--text-white);
    background: var(--bg-tertiary);
}

.nav-link i {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    box-shadow: var(--shadow-lg);
}

.dropdown-menu-custom a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.dropdown-menu-custom a:hover {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.dropdown-menu-custom a i {
    width: 18px;
    text-align: center;
    color: var(--text-secondary);
}

.dropdown-menu-custom a:hover i {
    color: var(--accent-blue);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    color: var(--text-white);
    background: var(--bg-tertiary);
}

.nav-search {
    color: var(--text-secondary) !important;
}

.btn-sign-in {
    padding: 7px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-sign-in:hover {
    color: var(--accent-blue);
}

.btn-get-started {
    padding: 7px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-blue);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-get-started:hover {
    background: var(--accent-blue-hover);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 200;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-links a {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.mobile-menu-links a:hover {
    background: var(--bg-tertiary);
}

.mobile-menu-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-actions .btn-get-started {
    text-align: center;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--nav-height) - var(--banner-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 80px 24px 60px;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-animation canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    color: var(--text-white);
}

.hero-title-line:last-child {
    background: linear-gradient(135deg, #2962ff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 40px;
    background: var(--accent-blue);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(41, 98, 255, 0.4);
}

.btn-hero-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(41, 98, 255, 0.5);
    color: #fff;
}

.btn-hero-primary.compact {
    padding: 12px 28px;
    flex-direction: row;
}

.btn-hero-primary.large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-sub {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
}

.btn-hero-secondary i {
    font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ===== Section Common ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Chart Preview ===== */
.chart-preview-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.chart-mockup {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.chart-window {
    background: var(--bg-secondary);
}

.chart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

.chart-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-symbol-badge {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.chart-timeframe {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-timeframe.active {
    background: var(--bg-tertiary);
    color: var(--text-white);
}

.chart-timeframe:hover:not(.active) {
    color: var(--text-primary);
}

.chart-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.chart-toolbar-right i {
    cursor: pointer;
    transition: color 0.2s;
}

.chart-toolbar-right i:hover {
    color: var(--text-white);
}

.chart-body {
    height: 400px;
    position: relative;
    background: var(--bg-secondary);
}

.chart-body canvas {
    width: 100%;
    height: 100%;
}

.chart-indicators {
    display: flex;
    gap: 20px;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator-dot.blue { background: var(--accent-blue); }
.indicator-dot.orange { background: var(--accent-orange); }
.indicator-dot.purple { background: var(--accent-purple); }

/* ===== Features Grid ===== */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    cursor: default;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.feature-icon.icon-green {
    background: rgba(38, 166, 154, 0.15);
    color: var(--accent-green);
}

.feature-icon.icon-orange {
    background: rgba(255, 152, 0, 0.15);
    color: var(--accent-orange);
}

.feature-icon.icon-purple {
    background: rgba(171, 71, 188, 0.15);
    color: var(--accent-purple);
}

.feature-icon.icon-red {
    background: rgba(239, 83, 80, 0.15);
    color: var(--accent-red);
}

.feature-icon.icon-teal {
    background: rgba(0, 188, 212, 0.15);
    color: var(--accent-teal);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.feature-link:hover {
    gap: 10px;
    color: var(--accent-blue);
}

/* ===== Community Section ===== */
.community-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-text .section-tag {
    text-align: left;
}

.community-text .section-title {
    text-align: left;
}

.community-text .section-desc {
    text-align: left;
    margin: 0 0 32px;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.comm-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comm-stat i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.comm-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-white);
}

.comm-stat span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Idea Cards */
.community-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.idea-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s;
}

.idea-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.idea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.idea-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.author-avatar.bg-green {
    background: rgba(38, 166, 154, 0.15);
    color: var(--accent-green);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-white);
}

.idea-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.idea-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
}

.idea-badge.bullish {
    background: rgba(38, 166, 154, 0.15);
    color: var(--accent-green);
}

.idea-badge.bearish {
    background: rgba(239, 83, 80, 0.15);
    color: var(--accent-red);
}

.idea-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.idea-chart-placeholder {
    height: 80px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.idea-chart-placeholder canvas {
    width: 100%;
    height: 100%;
}

.idea-footer {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.idea-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.idea-footer span:hover {
    color: var(--accent-blue);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 98, 255, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--accent-green);
}

/* ===== Footer ===== */
.main-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--accent-blue);
    color: #fff;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-legal {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-locale a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-locale a:hover {
    color: var(--accent-blue);
}

/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .chart-body {
        height: 250px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cta-trust {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 16px 40px;
    }

    .section-container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn-hero-primary,
    .cta-actions .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
