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

:root {
    --bg: #0a0a0f;
    --bg-card: #0f1a12;
    --bg-card-hover: #142618;
    --bg-elevated: #1a2e1e;
    --text: #e4e4ed;
    --text-muted: #8899a0;
    --text-dim: #5c7c68;
    --accent: #00ff88;
    --accent-light: #4dffb8;
    --accent-glow: rgba(0, 255, 136, 0.12);
    --border: #1a3a2a;
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: #4dffb8;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
}

.scrolled .nav-logo-icon {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    height: 32px;
    width: auto;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #0a0a0f !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-light) !important;
    color: #0a0a0f !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
    transform-origin: center;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto 32px;
}

.hero-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 29%;
    transform: translate(-38%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    z-index: 0;
}

.hero-icon-wrapper img {
    position: relative;
    z-index: 1;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: translate(-38%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-38%, -50%) scale(1.6);
        opacity: 0.2;
    }
}

.hero-icon {
    width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.3));
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: #0a0a0f;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    position: relative;
    box-shadow: 0 40px 30px rgba(0, 255, 136, 0.08), 0 60px 50px rgba(0, 255, 136, 0.04);
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

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

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 32px 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--accent);
    color: #0a0a0f;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50%;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}

.spec-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
}

.spec-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-card li:last-child {
    border-bottom: none;
}

.spec-card li::before {
    content: "›";
    color: var(--accent);
    font-weight: 700;
    margin-right: 8px;
}

/* CTA */
.cta-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1rem;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.cta-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.cta-form input:focus {
    border-color: var(--accent);
}

.cta-form input::placeholder {
    color: var(--text-dim);
}

.cta-note {
    font-size: 0.8rem !important;
    color: var(--text-dim) !important;
    margin-bottom: 0 !important;
}

/* Footer */
.footer {
    padding: 60px 0 0;
    box-shadow: 0 0 80px rgba(0, 255, 136, 0.25), 0 0 160px rgba(0, 255, 136, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 160px;
    height: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Legal Pages */
.legal-hero {
    padding: 120px 0 40px;
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal-update {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    padding-bottom: 80px;
}

.legal-container {
    max-width: 800px;
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 48px;
}

.legal-toc h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.legal-toc ol {
    list-style: decimal;
    padding-left: 20px;
}

.legal-toc li {
    margin-bottom: 6px;
}

.legal-toc a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-toc a:hover {
    color: var(--accent-light);
}

.legal-article {
    margin-bottom: 48px;
}

.legal-article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-article h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--accent-light);
}

.legal-article p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-article ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-article li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-article li strong {
    color: var(--text);
}

.legal-copyright {
    margin-top: 24px;
    font-weight: 600;
    color: var(--text) !important;
}

.legal-back {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
        min-width: 180px;
        border-radius: var(--radius);
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.3s, transform 0.3s;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-stats {
        gap: 24px;
    }

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

    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .cta-box {
        padding: 40px 24px;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .legal-toc {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }
}
