/* --- CSS VARIABLES & DARK THEME --- */
:root {
    --bg-main: #000000;
    --bg-secondary: #0A0A0A;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --accent-blue: #3B82F6;
    --accent-hover: #60A5FA;
    --accent-green: #10B981;
    --accent-warning: #F59E0B;
    --accent-danger: #EF4444;
    
    --border-subtle: rgba(255, 255, 255, 0.1);
    --radius-card: 24px;
    --radius-btn: 99px;
    --container-width: 1200px;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent-blue); color: white; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; } /* Locks scroll when menu opens */

@media (min-width: 769px) {
    body { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"); }
}

/* --- MINIMAL NAVIGATION (NEW) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent; /* Invisible border initially */
}

/* State when scrolling down */
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.05em;
    z-index: 1002;
    position: relative;
}

/* Desktop Links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: #A1A1AA;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: white;
}

/* Status Dot (Simple) */
.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    display: inline-block;
    margin-right: 6px;
}
.status-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    margin-right: 20px;
    border-right: 1px solid var(--border-subtle);
    padding-right: 20px;
}

/* Mobile Toggle (Burger) */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Burger Animation */
.menu-toggle.active .menu-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .menu-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    z-index: 1001; /* Below logo/toggle, above content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    transform: translateY(20px);
    transition: 0.3s;
    opacity: 0;
}

.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}
/* Stagger animation */
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }


/* --- GENERAL STYLES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.hero { padding-top: 180px; padding-bottom: 100px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.blue-text { color: var(--accent-blue); }
.typewriter-text { color: var(--accent-blue); }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 32px; border-radius: var(--radius-btn); font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.2s ease; border: none; outline: none; }
.btn-primary { background: white; color: black; }
.btn-primary:hover { background: var(--accent-blue); color: white; transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; }
.btn-blue { background: var(--accent-blue); color: white; width: 100%; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--bg-card); backdrop-filter: blur(12px); padding: 40px; border-radius: var(--radius-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; transition: 0.3s; position: relative; }
.card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }
.card-header { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.price { font-size: 3.5rem; font-weight: 700; color: #fff; line-height: 1; }
.price sup { font-size: 1.5rem; vertical-align: super; }
.card-subtext { font-size: 0.9rem; color: #9CA3AF; margin-top: 10px; }
.features-list li { margin-bottom: 12px; display: flex; gap: 12px; color: #D1D5DB; }
.features-list i { color: var(--accent-blue); }

/* Badges */
.card.popular { border: 1px solid var(--accent-blue); background: rgba(59, 130, 246, 0.05); }
.card.popular::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-blue); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; }
.card.highlight { border: 1px solid var(--accent-purple); background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), rgba(15, 15, 15, 0.9)); }

/* Footer */
footer { background: #050505; border-top: 1px solid var(--border-subtle); padding: 80px 0 40px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-links-col { display: flex; flex-direction: column; gap: 12px; }
.footer-links-col a { color: var(--text-muted); }
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; }

/* Floating Elements */
.back-to-top { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 900; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 900; color: white; }
.cookie-banner { position: fixed; bottom: 20px; left: 20px; max-width: 350px; background: #161618; border: 1px solid var(--border-subtle); padding: 20px; border-radius: 16px; z-index: 999; transform: translateY(150%); transition: 0.5s; }
.cookie-banner.show { transform: translateY(0); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; padding: 20px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: #111; width: 100%; max-width: 600px; padding: 40px; border-radius: 24px; border: 1px solid var(--border-subtle); transform: scale(0.95); transition: 0.3s; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.modal-close { background: rgba(255,255,255,0.1); border: none; color: white; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .footer-grid, .grid-3 { grid-template-columns: 1fr; }
    .card.highlight .features-list { grid-template-columns: 1fr; }
    .status-text { display: none; } /* Hide status text on mobile, just use dot in menu later if needed */
    .back-to-top { bottom: 100px; right: 20px; left: auto; }
    .hero { padding-top: 140px; }
}
