/* ==============================
   CSS Variables & Themes
============================== */
:root {
    --bg-dark: #07090F;
    --bg-card: rgba(20, 24, 34, 0.6);
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --accent-color: #00F0FF;
    --accent-glow: rgba(0, 240, 255, 0.4);
    --secondary-accent: #0055FF;
    
    --font-primary: 'Inter', sans-serif;
    
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 240, 255, 0.2);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================
   Reset & Basics
============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-center { text-align: center; }
.w-full { width: 100%; }

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 60%);
    opacity: 0.3;
}

.bg-glow-2 {
    top: 40%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.15;
}

/* ==============================
   Components
============================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--accent-color);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
}

.btn-ghost:hover {
    color: var(--accent-color);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.glass-card:hover::before {
    left: 100%;
}

.border-glow {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05) inset;
}

/* Utility classes */
.accent {
    color: var(--accent-color);
}

.accent-gradient {
    background: linear-gradient(to right, var(--text-main), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Defaults */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   Header & Navigation
============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-fast);
}

header.scrolled {
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: var(--bg-dark);
    padding: 2rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-nav.active {
    display: block;
}

.nav-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-links-mobile a {
    font-size: 1.1rem;
}

/* ==============================
   Hero Section
============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.element-graphic {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(30, 35, 50, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.code-mockup {
    background: #0f111a;
    border-radius: 12px;
    overflow: hidden;
}

.mockup-header {
    background: #1a1e2d;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-body {
    padding: 2rem 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.mockup-body code {
    display: block;
}

.keyword { color: #c678dd; }
.variable { color: #e5c07b; }
.string { color: #98c379; }
.function { color: #61afef; }

/* ==============================
   Services Section
============================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ==============================
   About Section
============================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 2rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: -1;
}

.about-glass {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glow);
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list i {
    font-size: 1.5rem;
}

/* ==============================
   Contact Section
============================== */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card .section-desc {
    margin: 0 auto 2.5rem auto;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==============================
   Footer
============================== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0 2rem 0;
    background: rgba(0,0,0,0.2);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: #000;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
}

/* ==============================
   Privacy Policy Styles
============================== */
.policy-hero {
    padding: 8rem 0 3rem 0;
    position: relative;
}

.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.policy-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.policy-hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 820px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.policy-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.policy-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-meta-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Quick Summary Grid */
.policy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 4rem 0;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 1.75rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.highlight-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
}

.highlight-icon.green {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.highlight-icon.blue {
    background: rgba(0, 85, 255, 0.15);
    color: #3b82f6;
}

.highlight-icon.amber {
    background: rgba(255, 191, 0, 0.1);
    color: #ffbf00;
}

.highlight-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.highlight-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Layout Grid: TOC + Document */
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 6rem;
}

/* Sticky Table of Contents */
.policy-sidebar {
    position: sticky;
    top: 6rem;
}

.policy-toc {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
}

.policy-toc h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    display: block;
    line-height: 1.4;
}

.toc-link:hover,
.toc-link.active {
    color: #fff;
    background: rgba(0, 240, 255, 0.08);
    border-left: 2px solid var(--accent-color);
    padding-left: 0.65rem;
}

.toc-actions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

/* Document Body */
.policy-article {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.policy-block {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.25rem;
    scroll-margin-top: 6rem;
    transition: var(--transition-smooth);
}

.policy-block:hover {
    border-color: rgba(0, 240, 255, 0.15);
}

.policy-block-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-block h2 {
    font-size: 1.45rem;
    color: #fff;
    line-height: 1.3;
}

.policy-block p {
    color: #D1D5DB;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.policy-block p:last-child {
    margin-bottom: 0;
}

.policy-list {
    margin: 1rem 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.6;
}

.policy-list li i {
    color: var(--accent-color);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Callout Box inside Policy */
.policy-callout {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.policy-callout.success {
    background: rgba(0, 255, 136, 0.04);
    border-color: rgba(0, 255, 136, 0.2);
    border-left-color: #00ff88;
}

.policy-callout.warning {
    background: rgba(255, 191, 0, 0.04);
    border-color: rgba(255, 191, 0, 0.2);
    border-left-color: #ffbf00;
}

.policy-callout i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-callout.success i {
    color: #00ff88;
}

.policy-callout.warning i {
    color: #ffbf00;
}

.policy-callout-content {
    flex: 1;
}

.policy-callout-content strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 0.98rem;
}

.policy-callout-content p {
    color: #D1D5DB;
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Steps / Accordion / How-to delete */
.step-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.step-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
}

.step-num {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.step-box h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.step-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Contact Details Box */
.contact-details-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.contact-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-detail-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.contact-detail-card strong {
    font-size: 0.95rem;
    color: #fff;
}

/* Responsive for Policy Page */
@media (max-width: 992px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .policy-sidebar {
        position: static;
    }
    
    .policy-hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .policy-hero {
        padding: 6.5rem 0 2rem 0;
    }
    
    .policy-hero-title {
        font-size: 1.9rem;
    }
    
    .policy-block {
        padding: 1.5rem;
    }
    
    .policy-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}


