/* ========== CSS VARIABLES ========== */
:root {
    --primary: #895BF6;
    --primary-hover: #7A4BE0;
    --primary-light: #A78BFA;
    --bg-dark: #0D0B14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #F5F3FF;
    --text-secondary: #B0A8C9;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --shadow-glow: 0 0 40px rgba(137, 91, 246, 0.25);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== UTILITY CLASSES ========== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-glow);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 30px rgba(137, 91, 246, 0.3);
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(137, 91, 246, 0.4);
}

.btn--outline {
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    background: transparent;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ========== IMAGE PLACEHOLDERS ========== */
.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(137, 91, 246, 0.05);
    border: 2px dashed rgba(137, 91, 246, 0.25);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.image-placeholder__overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--primary-light);
    z-index: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.image-placeholder--empty .image-placeholder__overlay {
    display: flex;
}

.image-placeholder--empty .image-placeholder__img {
    display: none;
}

.image-placeholder--mockup {
    aspect-ratio: 9 / 16;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
}

.image-placeholder--screenshot {
    aspect-ratio: 9 / 16;
    width: 100%;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(13, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.nav__logo-icon {
    background: var(--primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.3rem;
}

.nav__links {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

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

.hero__bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.hero__bg-glow--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(137, 91, 246, 0.3), transparent 70%);
    top: -200px;
    left: -100px;
}

.hero__bg-glow--2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2), transparent 70%);
    bottom: -150px;
    right: -100px;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(137, 91, 246, 0.15);
    border: 1px solid rgba(137, 91, 246, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero__visual {
    position: relative;
}

.hero__mockup-wrapper {
    position: relative;
    z-index: 2;
}

.hero__floating-card {
    position: absolute;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.hero__floating-card--1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

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

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 5;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== SECTIONS GENERAL ========== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header__tag {
    display: inline-block;
    background: rgba(137, 91, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.section-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header__desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== FEATURES GRID ========== */
.features {
    padding: 100px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    text-align: center;
}

.feature-card__icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(137, 91, 246, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.feature-card__title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== SCREENSHOTS ========== */
.screenshots {
    padding: 100px 0;
}

.screenshots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.screenshot-card {
    padding: 20px;
}

.screenshot-card__label {
    text-align: center;
    margin-top: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.step {
    flex: 1 1 250px;
    max-width: 320px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.step__number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.7;
    margin-bottom: 16px;
}

.step__title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step__desc {
    color: var(--text-secondary);
}

.step__connector {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    display: none;
}

@media (min-width: 768px) {
    .step__connector {
        display: block;
    }
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 120px 0;
    position: relative;
}

.cta__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(137, 91, 246, 0.25), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
}

.cta__card {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.cta__desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta__btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__tagline {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer__heading {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer__links-col ul li {
    margin-bottom: 10px;
}

.footer__links-col a {
    color: var(--text-secondary);
}

.footer__links-col a:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== LEGAL PAGES STYLES ========== */
.legal-page {
    padding: 140px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--primary-light);
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
}

.contact-info {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 32px;
}

.contact-info h3 {
    margin-bottom: 16px;
    color: var(--primary-light);
}

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

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

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__subtitle {
        margin: 0 auto 36px;
    }
    .hero__stats {
        justify-content: center;
    }
    .hero__visual {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }
    .hero__floating-card {
        display: none;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: rgba(13, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        padding: 100px 30px;
        gap: 16px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav__links.active {
        right: 0;
    }
    .nav__hamburger {
        display: flex;
        z-index: 1001;
    }
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step__connector {
        width: 1px;
        height: 40px;
        display: block;
    }
    .screenshots__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .screenshots__grid {
        grid-template-columns: 1fr;
    }
    .hero__cta-group {
        flex-direction: column;
    }
}