:root {
    --bg-primary: #0F1730;
    --bg-secondary: #14294D;
    --bg-card: rgba(255,255,255,0.06);
    --bg-card-hover: rgba(255,255,255,0.10);
    --border-card: rgba(255,255,255,0.12);
    --text-primary: #F0F4FF;
    --text-secondary: rgba(240,244,255,0.6);
    --text-muted: rgba(240,244,255,0.4);
    --accent: #33CCFF;
    --accent-glow: rgba(51,204,255,0.25);
    --green: #4DC759;
    --yellow: #FFCC1A;
    --red: #FF544D;
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* ---- Hero ---- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 100px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 17px;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    opacity: 1;
}

.hero-cta svg { width: 20px; height: 20px; }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stats .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Features ---- */
.features {
    padding: 80px 24px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    transition: background 0.3s, transform 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-icon.blue { background: rgba(51,204,255,0.15); color: var(--accent); }
.feature-icon.green { background: rgba(77,199,89,0.15); color: var(--green); }
.feature-icon.yellow { background: rgba(255,204,26,0.15); color: var(--yellow); }
.feature-icon.red { background: rgba(255,84,77,0.15); color: var(--red); }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Highlights ---- */
.highlights {
    padding: 60px 24px 80px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
}

.highlight-item .hi-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-item .hi-text {
    font-size: 15px;
    font-weight: 600;
}

.highlight-item .hi-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- CTA ---- */
.cta-section {
    padding: 80px 24px;
    text-align: center;
}

.cta-box {
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.cta-box .hero-cta { position: relative; }

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    position: relative;
}

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

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Legal Pages ---- */
.legal-page {
    padding: 60px 24px 80px;
    min-height: 100vh;
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 32px;
}

.legal-page h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 8px;
}

.legal-page .legal-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-page h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-page p, .legal-page li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 8px; }

.legal-page .warning-box {
    padding: 20px 24px;
    background: rgba(255,84,77,0.08);
    border: 1px solid rgba(255,84,77,0.2);
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.legal-page .warning-box p {
    color: var(--red);
    font-weight: 600;
}

.legal-page .info-box {
    padding: 20px 24px;
    background: rgba(51,204,255,0.06);
    border: 1px solid rgba(51,204,255,0.15);
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero { min-height: 80vh; padding: 60px 20px 40px; }
    .hero-stats { gap: 24px; }
    .hero-stats .stat-value { font-size: 22px; }
    .features-grid { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .cta-box { padding: 40px 24px; }
}
