:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #1f2937;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #f8fafc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.navbar-brand {
    color: #172033 !important;
}

.navbar-brand:hover {
    color: #172033 !important;
}

.navbar .nav-link {
    color: #172033;
    font-weight: 500;
    margin: 0 0.35rem;
    transition: 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #172033;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.1), transparent 25%),
        linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.hero::before {
    width: 420px;
    height: 420px;
    right: -120px;
    top: 100px;
}

.hero::after {
    width: 300px;
    height: 300px;
    left: -90px;
    bottom: -100px;
}

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

.hero h1 {
    max-width: 660px;
    letter-spacing: -0.04em;
}

.hero .lead {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82) !important;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.75rem;
}

.feature-check i {
    color: #fde68a;
}

.terminal-card {
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    transform: rotate(1deg);
    transition: 0.3s ease;
}

.terminal-card:hover {
    transform: rotate(0deg) translateY(-6px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.terminal-card pre,
.code-card pre {
    margin: 0;
    padding: 1.5rem;
    color: #e2e8f0;
    white-space: pre-wrap;
    overflow-x: auto;
    font-family: "Courier New", monospace;
    font-size: 0.94rem;
    line-height: 1.75;
}

.stats {
    margin-top: -46px;
    position: relative;
    z-index: 4;
}

.stat-card {
    height: 100%;
    padding: 1.8rem;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.stat-card h2 {
    margin-bottom: 0.25rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.section-description {
    max-width: 660px;
}

.feature-card {
    height: 100%;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
    border-color: rgba(79, 70, 229, 0.25);
}

.feature-card i {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    font-size: 1.5rem;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.api-example-section {
    background: var(--white);
}

.code-card {
    border-radius: 20px;
    background: var(--dark);
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.14);
}

.code-card-header {
    min-height: 64px;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--dark-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.method-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: var(--success);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 800;
}

.endpoint-text,
.response-title {
    color: #cbd5e1;
    font-family: monospace;
    margin-left: 0.55rem;
}

.copy-button {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    padding: 0.45rem 0.75rem;
    transition: 0.2s ease;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.13);
}

.status-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    background: var(--success);
    margin-right: 0.35rem;
}

.step-card {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
}

.step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 800;
}

.step-card h4 {
    font-weight: 700;
}

.step-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.pricing-section {
    background: var(--white);
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    transition: 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 55px rgba(79, 70, 229, 0.14);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card-header h4 {
    font-weight: 800;
}

.pricing-card-header p {
    color: var(--muted);
    min-height: 48px;
}

.price {
    min-height: 84px;
    display: flex;
    align-items: baseline;
    margin: 1.5rem 0;
}

.price .currency {
    font-size: 1.2rem;
    font-weight: 700;
}

.price .amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark);
}

.price .period {
    margin-left: 0.35rem;
    color: var(--muted);
}

.custom-price {
    font-size: 2rem !important;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
    color: #475569;
}

.pricing-features i {
    color: var(--success);
    margin-top: 0.15rem;
}

.pricing-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.docs-preview {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.docs-list {
    display: grid;
    gap: 1.1rem;
}

.docs-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.docs-list-item > i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--primary);
    background: #eef2ff;
    font-size: 1.2rem;
}

.docs-list-item h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.docs-list-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.docs-window {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.1);
}

.docs-window-sidebar {
    padding: 1.5rem 1rem;
    background: #f1f5f9;
    border-right: 1px solid var(--border);
}

.docs-window-sidebar span {
    display: block;
    padding: 0.65rem 0.8rem;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.9rem;
}

.docs-window-sidebar span.active {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.docs-window-content {
    padding: 2rem;
}

.docs-window-content h4 {
    font-weight: 800;
}

.docs-window-content p {
    color: var(--muted);
}

.mini-code {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--dark);
    color: #dbeafe;
    font-family: monospace;
}

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

.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: var(--white);
}

.faq-accordion .accordion-button {
    font-weight: 700;
    background: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #eef2ff;
}

.final-cta {
    background: var(--white);
}

.cta-card {
    padding: 4rem 2rem;
    border-radius: 28px;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.13), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 25px 70px rgba(79, 70, 229, 0.22);
}

.cta-card h2 {
    margin-top: 1rem;
    font-weight: 800;
}

.cta-card p {
    max-width: 620px;
    margin: 0.85rem auto 1.75rem;
    color: rgba(255, 255, 255, 0.82);
}

.cta-icon {
    width: 64px;
    height: 64px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.6rem;
}

.site-footer {
    padding: 4rem 0 1.5rem;
    background: var(--dark);
    color: #cbd5e1;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff !important;
    font-size: 1.35rem;
    font-weight: 800;
}

.footer-description {
    max-width: 360px;
    margin-top: 1rem;
    color: #94a3b8;
}

.site-footer h5 {
    color: #ffffff !important;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 0.65rem;
}

.site-footer a {
    color: #94a3b8;
    transition: 0.2s ease;
}

.site-footer a:hover {
    color: #ffffff !important;
}

.service-status {
    display: inline-flex;
    align-items: center;
    color: #cbd5e1;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.btn {
    border-radius: 11px;
    font-weight: 650;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-warning {
    background: #facc15;
    border-color: #facc15;
    color: #1f2937;
}

.btn-warning:hover {
    background: #eab308;
    border-color: #eab308;
    color: #111827;
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .navbar .d-flex {
        margin-top: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 85px 0 80px;
    }

    .stats {
        margin-top: 0;
    }

    .docs-window {
        grid-template-columns: 1fr;
    }

    .docs-window-sidebar {
        display: flex;
        gap: 0.35rem;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .docs-window-sidebar span {
        white-space: nowrap;
    }
}

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

    .hero .lead {
        font-size: 1.05rem;
    }

    .terminal-card {
        transform: none;
    }

    .code-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .navbar .d-flex {
        flex-direction: column;
    }

    .navbar .d-flex .btn {
        width: 100%;
    }

    .hero {
        padding-top: 70px;
    }

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

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

    .price .amount {
        font-size: 2.2rem;
    }
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Disable hover effect for navbar links */
.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
    color: #172033 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
