/* Base Setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00f0ff;
    --accent-red: #ff2a6d;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.07);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(to right, #fff, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p,
li {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Reusable Components */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-text {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-cyan);
    background: transparent;
    padding: 10px 0;
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.accent-text-cyan {
    color: var(--accent-cyan);
    font-weight: 600;
}

.accent-text-red {
    color: var(--accent-red);
    font-weight: 600;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

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

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

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-color);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Mobile Menu Toggle (Hidden by default, can be expanded later) */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile view for now: hidden links */
    }

    .mobile-menu-btn {
        display: block;
        color: white;
    }
}

/* Store Buttons */
.btn-store-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-store:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.btn-store svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    /* Allows color change on hover if needed */
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: var(--text-primary);
}

.btn-store-text span:first-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    line-height: 1;
    margin-bottom: 2px;
}

.btn-store-text span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

/* Specific Hover Glows */
.btn-apple:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-google:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    /* Cyan glow for generic android */
    border-color: var(--accent-cyan);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-cyan);
    color: var(--text-primary);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Default grid, overridden below for generic layout */
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    z-index: 2;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.mockup-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-img:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* The Hook */
.hook-section {
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* The Problem */
.problem-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.problem-list li {
    padding-left: 20px;
    position: relative;
    border-left: 2px solid var(--accent-red);
}

/* Five Lenses */
.lenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.lens-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--glass-border);
    margin-bottom: 10px;
    display: block;
}

/* Data Points */
.data-points {
    background: linear-gradient(180deg, var(--bg-color) 0%, #0c0c0c 100%);
}

.data-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.data-tag {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

/* Money Trail */
.money-section {
    text-align: center;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

/* Generic Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-4 {
    margin-top: 40px;
}

/* Animation Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    h1 {
        font-size: 2.5rem;
    }
}