:root {
    --bg: #0a0a0f;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(16, 185, 129, 0.25);
    --text: #ffffff;
    --muted: #a1a1aa;
    --muted-strong: #d4d4d8;
    --green: #10b981;
    --blue: #6366f1;
    --rose: #f43f5e;
    --nav-bg: rgba(10, 10, 15, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

 a {
    color: inherit;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.05) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(244, 63, 94, 0.05) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(-10px); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.footer-section a:hover,
.legal-breadcrumb a:hover {
    color: var(--green);
}

.nav-links a::after,
.legal-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    transition: width 0.3s ease;
}

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

.cta-button,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button,
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.cta-button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.hero h2 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--muted-strong);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-3px);
}

.hero-bullets {
    margin-top: 1.25rem;
    color: var(--muted);
}

.hero-bullets ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-bullets li {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

/* Shared Sections */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card,
.legal-card,
.info-panel {
    background: var(--panel);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feature-card {
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card::before,
.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3,
.legal-section h2,
.info-panel h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p,
.info-panel p {
    color: var(--muted);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem 2rem;
    margin: 4rem 0;
    backdrop-filter: blur(20px);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.security.centered {
    text-align: center;
    max-width: 920px;
    margin: 3.5rem auto;
    padding: 2rem 1rem;
}

.security.centered h2 {
    margin-bottom: 0.5rem;
}

.security.centered p {
    margin: 0 auto;
    max-width: 820px;
    color: var(--muted);
}

/* Legal Page */
.legal-page {
    padding: 8rem 2rem 5rem;
}

.legal-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-hero {
    padding: 2rem 0 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.legal-breadcrumb {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-breadcrumb a {
    text-decoration: none;
    position: relative;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted-strong);
    margin-bottom: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.legal-hero h1 {
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
    align-items: start;
}

.legal-card {
    position: relative;
    padding: 2rem;
}

.legal-sections {
    display: grid;
    gap: 2rem;
}

.legal-section {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scroll-margin-top: 96px;
}

.legal-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.section-number {
    color: var(--green);
    margin-right: 0.35rem;
}

.legal-section p,
.legal-section li,
.legal-contact,
.legal-note {
    color: var(--muted);
    font-size: 1rem;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p,
.legal-section h3 + p,
.legal-contact p + p {
    margin-top: 1rem;
}

.legal-section ul {
    margin: 1rem 0 0 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.legal-section li::marker {
    color: var(--green);
}

.legal-section h3 {
    color: var(--muted-strong);
    margin-top: 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.legal-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6.5rem;
}

.info-panel {
    padding: 1.35rem;
}

.info-panel ul {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.info-panel li,
.info-panel a {
    color: var(--muted);
    text-decoration: none;
}

.info-panel a {
    transition: color 0.25s ease;
}

.info-panel .mini-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green);
    margin-bottom: 0.35rem;
}

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

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem 1rem;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--muted);
    text-decoration: none;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: #71717a;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

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

.floating-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 4s;
}

/* Mobile Responsive */
@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        padding-top: 100px;
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .mb1 {
        fill: var(--green);
    }

    nav {
        background: #fff !important;
    }

    .legal-page {
        padding: 7rem 1rem 4rem;
    }

    .legal-card {
        padding: 1.35rem;
    }
}
