/* ═══════════════════════════════════════════════════════════════
   DENDAT Store — Hub-Matched Dark Theme
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg:#030305;--surface:#08080c;--surface-2:#0e0e14;--surface-3:#141420;
    --bg-primary: #030305;
    --bg-secondary: #08080c;
    --bg-card: linear-gradient(160deg,#08080c 0%,rgba(15,23,42,0.4) 100%);
    --bg-card-flat: #0a0a10;
    --bg-card-hover: #0e0e18;
    --bg-elevated: #141420;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);

    --text-primary: #fff;
    --text-secondary: #8b8b9e;
    --text-muted: #4a4a5e;

    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-dim: rgba(99,102,241,0.12);

    --green: #22c55e;
    --red: #ef4444;
    --amber: #f59e0b;
    --cyan: #06b6d4;
    --purple: #a855f7;
    --pink: #ec4899;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.35),0 0 0 1px rgba(255,255,255,0.03);
    --shadow-glow: 0 0 30px rgba(99,102,241,0.15);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', var(--font);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nav-height: 48px;
    --max-width: 1280px;
    --glass:rgba(255,255,255,0.02);--glass-border:rgba(255,255,255,0.06);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
::selection{background:rgba(99,102,241,0.25);color:#e0e7ff}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.06);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.12)}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Ambient background effects (Hub-style) */
.bg-grid{position:fixed;inset:0;z-index:0;pointer-events:none;
    background-image:linear-gradient(rgba(255,255,255,0.015) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,0.015) 1px,transparent 1px);
    background-size:80px 80px}
.bg-glow{position:fixed;z-index:0;pointer-events:none;border-radius:50%;filter:blur(140px)}
.bg-glow-1{width:600px;height:600px;background:var(--accent);top:-250px;right:-150px;opacity:0.05}
.bg-glow-2{width:500px;height:500px;background:#ec4899;bottom:-200px;left:-150px;opacity:0.03}
.bg-glow-3{width:400px;height:400px;background:#f59e0b;top:40%;left:50%;opacity:0.02}

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 640px;
    line-height: 1.7;
}

/* ── NAVIGATION (Hub-style compact topnav) ────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(8,8,12,0.88);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 12px rgba(0,0,0,0.15);
}
.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,transparent 5%,rgba(99,102,241,0.08) 30%,rgba(139,92,246,0.06) 50%,rgba(6,182,212,0.04) 70%,transparent 95%);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 16px;
    border-right: 1px solid var(--border);
    margin-right: 0;
    flex-shrink: 0;
    height: 100%;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 1.2px;
    color: #fff;
}
.nav-logo .logo-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}
.nav-logo .logo-icon .material-symbols-rounded { font-size: 14px; }
.nav-logo .logo-tag {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    border: 1px solid var(--border);
}

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    list-style: none;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li { height: 100%; }
.nav-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    height: 100%;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
}
.nav-links a.active {
    color: #fff;
    border-bottom-color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    padding: 4px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 16px; }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--border-hover);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(99,102,241,0.3);
}
.btn-outline:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 6px 12px;
}
.btn-ghost:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.btn-lg {
    padding: 10px 22px;
    font-size: 0.84rem;
    border-radius: 10px;
}
.btn-sm {
    padding: 5px 12px;
    font-size: 0.72rem;
    border-radius: 7px;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(168,85,247,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236,72,153,0.04) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-content h1 {
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}
.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── SECTIONS ──────────────────────────────────────────────── */
section {
    padding: 100px 0;
    position: relative;
}
section + section {
    border-top: 1px solid var(--border);
}
.section-header {
    margin-bottom: 48px;
}
.section-header.center {
    text-align: center;
}
.section-header.center .section-subtitle {
    margin: 12px auto 0;
}

/* ── PRODUCT CARDS (Hub service-card style) ────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.product-card {
    position: relative;
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--card-accent, var(--accent));
    opacity: 0;
    transition: opacity .3s;
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, var(--card-glow, rgba(99,102,241,0.04)) 0%, transparent 70%);
}
.product-card:hover {
    border-color: var(--card-border, var(--border-hover));
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover::after { opacity: 1; }
.product-card:active { transform: translateY(-1px); }

.product-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform .3s;
}
.product-card:hover .product-card-icon { transform: scale(1.06); }
.product-card-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}
.product-card:hover .product-card-icon::after {
    opacity: 1;
    animation: iconShine .6s ease;
}
@keyframes iconShine {
    from { transform: translateX(-100%) rotate(45deg); }
    to { transform: translateX(100%) rotate(45deg); }
}
.product-card-icon .material-symbols-rounded { font-size: 22px; position: relative; z-index: 1; }

/* Card top row (icon + name side by side, Hub-style) */
.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-top .product-card-icon { margin-bottom: 0; }

.product-card-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.badge-live {
    background: rgba(34,197,94,0.12);
    color: var(--green);
    border: 1px solid rgba(34,197,94,0.2);
}
.badge-coming-soon {
    background: rgba(245,158,11,0.12);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,0.2);
}
.badge-flagship {
    background: rgba(99,102,241,0.12);
    color: var(--accent);
    border: 1px solid rgba(99,102,241,0.2);
}
.badge-free {
    background: rgba(6,182,212,0.12);
    color: var(--cyan);
    border: 1px solid rgba(6,182,212,0.2);
}
.badge-experimental {
    background: rgba(217,70,239,0.12);
    color: #d946ef;
    border: 1px solid rgba(217,70,239,0.2);
}

.product-card h3 {
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}
.product-card .tagline {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 8px;
}
.product-card .description {
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 14px;
}
.product-card .price {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
}
.product-card .price span {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

/* ── FEATURED PRODUCT CARD (large, Hub-style) ─────────────── */
.featured-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--featured-gradient, linear-gradient(135deg, #6366f1, #8b5cf6));
    pointer-events: none;
}
.featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.04) 0%, transparent 70%);
}
.featured-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03);
}
.featured-card:hover::after { opacity: 1; }
.featured-left { position: relative; z-index: 1; }
.featured-right {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.featured-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.76rem;
    color: var(--text-secondary);
}
.featured-feature .material-symbols-rounded {
    font-size: 16px;
    color: var(--accent);
}

/* ── CATEGORY FILTER (Hub-style pills) ─────────────────────── */
.category-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.category-pill:hover, .category-pill.active {
    color: #fff;
    background: var(--accent-dim);
    border-color: var(--accent);
}
.category-pill .material-symbols-rounded {
    font-size: 14px;
}

/* ── SERVICES CARDS ────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.service-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--card-gradient, linear-gradient(135deg, var(--accent), #8b5cf6));
    opacity: 0;
    transition: opacity .3s;
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03);
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-card h3 { margin-bottom: 4px; font-size: 0.9rem; font-weight: 700; color: #fff; }
.service-card .tagline {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 10px;
}
.service-card .description {
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.service-card .price {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--green);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.feature-list li .material-symbols-rounded {
    font-size: 16px;
    color: var(--green);
    flex-shrink: 0;
}

/* ── PRICING TABLE ─────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    align-items: start;
}

.pricing-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    opacity: 0;
    transition: opacity .3s;
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card.popular {
    border-color: rgba(99,102,241,0.3);
}
.pricing-card.popular::before { opacity: 1; }
.pricing-card.popular::after {
    content: 'Most Popular';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 3px 14px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 0 8px 8px;
    z-index: 1;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03);
}
.pricing-card h3 {
    margin-bottom: 4px;
    font-size: 1rem;
    color: #fff;
}
.pricing-card .tier-desc {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 20px;
}
.pricing-card .price-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.pricing-card .price-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.pricing-card .price-period {
    font-size: 0.76rem;
    color: var(--text-muted);
}
.pricing-card .price-annual-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.pricing-card .pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.pricing-card .pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.pricing-card .pricing-features li .material-symbols-rounded {
    font-size: 16px;
    color: var(--green);
}

/* ── PRODUCT DETAIL ────────────────────────────────────────── */
.detail-hero {
    padding: calc(var(--nav-height) + 40px) 0 40px;
    position: relative;
}
.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.detail-breadcrumb a {
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.15s;
}
.detail-breadcrumb a:hover { color: #fff; }
.detail-breadcrumb .sep { color: var(--text-muted); }

.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}
.detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.detail-title-block h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 6px;
    color: #fff;
}
.detail-title-block .tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 40px 0 80px;
}
.detail-main {}
.detail-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    align-self: start;
}

.detail-section {
    margin-bottom: 36px;
}
.detail-section h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #fff;
}
.detail-description {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.feature-item .material-symbols-rounded {
    font-size: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.sidebar-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.sidebar-card .price-display {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}
.sidebar-card .price-period {
    color: var(--text-muted);
    font-size: 0.76rem;
    margin-bottom: 16px;
}
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-card .btn + .btn { margin-top: 8px; }

.stats-row {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}
.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.stat-item .stat-val {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.stat-item .stat-lbl {
    font-size: 0.64rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── RELATED PRODUCTS ──────────────────────────────────────── */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── CONTACT FORM ──────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface, #08080c);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.82rem;
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a4a5e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.contact-info-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.contact-info-card h4 { margin-bottom: 12px; font-size: 0.88rem; color: #fff; }
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
}
.contact-info-item .material-symbols-rounded {
    font-size: 18px;
    color: var(--accent);
}

/* ── SUCCESS MESSAGE ───────────────────────────────────────── */
.success-message {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 16px;
}
.success-message .material-symbols-rounded {
    font-size: 48px;
    color: var(--green);
    margin-bottom: 12px;
}

/* ── COMING SOON BANNER ────────────────────────────────────── */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.coming-soon-card {
    background: linear-gradient(160deg, var(--surface, #08080c) 0%, rgba(15,23,42,0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.coming-soon-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.008) 10px,
        rgba(255,255,255,0.008) 20px
    );
    pointer-events: none;
}
.coming-soon-card h4 { margin-bottom: 4px; font-size: 0.88rem; color: #fff; }
.coming-soon-card .tagline {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 8px;
}
.coming-soon-card .description {
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.5;
}

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03), transparent);
}
.cta-section h2 { margin-bottom: 12px; color: #fff; }
.cta-section p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ── FOOTER (Hub-style) ───────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 28px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand p {
    font-size: 0.76rem;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col ul li a {
    font-size: 0.76rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    font-family: var(--font-mono);
}
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ── ECOSYSTEM LOGOS ───────────────────────────────────────── */
.ecosystem-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}
.ecosystem-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.ecosystem-item:hover { opacity: 1; }
.ecosystem-item .material-symbols-rounded { font-size: 20px; }

/* ── 404 / 500 ─────────────────────────────────────────────── */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
}
.error-page h1 {
    font-size: 8rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.error-page p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.1rem; }

/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .featured-card { grid-template-columns: 1fr; padding: 24px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(8,8,12,0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px;
        gap: 0;
    }
    .nav-links.open li { height: auto; }
    .nav-links.open a {
        padding: 10px 12px;
        border-bottom: none;
        border-radius: 8px;
        height: auto;
    }
    .nav-links.open a:hover { background: rgba(255,255,255,0.04); }
    .nav-links.open a.active { background: var(--accent-dim); border-bottom: none; }
    .nav-actions .btn-ghost,
    .nav-actions .btn-primary { display: none; }
    .hero { min-height: 70vh; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .products-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .featured-right { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .ecosystem-strip { gap: 20px; }
    .licensing-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .license-table-wrap { font-size: 0.76rem; }
}

/* ─── LICENSING PAGE ─────────────────────────────────────────── */

.licensing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.license-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: border-color 0.3s, transform 0.2s;
}

.license-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.license-card-featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), transparent);
}

.license-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.license-header {
    border-left: 3px solid;
    padding-left: 1rem;
}

.license-header h2 {
    font-size: 1.3rem;
    margin: 0.5rem 0 0.25rem;
}

.license-desc {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.license-pricing-summary {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

.price-period {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
}

.price-note {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 0.25rem;
}

.license-includes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.license-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.license-includes li .material-symbols-rounded {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.license-ideal {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 1rem;
}

.license-ideal h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.5;
    margin: 0 0 0.4rem;
}

.license-ideal p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* License pricing table */
.license-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.license-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.license-table thead {
    background: rgba(255,255,255,0.04);
}

.license-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    white-space: nowrap;
}

.license-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    white-space: nowrap;
}

.license-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.license-product-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.license-product-name:hover {
    color: var(--accent);
}

.badge-sm {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    text-transform: capitalize;
}

.save-badge {
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 600;
}

.price-highlight {
    font-weight: 700;
    color: #10b981;
    font-family: 'Space Grotesk', sans-serif;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

/* Product detail — licensing options */
.licensing-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.license-option {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.license-option:hover {
    border-color: var(--accent);
}

.license-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.license-option-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.license-option-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #10b981;
}

.license-option-note {
    font-size: 0.75rem;
    opacity: 0.5;
}

.license-option-active {
    border-color: var(--accent) !important;
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 0 1px var(--accent);
}

.license-option[data-license]:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.04);
}

.quote-product-card {
    display: block;
    position: relative;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.quote-product-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.03);
}

.quote-product-selected {
    border-color: var(--accent) !important;
    background: rgba(99, 102, 241, 0.08) !important;
    box-shadow: 0 0 0 1px var(--accent);
}

.quote-check-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
}

.quote-product-selected .quote-check-indicator {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.admin-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.live-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.live-demo-btn:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: var(--accent);
}
