/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-color: #0d0d0d;
    --surface-color: #1e1e1e;
    --surface-hover: #2a2a2a;
    --primary-color: #6C5DD3;
    /* Modern Purple */
    --primary-hover: #5b4eb5;
    --accent-color: #FF754C;
    /* Coral accent */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #333333;
    --success-color: #33d69f;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --section-padding: 80px 0;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Utilities */
.text-primary-color {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-surface {
    background-color: var(--surface-color);
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(108, 93, 211, 0.4);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 93, 211, 0.5);
    color: #fff;
}

.btn-secondary-custom {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Header/Nav */
.header-area {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-area .container {
    padding: 0 15px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-left: 30px;
}

.nav li a {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.5;
}

.nav li a:hover,
.nav li a.active {
    color: var(--primary-color) !important;
}

/* Mobile Menu Trigger */
.menu-trigger {
    display: none;
    /* Hidden by default on desktop */
    cursor: pointer;
    font-size: 24px;
    color: var(--text-primary);
}

/* Responsive Nav */
@media (max-width: 768px) {
    .menu-trigger {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav {
        display: none;
        /* Hidden by default on mobile, toggled via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface-color);
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav.active {
        display: flex;
    }

    .nav li {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .nav li a {
        padding: 15px;
        display: block;
    }
}

/* Hero Section */
.welcome-area {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.welcome-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-content h1 span {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    color: #FFC107;
    font-size: 20px;
}

.badge-text span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1;
}

.badge-text strong {
    font-size: 16px;
    color: var(--text-primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--surface-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 93, 211, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 24px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Legal Pages (Corporate Style) */
.legal-page {
    padding: 60px 0 100px;
}

.legal-header {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.legal-content h1 {
    font-size: 2.5rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--border-color);
}

.toc-list li a {
    display: block;
    padding: 10px 0 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.toc-list li a:hover,
.toc-list li a.active {
    color: var(--primary-color);
    border-left: 2px solid var(--primary-color);
    margin-left: -2px;
    font-weight: 500;
}

.legal-body h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.legal-body p,
.legal-body ul li {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-body ul {
    padding-left: 20px;
}

.legal-body ul li {
    list-style-type: disc;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: block;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-primary);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h5 {
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--text-primary);
}

.copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
        /* Hide sidebar on mobile for simplicity, or make it a dropdown */
    }

    .welcome-content h1 {
        font-size: 2.5rem;
    }
}