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

:root {
    --primary: #3b82f6;
    --primary-glow: #60a5fa;
    --accent: #8b5cf6;
    --accent-glow: #a78bfa;

    --bg-dark: #0f1115;
    --bg-card: #181a20;
    --bg-card-hover: #1f2229;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;

    --glass-bg: rgba(15, 17, 21, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);

    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.5);

    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Art Deco Background Pattern */
/* Modern Mesh Background */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-dark);
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    overflow: hidden;
}

.background-glow::before,
.background-glow::after {
    display: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════
/* ═══════════════════════════════════════════
   HEADER - Modern Glass Style
═══════════════════════════════════════════ */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--text-main);
}

/* ═══════════════════════════════════════════
/* ═══════════════════════════════════════════
   BUTTONS - Modern Tech Style
═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.23);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
}

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

/* ═══════════════════════════════════════════
/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* App Mockup - Premium Floating Card */
.app-mockup {
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/10; Removed to allow full image display */
    background: rgba(24, 26, 32, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow:
        var(--shadow-soft),
        0 0 60px rgba(59, 130, 246, 0.2);
}

/* Glow accent */
.app-mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.mockup-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 15px 25px rgba(59, 130, 246, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ═══════════════════════════════════════════
/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.features {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(24, 26, 32, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

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

/* ═══════════════════════════════════════════
   GALLERY SECTION - Premium Showcase
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   GALLERY SECTION
═══════════════════════════════════════════ */
.gallery {
    padding: 80px 0;
}

.glass-panel {
    background: rgba(24, 26, 32, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 4rem;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.gallery-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: var(--text-main);
}

.gallery-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.gallery-placeholder {
    margin-top: 3rem;
    height: 400px;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════
   CTA SECTION - Compelling Download
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta {
    padding: 120px 0 160px;
    text-align: center;
    position: relative;
}

.cta-box {
    position: relative;
    padding: 5rem;
    background: linear-gradient(180deg, rgba(30, 32, 38, 0.4), rgba(20, 22, 28, 0.5));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: var(--bg-dark);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.delay-100 {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-sub {
        margin: 0 auto 2.5rem;
    }

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

    .app-mockup {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .app-mockup:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .glass-panel {
        padding: 3rem 2rem;
    }

    .cta-box h2 {
        font-size: 2.25rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════
   CUSTOM SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* ═══════════════════════════════════════════
   SELECTION
═══════════════════════════════════════════ */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-main);
}