/* Modern Design System - Beautiful & Pure */
:root {
    /* Color Palette - Dark & Vibrant */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #a855f7;
    --accent: #22d3ee;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-gap: 4rem;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }
}

/* Typography & Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--container-padding);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

ul {
    list-style: none;
    margin-bottom: 2rem;
}

li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    /* Override the transparent text fill for images */
    -webkit-text-fill-color: initial;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #fff;
    text-decoration: none;
}

/* Components */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    text-align: center;
    padding: 3rem 0 5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
}

.hero-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    margin-bottom: 1.5rem;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 8px 48px rgba(99, 102, 241, 0.7);
    }
}

.hero-graphics {
    position: relative;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    border: 6px solid #334155;
    position: relative;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
}

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

/* ==============================
   Feature Showcase Section
   ============================== */
.section-title {
    text-align: center;
    justify-content: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.feature-showcase-text {
    flex: 1;
}

.feature-showcase-text .feature-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-showcase-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-showcase-phone {
    flex-shrink: 0;
    width: 240px;
    height: 490px;
    border-radius: 32px;
    border: 5px solid #334155;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: #0f172a;
    transition: transform 0.3s ease;
}

.feature-showcase-phone:hover {
    transform: translateY(-5px);
}

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

/* Legacy features grid (kept for reference) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* ==============================
   Gallery Section
   ============================== */
.gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

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

.gallery-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
    width: max-content;
}

.gallery-item {
    width: 240px;
    height: 490px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 4px solid #334155;
    background: #0f172a;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================
   Contact Section
   ============================== */
.contact-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.contact-box h2 {
    justify-content: center;
    margin-top: 0;
}

/* ==============================
   Footer
   ============================== */
.footer {
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* ==============================
   Mobile Responsiveness
   ============================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .hero {
        padding: 2rem 0 3rem;
    }

    .hero-app-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .mockup {
        width: 220px;
        height: 460px;
        border-radius: 32px;
    }

    /* Feature showcase stacks vertically */
    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .feature-showcase-phone {
        width: 200px;
        height: 410px;
        border-radius: 28px;
    }

    .gallery-item {
        width: 200px;
        height: 410px;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }
}