@font-face {
    font-family: "Visuelt Pro";
    src: url("../fonts/VisueltPro-Light.ttf") format("truetype");
    font-display: swap;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f5;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-primary: #1B2A4A;
    --color-primary-hover: #2a3d66;
    --color-border: #e5e5e5;
    --color-card-shadow: rgba(0, 0, 0, 0.06);
    --color-success: #34A853;
    /* Brand / cosmic identity (shared across light + dark layers) */
    --color-accent: #FFA27E;          /* Cosmic Orange — fills/glows on dark */
    --color-accent-ink: #C2552E;      /* readable burnt orange — text/accents on light */
    --color-accent-tint: rgba(255, 162, 126, 0.14);
    --color-accent-soft: rgba(255, 162, 126, 0.6);
    --cosmic-bg: #0d0b0a;             /* warm near-black behind hero imagery */
    --glow-warm: 0 0 30px rgba(255, 248, 240, 0.9);
    --font-main: "Visuelt Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--nav-height);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 44px;
    width: auto;
    margin-top: 4px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: color 0.2s;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-btn-login {
    padding: 8px 24px;
    border: 1.5px solid var(--color-primary);
    border-radius: 6px;
    color: var(--color-primary);
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-btn-login:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* Products dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 210px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 8px 28px var(--color-card-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: translateY(-2px) rotate(225deg);
}

.dropdown-item {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--color-text-muted);
    transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.dropdown-item-all {
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    border-radius: 6px 6px 0 0;
    margin-bottom: 4px;
    padding-bottom: 11px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ── Hero ── */
.hero {
    padding: 100px 32px 80px;
    text-align: center;
    background: var(--color-bg);
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Cosmic hero (marketing moment — dark brand layer) ── */
.hero--cosmic {
    position: relative;
    background-color: var(--cosmic-bg);
    background-image: url("../img/hero-cosmic-bg.png");
    background-size: cover;
    background-position: center 60%;
    color: #ffffff;
    padding: 120px 32px 112px;
    overflow: hidden;
}

/* Top-weighted scrim keeps the headline legible over the bright planet glow. */
.hero--cosmic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 11, 10, 0.7) 0%, rgba(13, 11, 10, 0.15) 45%, rgba(13, 11, 10, 0.5) 100%);
}

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

/* Soft fade from the dark hero into the light section below (C) */
.hero--cosmic::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(13, 11, 10, 0) 0%, var(--color-bg-alt) 100%);
    z-index: 1;
}

.hero--cosmic h1 {
    color: #ffffff;
    text-shadow: var(--glow-warm);
}

.hero--cosmic p {
    color: rgba(255, 255, 255, 0.82);
}

/* Pill buttons for the dark layer */
.btn-glow {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 100px;
    box-shadow: var(--glow-warm);
}

.btn-glow:hover {
    background: #ffffff;
    box-shadow: 0 0 42px rgba(255, 248, 240, 1);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
}

.btn-ghost:hover {
    border-color: #ffffff;
}

/* ── Testimonials (cosmic) ── */
.testimonials {
    background: var(--cosmic-bg);
    color: #ffffff;
    padding: 88px 32px;
}

.testimonials .section-header h2 {
    color: #ffffff;
    text-shadow: var(--glow-warm);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    padding: 36px 30px 30px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 30px rgba(255, 162, 126, 0.12);
}

.testimonial-card::before {
    content: "\201C";
    color: var(--color-accent);
    font-size: 60px;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-attr {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 19px;
    font-weight: 600;
}

.testimonial-role {
    font-size: 14px;
    color: var(--color-accent);
}

/* ── Contact CTA band (cosmic) ── */
.cta-band {
    background: var(--cosmic-bg);
    padding: 8px 32px 96px;
}

.cta-band-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    padding: 76px 32px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, rgba(255, 162, 126, 0.18) 0%, rgba(255, 162, 126, 0) 70%);
    box-shadow: 0 0 50px rgba(255, 162, 126, 0.14);
}

.cta-band h2 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-shadow: var(--glow-warm);
    margin-bottom: 14px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

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

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

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* ── Products Section ── */
.products {
    padding: 80px 32px;
    background: var(--color-bg-alt);
}

.products-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* Product Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.product-tab {
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1.5px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s;
}

.product-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-tab.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.product-intro {
    text-align: center;
    margin-bottom: 48px;
}

.product-intro h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-intro p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 24px var(--color-card-shadow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 10px;
}

.feature-icon img {
    width: 24px;
    height: 24px;
}

/* Brand capability icons — orange glow marks, no grey tile */
.feature-icon--brand {
    background: none;
    width: auto;
    height: 60px;
    margin-bottom: 18px;
}

.feature-icon--brand img {
    width: auto;
    height: 60px;
}

.feature-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Product Banner */
.product-banner {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    margin-bottom: 32px;
}

.product-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-banner .placeholder-img {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--color-bg-alt), #e8e8e3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

.product-cta {
    text-align: center;
}

.product-cta--row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ── */
.site-footer {
    background: var(--cosmic-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 56px 32px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 38px;
    width: auto;
    margin-top: 8px;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.footer-copy p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 16px 32px;
        gap: 16px;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Dropdown flows inline inside the collapsed mobile menu */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        box-shadow: none;
        border: none;
        padding: 4px 0 0 12px;
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .hero {
        padding: 60px 20px 48px;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .products {
        padding: 48px 20px;
    }
}
