:root {
    --bg-color: #050507;
    --bg-darker: #020203;
    --primary-color: #9d4edd;
    /* Purple */
    --accent-color: #e01e84;
    /* Magenta */
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --glass-bg: rgba(10, 10, 10, 0.8);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-glow: 0 0 20px rgba(157, 78, 221, 0.4);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    color: var(--accent-color) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-darker);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #b8b8b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.3));
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.1), transparent 40%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    /* Fix: Allow clicks to pass through to the content below */
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(157, 78, 221, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.card p {
    color: var(--text-muted);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-content: center;
}

.step-item {
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

/* Benefits */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.benefit-item {
    flex: 1 1 300px;
    text-align: center;
    padding: 30px;
    border-left: 1px solid var(--border-color);
}

.benefit-item:first-child {
    border-left: none;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

/* Legal Pages & Shared Pages Content */
.page-content {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 50px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #b8b8b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-muted);
}

.content-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.content-box h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 15px;
}

.content-box ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-box li {
    margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card h3,
.contact-form-card h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
    background: rgba(157, 78, 221, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
}

.info-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item span {
    color: var(--text-muted);
}

.info-link {
    color: var(--text-muted);
    transition: var(--transition);
}

.info-link:hover {
    color: var(--primary-color);
}

/* Form Styles */
.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.cyber-form input,
.cyber-form select,
.cyber-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.cyber-form input:focus,
.cyber-form select:focus,
.cyber-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.2);
}

.cyber-form select option {
    background-color: var(--bg-darker);
    color: var(--white);
}

.w-100 {
    width: 100%;
    text-align: center;
}

/* About & Contact */
.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.contact-container {
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.contact-method strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .header-content {
        justify-content: space-between;
        height: 50px;
    }

    .mobile-menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
    }

    .mobile-menu-btn span {
        width: 24px;
        margin: 2.5px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 7, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding-top: 100px;
        transition: var(--transition);
        box-shadow: none;
        z-index: 999;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 30px;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    /* Dropdown in Mobile */
    .dropdown-content {
        position: relative;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 10px 0 0;
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Adjust grids for mobile */
    .grid-3,
    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 10px;
    }

    .row-group {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 0;
    }

    .benefit-item {
        flex: 1 1 100%;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px 20px;
    }

    .benefit-item:last-child {
        border-bottom: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .contact-methods {
        flex-direction: column;
        gap: 40px;
    }
}