/* ==========================================================================
   1. GLOBAL VARIABLES & BASE STYLES
   ========================================================================== */
:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(20, 26, 40, 0.6);
    --accent-color: #00ffff;
    --text-main: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography Base */
h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 35px;
    margin-bottom: 12px;
}

p, li {
    color: var(--text-muted);
    font-size: 0.98rem;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

a.link {
    color: var(--accent-color);
    text-decoration: none;
}

a.link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   2. SHARED NAVBAR & FOOTER
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 1px solid var(--border-color);
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
}

.brand-logo span {
    color: var(--accent-color);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-color);
}

.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   3. HERO SECTION (HOME PAGE)
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    background: linear-gradient(135deg, rgba(11, 15, 25, 1) 0%, rgba(20, 26, 40, 1) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(rgba(0, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
}

/* Background floating dots */
.background-dots {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: 1;
}

.dot {
    position: absolute;
    width: 8px; height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatDot 10s infinite ease-in-out;
}

.dot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.dot:nth-child(2) { top: 70%; left: 15%; animation-delay: 2s; }
.dot:nth-child(3) { top: 40%; left: 80%; animation-delay: 4s; }
.dot:nth-child(4) { top: 80%; left: 85%; animation-delay: 6s; }
.dot:nth-child(5) { top: 10%; left: 70%; animation-delay: 1s; }

/* ==========================================================================
   4. LAYOUT CONTAINERS & GLASS CARDS (ABOUT, SUPPORT, PRIVACY)
   ========================================================================== */
.page-container {
    max-width: 950px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.policy-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.policy-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.effective-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

/* ==========================================================================
   5. SPECIAL COMPONENTS (STATS, VALUES, FORMS, FAQ)
   ========================================================================== */
/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
}

.value-item h3 {
    color: #fff;
    margin-top: 0;
    font-size: 1.15rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* FAQ & Direct Contact */
.direct-contact {
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.direct-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   6. ANIMATIONS & RESPONSIVENESS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatDot {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-header h1 { 
        font-size: 2rem; 
    }
    .glass-card, .policy-container { 
        padding: 25px; 
        margin: 20px;
    }
}

/* ==========================================================================
   7. SERVICES GRID SECTION
   ========================================================================== */
.services-section {
    padding: 100px 20px;
    background-color: var(--bg-color);
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: #fff;
    margin: 10px 0;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

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

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 30px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.08);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-card:hover .service-link span {
    transform: translateX(4px);
    transition: transform 0.2s ease;
}


/* DROPDOWN */

.demo-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    margin-left: 20px;
    padding: 0;
    cursor: pointer;
}

.demo-link:hover,
.demo-link:focus {
    color: var(--accent-color);
}

.navbar .navbar-toggler {
    border-color: var(--border-color);
}

.navbar .navbar-toggler-icon {
    filter: invert(1);
}

.navbar .navbar-collapse {
    flex-grow: 0;
}


.nav-links > a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--accent-color);
}

.demo-dropdown .dropdown-menu {
    background-color: #111;
    border: 1px solid #333;
}

.demo-dropdown .dropdown-item {
    color: var(--text-muted);
    margin-left: 0;
}

.demo-dropdown .dropdown-item:hover {
    color: var(--accent-color);
    background-color: #222;
}