/* Reset & General Styles */
:root {
    --bg-primary: #08060f;
    --bg-secondary: #0f0c1b;
    --accent-color: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-active: rgba(139, 92, 246, 0.3);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    background: #8b5cf6;
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    background: #ec4899;
    bottom: -10%;
    right: -10%;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 900px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-primary);
}

.nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--glass-border-active);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

/* Main Content Card */
.main-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    min-height: 480px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Tab Switching Animations */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section (Home Tab) */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 380px;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.15;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 620px;
}

.badge-container {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Legal Documents Styling */
.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.8rem;
}

.legal-text {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    line-height: 1.65;
}

.legal-text h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    position: relative;
    padding-left: 0.8rem;
}

.legal-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: var(--accent-color);
    border-radius: 9999px;
}

.legal-text p {
    color: var(--text-secondary);
}

.legal-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.8rem;
}

.legal-text li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.legal-text li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem 0;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }
    .header {
        justify-content: center;
        padding: 1rem;
    }
    .main-card {
        padding: 1.5rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}
