/* 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: #3C3BD8;
    /* Modern Purple */
    --primary-hover: #4a4ada;
    --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: var(--primary-color);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    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.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-area .container {
    padding: 0 15px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 30%;
}

.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;
    font-weight: 700;
}

/* 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 — Video BG
   =========================== */
.welcome-area {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(6, 6, 18, 0.88) 0%,
            rgba(13, 13, 30, 0.72) 40%,
            rgba(60, 59, 216, 0.15) 100%);
    z-index: 1;
}

/* Bottom fade for smooth section transition */
.hero-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-row {
    min-height: 100vh;
    padding-top: 80px;
}

/* Hero Badge Pill */
.hero-badge-pill {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 117, 76, 0.12);
    border: 1px solid rgba(255, 117, 76, 0.3);
    color: var(--accent-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.welcome-content h1 {
    font-size: 3.8rem;
    line-height: 1.12;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #c8c8e0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.welcome-content h1 span {
    background: var(--primary-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--primary-color);
}

.welcome-content p {
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* CTA Button Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 20px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.badge-item i {
    color: #FFC107;
    font-size: 18px;
}

.badge-text span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-text strong {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup img {
    max-width: 450px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

.mockup-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(60, 59, 216, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(14px);
        opacity: 0.2;
    }
}

/* 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-top: 60px;
    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;
}

/* Section Heading */
.section-heading h2 {
    font-size: 2.5rem;
}

.section-heading h2 em {
    font-style: normal;
    background: var(--primary-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 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;
    }

    .welcome-content h1 {
        font-size: 2.5rem;
    }

    .hero-row {
        padding-top: 100px;
    }

    .hero-mockup img {
        max-width: 280px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .welcome-content h1 {
        font-size: 2rem;
    }

    .welcome-content p {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn-primary-custom,
    .hero-cta-group .btn-ghost {
        justify-content: center;
        text-align: center;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}