/* Global Vars & Reset */
:root {
    --bg-dark: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #4facfe;
    --secondary: #00f2fe;
    --accent: #ff0080;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --blur-val: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(79, 172, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 128, 0.1) 0%, transparent 20%);
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    -webkit-backdrop-filter: blur(var(--blur-val));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.nav-links .btn-primary.small {
    padding: 8px 20px;
    font-size: 0.9rem;
    opacity: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10%;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    z-index: 2;
    transform: rotate(-5deg) translateY(20px);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.phone-frame {
    max-width: 450px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 10px solid #1a1a24;
}

/* Blurs */
.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.blur-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blur-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 50px;
    left: -100px;
}

/* Features */
.features-section {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature-card {
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Gallery - Scrolling */
.gallery-section {
    padding: 50px 0 100px;
    text-align: center;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    padding: 20px;
    /* Basic scroll bar for now, can be auto-scrolled via CSS keyframes */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-img {
    height: 500px;
    border-radius: 20px;
    flex-shrink: 0;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* CTA */
.cta-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.cta-content {
    padding: 60px;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.store-btn:hover {
    transform: scale(1.05);
    background: var(--secondary);
}

.store-btn span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.store-btn strong {
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 50px;
        transform: none;
    }

    .nav-links {
        display: none;
        /* Hamburger menu to be added if needed, simple hide for simplicity */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .gallery-img {
        height: 350px;
    }
}