/* NovoVendi marketing site visual refresh (enterprise B2B SaaS style) */
:root {
    --brand-primary: #6b26d9;
    --brand-secondary: #d8b4fe;
    --brand-teal: #0ea5a4;
    --ink-950: #0b1120;
    --ink-900: #101a33;
    --ink-700: #334155;
    --ink-600: #475569;
    --surface: #ffffff;
    --surface-muted: #f8faff;
    --surface-alt: #f3f5fc;
    --border: #dbe3f2;
    --ring: rgba(107, 38, 217, 0.18);
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow-soft: 0 16px 36px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    background:
        radial-gradient(circle at 90% 0%, rgba(107, 38, 217, 0.07), transparent 34%),
        radial-gradient(circle at 0% 30%, rgba(14, 165, 164, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f8ff 0%, #f6f8fd 45%, #f7f9ff 100%);
    color: #1f2937;
    line-height: 1.65;
}

a {
    color: #1d4ed8;
}

/* Header + Navigation */
header {
    background: linear-gradient(180deg, #060c1a, #0b1328);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(8px);
}

nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 11px;
    background: rgba(216, 180, 254, 0.15);
    border: 1px solid rgba(216, 180, 254, 0.45);
    padding: 5px;
    box-shadow: 0 5px 14px rgba(107, 38, 217, 0.35);
}

.logo-text {
    line-height: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav a {
    color: #dbe4ff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.22rem;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--brand-secondary), #8adff8);
    transition: transform 0.2s ease;
}

nav ul a:hover,
nav ul a.active {
    color: #ffffff;
}

nav ul a:hover::after,
nav ul a.active::after {
    transform: scaleX(1);
}

.coming-soon-banner {
    background: linear-gradient(90deg, #5b21b6, #6b26d9 55%, #0f7f95);
    color: #ffffff;
    text-align: center;
    padding: 0.62rem 1rem;
    font-weight: 650;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Layout */
main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.8rem 1.2rem 3.3rem;
}

.card,
section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.15rem;
    margin-top: 1.35rem;
    border: 1px solid rgba(219, 227, 242, 0.55);
}

.hero,
.about-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 8%, rgba(216, 180, 254, 0.35), transparent 25%),
        radial-gradient(circle at 88% 80%, rgba(45, 212, 191, 0.25), transparent 32%),
        linear-gradient(128deg, #140c37 8%, #3f1f9f 52%, #0f7f95 100%);
}

.hero::before,
.about-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at 50% 40%, black 45%, transparent 100%);
    pointer-events: none;
}

.hero > *,
.about-hero > *,
.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero h1,
.about-hero h1,
.page-hero h1 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 5.6vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 14ch;
}

.hero p,
.about-hero p,
.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 65ch;
    font-size: 1.08rem;
}

.hero-cta-group {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-note {
    margin-top: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

h2 {
    margin-top: 0;
    margin-bottom: 0.78rem;
    font-size: clamp(1.4rem, 2vw, 1.78rem);
    letter-spacing: -0.01em;
    color: var(--ink-950);
}

.section-kicker {
    margin: 0 0 0.48rem;
    color: #5b21b6;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-lead {
    color: var(--ink-600);
    margin-bottom: 1.3rem;
    max-width: 78ch;
}

p {
    margin-top: 0;
}

/* Buttons */
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #5b21b6, #6b26d9 65%, #0f7f95);
    color: #ffffff;
    border: 0;
    border-radius: 12px;
    padding: 0.78rem 1.2rem;
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 18px rgba(69, 33, 150, 0.28);
}

.btn:hover,
button.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(69, 33, 150, 0.34);
    filter: brightness(1.04);
}

.btn-secondary {
    background: #e7ecff;
    color: #1e293b;
    box-shadow: inset 0 0 0 1px #c7d4ff;
}

.btn-secondary:hover {
    background: #dbe4ff;
}

/* Feature / grid blocks */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-item,
.info-box,
.tier-card,
.about-highlight {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.08rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover,
.info-box:hover,
.tier-card:hover,
.about-highlight:hover {
    transform: translateY(-2px);
    border-color: #c6d4f7;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
}

.feature-item h3,
.info-box h3,
.tier-card h3,
.about-highlight h3 {
    margin-top: 0;
    color: #1b2f66;
    font-size: 1.06rem;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(107, 38, 217, 0.18), rgba(14, 165, 164, 0.17));
    color: #40218d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    margin-bottom: 0.75rem;
}

.alt-surface {
    background: linear-gradient(180deg, #f8f9ff, #f4f7ff);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #111d3a, #15244a);
    color: #edf3ff;
    border: 1px solid rgba(200, 221, 255, 0.2);
}

.metric strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.2;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tier-card.featured {
    border: 1px solid #b4c8f8;
    background: linear-gradient(180deg, #ffffff, #eef4ff);
}

.tier-tag {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #4c1d95;
    background: #ede9fe;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    text-transform: uppercase;
}

.tier-price {
    font-size: 1.65rem;
    line-height: 1.2;
    color: #102144;
    margin: 0.35rem 0 0.7rem;
    font-weight: 700;
}

.tier-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink-700);
}

/* Legal pages */
.legal-content {
    text-align: left;
    max-width: 900px;
    margin-inline: auto;
    padding-top: 1.9rem;
}

.legal-content h2 {
    margin-top: 1.85rem;
    font-size: 1.18rem;
    color: #1e2f5f;
}

.legal-content p,
.legal-content li {
    color: var(--ink-700);
}

.legal-meta {
    color: var(--ink-600);
    margin-bottom: 1rem;
    border-left: 3px solid #c3b0f8;
    padding-left: 0.85rem;
}

/* Pricing waitlist */
.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1rem;
}

.waitlist-form input[type="email"] {
    flex: 1 1 260px;
    min-width: 220px;
    border: 1px solid #c8d5ee;
    border-radius: 11px;
    padding: 0.72rem 0.85rem;
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.waitlist-form input[type="email"]:focus {
    outline: 3px solid var(--ring);
    border-color: #7a56d8;
}

.small-note {
    color: #62748d;
    font-size: 0.94rem;
    margin-top: 0.72rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0a1226, #070e1d);
    color: #cbd5e1;
    margin-top: 2.4rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.2rem 1.2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.footer-inner h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.65rem;
}

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

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #d4ddf1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #bdd6ff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    padding: 0.95rem 1rem 1.2rem;
    color: #9db0d2;
    font-size: 0.92rem;
}

/* Subtle load-in animation */
@media (prefers-reduced-motion: no-preference) {
    section {
        animation: fadeInUp 0.55s ease both;
        animation-delay: 0.03s;
    }

    section:nth-of-type(2) {
        animation-delay: 0.08s;
    }

    section:nth-of-type(3) {
        animation-delay: 0.13s;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 980px) {
    .grid,
    .pricing-grid,
    .metrics-row {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .about-hero h1,
    .page-hero h1 {
        max-width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        gap: 0.8rem;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
    }

    .coming-soon-banner {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }

    .card,
    section {
        padding: 1.28rem;
        border-radius: 15px;
    }
}
