/* --- Variables & System --- */
:root {
    /* Palette extracted from Logo */
    --bg-dark: #050508;       /* Deepest Black/Blue */
    --bg-panel: #0f1016;      /* Slightly lighter for cards */
    
    --accent-cyan: #00f0ff;   /* Neon Cyan */
    --accent-purple: #bd00ff; /* Neon Purple */
    --accent-blue: #2d5af8;   /* Deep Blue */
    
    --text-main: #f5f5f7;     /* Apple Off-White */
    --text-muted: #86868b;    /* Apple Grey */
    
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-glow: linear-gradient(135deg, rgba(0,240,255,0.4), rgba(189,0,255,0.4));
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blur: 20px;
    
    --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1); /* Apple-like bouncy/smooth ease */
    
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 999px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Ambient Background Animation --- */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.glow-1 {
    background: var(--accent-cyan);
    top: -200px;
    left: -100px;
}

.glow-2 {
    background: var(--accent-purple);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 50px) scale(1.1); }
    66% { transform: translate(-30px, 20px) scale(0.9); }
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 { font-size: clamp(3rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: var(--spacing-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacing-xs); }

p { color: var(--text-muted); font-size: 1.125rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 6px; /* slightly rounded */
}

/* --- Hamburger Menu --- */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 201;
}

.menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    margin-bottom: 6px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-apple);
}

.menu-btn .bar:last-child { margin-bottom: 0; }

/* Hamburger to X Animation */
.menu-btn.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Sidebar --- */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.overlay.active { opacity: 1; pointer-events: all; }

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #0f1016; /* Solid nice dark bg */
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-apple);
    border-left: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

.sidebar.active { transform: translateX(0); }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    display: none; /* Handled by hamburger logic usually, but kept for semantics */
}

.sidebar-links li { margin-bottom: var(--spacing-sm); }

.nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--accent-cyan); }

.nav-sub {
    font-size: 1rem;
    color: var(--text-muted);
}

.nav-sub:hover { color: var(--text-main); }

.spacer { height: 20px; border-bottom: 1px solid var(--glass-border); margin: 20px 0; }

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Header offset */
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-sm);
}

.hero-desc {
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s var(--ease-apple);
    cursor: pointer;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

/* --- Sections General --- */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    margin-bottom: var(--spacing-lg);
}

/* --- Grid / Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: transform 0.3s var(--ease-apple), border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

/* --- Steps Section --- */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--glass-border);
    color: var(--accent-cyan);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.step-line {
    display: none; /* Hidden on mobile */
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    margin-top: 20px;
}

@media (min-width: 768px) {
    .step-line { display: block; }
}

/* --- Trust / Why --- */
.trust-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0;
    background: #020203;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col.links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-col.links a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 768px) {
    .hero-section { padding-left: 20px; padding-right: 20px; }
    h1 { font-size: 3rem; }
    .subline { font-size: 1.5rem; }
    .grid-3 { grid-template-columns: 1fr; }
}


/* Mobile safety */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
