:root {
    --primary: #007AFF;
    --primary-glow: rgba(0, 122, 255, 0.4);
    --bg: #000000;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #86868b;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.47;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand { 
    font-family: 'Outfit', sans-serif; 
    font-weight: 800; 
    letter-spacing: -0.03em;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
}

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

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
}

.logo-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: white; }
.logo-img { height: 32px; width: 32px; border-radius: 8px; }
.brand { font-size: 1.2rem; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 48px;
    font-weight: 600;
}

/* Hero Background Parallax */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bg.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transform: scale(1.1);
}

.bg-glow {
    position: fixed;
    bottom: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 50vh;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
    opacity: 0.3;
}

/* Features Group */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 80px;
    margin-top: 15vh;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 15vh;
}

.feature-card {
    padding: 60px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: block;
}

.feature-card h3 { margin-bottom: 16px; font-size: 1.75rem; }
.feature-card p { color: var(--text-dim); font-size: 1.1rem; line-height: 1.5; }

/* Buttons */
.btn-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-download {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn-download:hover { transform: scale(1.04); background: #eee; }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Floating Cookie Hub */
.cookie-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.cookie-fab:hover { transform: scale(1.1); }

/* Modal Premium */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-card {
    width: 90%;
    max-width: 480px;
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.show { display: flex; opacity: 1; }
.modal-overlay.show .modal-card { transform: scale(1); }

/* Footer */
footer { padding: 120px 0 60px; text-align: center; border-top: 1px solid var(--border); }
.footer-links { display: flex; justify-content: center; gap: 40px; margin: 40px 0; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }

/* Responsive Improvements */
@media (max-width: 850px) {
    nav { padding: 0 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 40px; }
    .hero h1 { font-size: 4rem; }
}

@media (max-width: 500px) {
    .btn-download { width: 100%; justify-content: center; }
}

/* Cookie switches styling */
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-of-type { border-bottom: none; margin-bottom: 15px; }

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }
input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }

/* Cookie Consent Bar */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: calc(100% - 40px);
    max-width: 500px;
    padding: 30px;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content h4 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 700; color: #fff; }
.cookie-content p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.5; }

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.cookie-btn:hover { 
    background: #0061cc; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}
