:root {
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #d946ef 0%, #f43f5e 100%);
    --gradient-3: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #6366f1;
    --accent-light: #818cf8;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navbar */
.navbar-landing {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff !important;
}

.lang-switch {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.lang-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 40px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(248, 250, 252, 0.9);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.lang-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-gradient {
    background: var(--gradient-1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    animation: pulse 10s ease-in-out infinite alternate;
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(217, 70, 239, 0.08) 0%, transparent 60%);
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.6;
}

.hero-mockup {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    opacity: 0.8;
}

.mockup-dot:nth-child(2) {
    background: #f59e0b;
}

.mockup-dot:nth-child(3) {
    background: #10b981;
}

.mockup-content {
    background: #0f172a;
    border-radius: 12px;
    padding: 24px;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mockup-caption {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.caption-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.mockup-frame {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.mockup-frame:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
    border-color: rgba(99, 102, 241, 0.3);
}

/* Features */
.features-section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon.purple {
    background: var(--gradient-1);
}

.feature-icon.pink {
    background: var(--gradient-2);
}

.feature-icon.blue {
    background: var(--gradient-3);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Workflow */
.workflow-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-bg), rgba(30, 41, 59, 0.3), var(--dark-bg));
}

.workflow-step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.step-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-arrow {
    position: absolute;
    top: 2rem;
    right: -20px;
    color: rgba(99, 102, 241, 0.3);
    font-size: 1.25rem;
}

/* Workflow callout */
.workflow-callout {
    margin-top: 48px;
}

.callout-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px 22px;
}

.callout-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.14);
    color: #c7d2fe;
    font-size: 1.3rem;
    flex: 0 0 auto;
}

.callout-title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.callout-desc {
    color: var(--text-secondary);
    margin-top: 2px;
}

.callout-cta {
    margin-left: auto;
    flex: 0 0 auto;
}

.btn-sm {
    padding: 8px 16px;
}

/* Use cases */
.usecases-section {
    padding: 120px 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checklist i {
    color: #a5b4fc;
    margin-top: 2px;
}

/* FAQ */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-bg), rgba(30, 41, 59, 0.25), var(--dark-bg));
}

.accordion-dark {
    max-width: 860px;
}

.accordion-dark .accordion-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
}

.accordion-dark .accordion-button {
    background: transparent;
    color: rgba(248, 250, 252, 0.96);
    font-weight: 700;
    padding: 18px 18px;
    border: none;
    box-shadow: none;
}

.accordion-dark .accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-dark .accordion-body {
    color: var(--text-secondary);
    padding: 0 18px 18px 18px;
    line-height: 1.7;
}

/* CTA */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: var(--gradient-1);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(99, 102, 241, 0.4);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: spin 30s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: white;
    color: #4f46e5;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #4338ca;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.95rem;
    background: #0b1120;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-mockup {
        margin-top: 3rem;
        transform: none;
    }

    .workflow-arrow {
        display: none;
    }

    .callout-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .callout-cta {
        margin-left: 0;
        width: 100%;
    }

    .callout-cta .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn-gradient,
    .btn-outline-light-custom {
        width: 100%;
        margin-bottom: 0.5rem;
    }

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

    .cta-box {
        padding: 40px 20px;
    }
}

/* Auth / Register Pages */
.register-container {
    width: 100%;
    max-width: 460px;
    padding: 20px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-brand {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.auth-tagline {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-control {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    color: white;
}

.form-control::placeholder {
    color: #64748b;
}

.form-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.btn-register {
    background: var(--gradient-1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-link {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.login-link a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link a:hover {
    color: var(--accent);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: white;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-radius: 12px;
    font-size: 0.9rem;
}