:root {
    --bg: #f7f4f0;
    --surface: #ffffff;
    --surface-soft: #f0f5f4;
    --border: rgba(20, 20, 30, 0.12);
    --text: #14131b;
    --muted: rgba(20, 19, 27, 0.65);
    --accent: #45E3CF;
    --accent-dark: #2cb8a5;
    --highlight: #45E3CF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Sora", "Space Grotesk", sans-serif;
    background: var(--bg);
    color: var(--text);
    padding: 12px 4vw 32px;
    padding-top: 64px;
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 14px;
}

/* Sticky Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4vw;
    background: rgba(247, 244, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav__brand-text .powered-by {
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.02em;
}

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

.nav__links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav__links a:hover {
    color: var(--accent-dark);
}

.btn-nav {
    padding: 7px 14px;
    font-size: 0.75rem;
}

/* Ambient Background */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 16s ease-in-out infinite;
}

.orb--one {
    background: radial-gradient(circle at 30% 30%, #a8f0e6, transparent 60%);
    top: -100px;
    left: -120px;
}

.orb--two {
    background: radial-gradient(circle at 70% 40%, #b8fff5, transparent 55%);
    bottom: -140px;
    right: -100px;
    animation-delay: -6s;
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(20, 19, 27, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(20, 19, 27, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.9), transparent 70%);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
    animation: fadeUp 0.9s ease-out;
    min-height: 0;
}

.hero__content,
.hero__preview {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 12px 40px rgba(20, 19, 27, 0.06);
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.powered-by {
    font-size: 0.55rem;
    text-transform: none;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

h1 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 10px;
    font-weight: 700;
}

h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.subhead {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero__badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--surface-soft);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.hero__badges span img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Space Grotesk", sans-serif;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #0a2e29;
    box-shadow: 0 3px 12px rgba(69, 227, 207, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(69, 227, 207, 0.35);
}

.btn-secondary {
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.btn-large {
    padding: 11px 24px;
    font-size: 0.85rem;
}

/* Hero Preview */
.hero__preview {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.device {
    background: var(--surface-soft);
    border-radius: 10px;
    padding: 10px;
}

.device__screen {
    min-height: 140px;
    background: linear-gradient(140deg, #f0faf8 0%, #e8f7f4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.75rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 14px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 220px;
}

.preview-card__label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.55rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.preview-stats {
    display: flex;
    gap: 16px;
}

.preview-stat {
    display: flex;
    flex-direction: column;
}

.preview-stat__value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.preview-stat__label {
    font-size: 0.6rem;
    color: var(--muted);
}

.float-card {
    position: absolute;
    background: var(--surface);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(20, 19, 27, 0.1);
    width: 130px;
    animation: float 12s ease-in-out infinite;
}

.float-card--one {
    top: -8px;
    right: -14px;
}

.float-card--two {
    bottom: 20px;
    left: -20px;
    animation-delay: -5s;
}

.float-card__title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 4px;
}

.float-card__mentioned {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-dark);
}

/* Main Content */
main {
    display: grid;
    gap: 28px;
}

section {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 12px 40px rgba(20, 19, 27, 0.04);
    animation: fadeUp 0.9s ease-out;
}

.section-intro {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 0.85rem;
    max-width: 500px;
}

/* Problem Section */
.problem__text {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 600px;
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.problem-card {
    background: var(--surface-soft);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.problem-card__stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 8px;
    line-height: 1;
}

.problem-card p {
    color: var(--muted);
    font-size: 0.8rem;
}

/* Steps Section */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.step-card {
    background: var(--surface-soft);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid transparent;
}

.step-card span {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.step-card h3 {
    margin-top: 8px;
}

.step-card p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Engine Logos */
.engine-logos {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.engine-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.engine-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 6px;
}

.engine-logo span {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 500;
}

/* Dashboard Preview */
.dashboard-frame {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(20, 19, 27, 0.15);
}

.dashboard-frame__bar {
    background: #252540;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-frame__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3d3d5c;
}

.dashboard-frame__dot:nth-child(1) { background: #ff5f57; }
.dashboard-frame__dot:nth-child(2) { background: #febc2e; }
.dashboard-frame__dot:nth-child(3) { background: #28c840; }

.dashboard-frame__url {
    margin-left: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.dashboard-frame__content {
    padding: 3px;
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 18px;
}

.feature-card__icon {
    width: 36px;
    height: 36px;
    background: var(--surface-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--accent-dark);
}

/* Pricing Section */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 28px rgba(69, 227, 207, 0.12);
}

.pricing-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #0a2e29;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card__header {
    margin-bottom: 16px;
}

.pricing-card__title {
    font-size: 1rem;
    margin-bottom: 4px;
}

.pricing-card__price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-card__price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
}

.pricing-card__features li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.8rem;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 18px;
}

.faq-item h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--muted);
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.cta-section h2 {
    margin-bottom: 8px;
}

.cta-section .section-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-section__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Footer */
.footer {
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 20px;
    font-size: 0.75rem;
}

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

.footer__brand > div {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.footer .powered-by {
    display: block;
    font-size: 0.6rem;
    opacity: 0.6;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--accent-dark);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero__preview {
        order: -1;
        max-height: 220px;
    }

    section {
        padding: 20px;
    }
}

@media (max-width: 720px) {
    body {
        padding: 16px 4vw 32px;
        padding-top: 56px;
    }

    .nav {
        padding: 8px 4vw;
    }

    .nav__links {
        display: none;
    }

    .nav__brand-text {
        display: none;
    }

    .btn-nav {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .float-card {
        display: none;
    }

    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Utility */
.muted {
    color: var(--muted);
}
