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

:root {
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --dark-900: #0a0a12;
    --dark-800: #12121f;
    --dark-700: #1a1a2e;
    --dark-600: #22223a;
    --glass-bg: rgba(18, 18, 31, 0.75);
    --glass-border: rgba(168, 85, 247, 0.15);
    --text-primary: #f8f8ff;
    --text-secondary: rgba(248, 248, 255, 0.7);
    --text-muted: rgba(248, 248, 255, 0.45);
    --gradient-primary: linear-gradient(135deg, #9333ea, #c084fc, #a855f7);
    --gradient-glow: linear-gradient(135deg, #7e22ce, #a855f7);
    --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-900);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1508700929628-666bc8bd84ea?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(147, 51, 234, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(147, 51, 234, 0.15);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.banner-content {
    flex: 1;
    max-width: 560px;
}

.banner-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-300);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.banner-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

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

.banner-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 480px;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-glow);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(147, 51, 234, 0.4);
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.5);
}

.banner-cta i {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

.banner-visual {
    flex-shrink: 0;
}

.phone-mockup {
    width: 240px;
    aspect-ratio: 9 / 20;
    border-radius: 28px;
    overflow: hidden;
    border: 3px solid rgba(147, 51, 234, 0.35);
    box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    background: var(--dark-700);
}

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

.banner-phone {
    width: 280px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(147, 51, 234, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--purple-400);
    border-radius: 4px;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-300);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.intro {
    padding: 100px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-block--right {
    flex-direction: row;
    transform: translateX(-40px);
}

.feature-block--left {
    flex-direction: row;
    transform: translateX(40px);
}

.feature-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-text {
    flex: 1;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 132, 252, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrap i {
    font-size: 1.3rem;
    color: var(--purple-400);
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-image {
    flex-shrink: 0;
    position: relative;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.screenshots {
    padding: 100px 24px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    justify-items: center;
}

.screenshot-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-card:nth-child(1) { transition-delay: 0.05s; }
.screenshot-card:nth-child(2) { transition-delay: 0.15s; }
.screenshot-card:nth-child(3) { transition-delay: 0.25s; }
.screenshot-card:nth-child(4) { transition-delay: 0.35s; }

.screenshot-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.screenshot-card .phone-mockup {
    width: 220px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-card:hover .phone-mockup {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.35), 0 30px 60px rgba(0, 0, 0, 0.4);
}

.footer {
    position: relative;
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-logo .logo-img {
    width: 36px;
    height: 36px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 14px;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--purple-300);
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--purple-300);
}

.email-link i {
    color: var(--purple-400);
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid rgba(147, 51, 234, 0.08);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .banner {
        flex-direction: column;
        text-align: center;
        gap: 48px;
        padding-top: 140px;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .banner-title {
        font-size: 3rem;
    }

    .feature-block {
        gap: 48px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 18, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .menu-toggle {
        display: flex;
    }

    .banner-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .banner-phone {
        width: 220px;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-block--right,
    .feature-block--left {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .feature-block {
        margin-bottom: 80px;
    }

    .feature-icon-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-mockup {
        width: 200px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .screenshot-card .phone-mockup {
        width: 160px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .feature-desc {
        font-size: 0.92rem;
    }

    .screenshot-card .phone-mockup {
        width: 140px;
    }

    .banner-phone {
        width: 200px;
    }
}
