@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f9fafb;
    --text: #1f2937;
    --muted: #4b5563;
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --card: #ffffff;
    --outline: rgba(79, 70, 229, 0.14);
    --shadow: 0 15px 60px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.landing-page {
    background: linear-gradient(180deg, #f9f9ff 0%, #f9fafb 30%, #ffffff 100%);
    min-height: 100vh;
}

.landing-navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(79, 70, 229, 0.08);
}

.nav-button {
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(124, 58, 237, 0.4);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 999px;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -120px auto auto -160px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.18), transparent 60%);
    filter: blur(30px);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -80px -200px auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.18), transparent 60%);
    filter: blur(40px);
    z-index: -1;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    margin: 16px 0 14px;
}

.subtitle {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.12);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 22px 0 14px;
    flex-wrap: wrap;
}

.primary-button {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 45px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(79, 70, 229, 0.4);
}

.ghost-button {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: var(--primary);
    font-weight: 600;
    background: rgba(79, 70, 229, 0.05);
    transition: all 0.2s ease;
}

.ghost-button:hover {
    background: rgba(79, 70, 229, 0.12);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
}

.hero-badges span {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.input-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--text);
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.input-chip.success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.2);
}

.glass-card {
    width: min(460px, 100%);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.08));
    opacity: 0.9;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f43f5e;
    box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e;
}

.glass-title {
    font-weight: 700;
    color: var(--text);
    margin-left: 12px;
}

.glass-body {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.glass-line {
    height: 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.16);
    margin-bottom: 8px;
    animation: pulse 3s ease-in-out infinite;
}

.glass-line.wide { width: 92%; }
.glass-line.short { width: 56%; }
.glass-line:not(.wide):not(.short) { width: 78%; }

.glass-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 14px 0;
}

.glass-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.glass-badges span {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    font-weight: 600;
}

.glass-cta {
    margin-top: 14px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(124, 58, 237, 0.14));
    border-radius: 12px;
    color: var(--text);
    font-weight: 600;
    text-align: center;
}

.floating-blob {
    position: absolute;
    inset: auto -60px -40px auto;
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.22), rgba(124, 58, 237, 0.24));
    border-radius: 38% 62% 55% 45%;
    filter: blur(8px);
    animation: float 8s ease-in-out infinite;
}

.demo-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 10px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.demo-copy h2 {
    font-size: clamp(28px, 3.4vw, 38px);
    margin: 10px 0 12px;
}

.demo-subtitle {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.demo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 12px;
}

.demo-badge {
    display: inline-block;
    padding: 10px 14px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.15);
}

.demo-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.highlight-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.highlight-item h6 {
    margin: 0 0 4px;
    font-size: 15px;
}

.highlight-item p {
    margin: 0;
    color: var(--muted);
}

.highlight-item .check {
    color: #10b981;
    font-weight: 800;
    margin-top: 2px;
}

.demo-visual {
    display: grid;
    place-items: center;
}

.demo-video-wrapper {
    width: min(560px, 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-video {
    width: 100%;
    display: block;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin: 10px 0;
}

.section-subtitle {
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.feature-card {
    background: var(--card);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--outline);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
}

.icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(124, 58, 237, 0.14));
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.5;
}

.feature-example {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.06);
    color: var(--text);
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.plans {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 20px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.plan-card {
    background: var(--card);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--outline);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-card.pro {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 16px 50px rgba(124, 58, 237, 0.16);
}

.plan-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.plan-header p {
    color: var(--muted);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    font-weight: 700;
    margin-top: 8px;
}

.plan-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text);
    padding: 0;
    margin: 0;
}

.plan-list li {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-weight: 600;
}

.how-it-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.step {
    background: var(--card);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid var(--outline);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.step::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.step:hover::after {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}

.cta {
    margin: 0 auto 40px;
    max-width: 1100px;
    padding: 38px 24px;
}

.cta-content {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(124, 58, 237, 0.9));
    color: #fff;
    border-radius: 22px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 18px 60px rgba(79, 70, 229, 0.4);
}

.cta-content h2 {
    font-size: clamp(26px, 3vw, 32px);
    margin-bottom: 10px;
}

.cta-content p {
    margin-bottom: 16px;
    color: #e5e7eb;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ghost-button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.85;
    pointer-events: none;
}

.landing-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 22px 24px;
    background: #0f172a;
    color: #e2e8f0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 14px 18px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding: 60px 18px 40px;
    }

    .hero-badges {
        gap: 8px;
    }

    .demo-grid, .feature-grid, .steps {
        grid-template-columns: 1fr;
    }
}
