:root {
    --brand-blue: #00a4d4;
    --brand-blue-dark: #007b9c;
    --brand-blue-light: #06c8f1;
    --brand-yellow: #fdd34a;
    --brand-yellow-dark: #d9a611;
    --brand-yellow-light: #fff424;
    --bg-dark: #0a0a0a;
    --bg-surface: #141414;
    --bg-surface-elevated: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-blue: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    --gradient-premium: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
    --container-width: 1200px;
    --section-padding: clamp(60px, 10vw, 120px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 22px;
}

.logo img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
}

.nav-links {
    display: none; /* Hidden on mobile */
    gap: 30px;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-blue);
}

.btn-download-nav {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* --- Hero --- */
.hero {
    padding-top: 120px;
    padding-bottom: var(--section-padding);
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-grid {
        flex-direction: row;
        text-align: left;
        min-height: calc(100vh - 120px);
    }
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand-yellow);
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--brand-blue);
}

.hero p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

@media (max-width: 991px) {
    .hero p { margin-left: auto; margin-right: auto; }
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-btns { justify-content: flex-start; }
}

.btn-store {
    background: #111;
    border: 1px solid #222;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-store:hover {
    background: #1a1a1a;
    border-color: var(--brand-blue);
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--brand-blue-dark);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

.phone-mockup {
    width: 260px;
    aspect-ratio: 9/19;
    background: #000;
    border-radius: 36px;
    border: 10px solid #1a1a1a;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

@media (min-width: 1200px) {
    .phone-mockup { width: 300px; }
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Features --- */
.features {
    background: #050505;
    padding: var(--section-padding) 0;
}

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

.section-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--brand-blue);
    background: var(--bg-surface-elevated);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 164, 212, 0.1);
    color: var(--brand-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* --- Showcase (FIXED SLIDER) --- */
.showcase {
    padding: var(--section-padding) 0;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%; /* 1 visible on small mobile */
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.slider-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

@media (min-width: 576px) {
    .slider-track { grid-auto-columns: 45%; } /* 2 visible */
}

@media (min-width: 992px) {
    .slider-track { grid-auto-columns: calc(25% - 15px); } /* 4 visible */
}

.slider-item {
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #1a1a1a;
    transition: transform 0.3s ease;
}

.slider-item img {
    width: 100%;
    display: block;
}

.slider-item:hover {
    transform: scale(1.02);
}

/* --- CTA Section --- */
.cta {
    padding: var(--section-padding) 0;
}

.cta-card {
    background: var(--gradient-premium);
    padding: 60px 20px;
    border-radius: 32px;
    text-align: center;
    color: white;
}

.cta-card h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 15px;
}

.cta-card p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--brand-blue);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-white:hover {
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    padding: 80px 0; /* Balanced padding top and bottom */
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px; /* Increased space before separator */
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    text-align: center;
    padding:20px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 13px;
    margin: 0; /* Ensure no extra margin pushes text down */
}

/* --- Legal Pages Styling --- */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: 30px;
    color: var(--brand-blue);
}

.legal-content h2 {
    margin: 30px 0 15px;
    font-size: 22px;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}
