@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --primary: #FF6B6B;
    --primary-glow: rgba(255, 107, 107, 0.5);
    --secondary: #FFD93D;
    --accent: #FF8E53;
    --dark: #0F172A;
    --darker: #020617;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --font: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--darker);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 217, 61, 0.1) 0%, transparent 40%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glass Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav a {
    text-decoration: none;
    color: var(--light);
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    opacity: 0.8;
}

nav a:hover,
nav a.active {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-glass {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Glass Cards */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3.5rem;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.glass-card i {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.glass-card p {
    color: #94A3B8;
    font-size: 1.05rem;
}

/* Legal Container (Enhanced Glass) */
.legal-wrapper {
    padding: 180px 5% 100px;
    min-height: 100vh;
}

.legal-glass {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 80px;
    box-shadow: var(--glass-shadow);
}

.legal-glass h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: linear-gradient(to right, white, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-glass h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 3.5rem 0 1.5rem;
    font-weight: 800;
}

.legal-glass p,
.legal-glass li {
    color: #CBD5E1;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
}

.legal-glass ul {
    margin-left: 25px;
    margin-bottom: 2rem;
}

.alert-glass {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    color: #FFB7B7;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 100px 5% 50px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: var(--darker);
}

.footer-links {
    margin-bottom: 3rem;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

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

.copyright {
    color: #475569;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .legal-glass {
        padding: 40px 20px;
    }

    .legal-glass h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .hero {
        padding-top: 150px;
    }

    .header {
        width: 95%;
        padding: 0.8rem 1.2rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    nav a {
        margin-left: 0.8rem;
        font-size: 0.8rem;
    }
}