:root {
    --bg-obsidian: #07090e;
    --bg-chassis: #0c1018;
    --bg-panel: #121824;
    --bg-panel-elevated: #171f2f;
    --bg-glass: rgba(12, 16, 24, 0.85);
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-highlight: rgba(56, 189, 248, 0.35);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Shared Gapjumper + Charisma Dual-Pole Brand Palette */
    --brand-pink: #fc72a4;
    --brand-pink-deep: #ec528e;
    --brand-violet: #b06cf6;
    --brand-cyan: #38bdf8;
    --brand-cyan-bright: #68eeff;
    --brand-amber: #f59e0b;
    --brand-emerald: #10b981;

    --grad-brand: linear-gradient(135deg, #fc72a4 0%, #b06cf6 50%, #38bdf8 100%);
    --grad-pink-cyan: linear-gradient(90deg, #fc72a4 0%, #48cefa 100%);
    --grad-surface: linear-gradient(180deg, rgba(23, 31, 47, 0.7) 0%, rgba(12, 16, 24, 0.9) 100%);

    --container-max: 1240px;
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-chassis: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-obsidian);
    background-image:
        radial-gradient(circle at 18% 8%, rgba(252, 114, 164, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 50% 55%, rgba(176, 108, 246, 0.04) 0%, transparent 50%);
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

code, .mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.brand-gapjumper {
    height: 25px;
    width: auto;
    transition: opacity 0.2s ease;
}

.brand-gapjumper:hover {
    opacity: 0.88;
}

.brand-divider {
    width: 1px;
    height: 20px;
    background: rgba(148, 163, 184, 0.24);
}

.brand-product-name {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.85rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS (Clean Studio Edges — No Border Bleed)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.46rem 0.95rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.85rem 1.7rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--grad-brand);
    background-origin: border-box;
    color: #06080d;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(252, 114, 164, 0.22), 0 3px 12px rgba(56, 189, 248, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 10px 26px rgba(252, 114, 164, 0.32), 0 5px 16px rgba(56, 189, 248, 0.26);
}

.btn-secondary {
    background: rgba(23, 31, 47, 0.9);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.14);
    box-shadow: inset 0 0 0 1px var(--brand-cyan);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO SECTION & CENTERLINE-ALIGNED LOGO LOCKUP
   ========================================================================== */
.hero {
    padding: 8.25rem 0 4.5rem;
    position: relative;
}

.hero-top {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.charisma-hero-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.65rem;
}

.charisma-hero-icon {
    height: 62px;
    width: auto;
    /* Optical alignment with the midpoint of 'Charisma' */
    transform: translateY(2px);
    filter: drop-shadow(0 0 22px rgba(176, 108, 246, 0.28));
}

.charisma-hero-wordmark {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

/* Reusable inline lockup for Web Synth & Cards */
.charisma-inline-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.charisma-inline-icon {
    height: 27px;
    width: auto;
    transform: translateY(1px);
}

.charisma-inline-wordmark {
    height: 28px;
    width: auto;
}

.hero-headline {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.15rem;
}

.text-gradient-pink {
    background: linear-gradient(90deg, #fc72a4, #de6cba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(90deg, #68eeff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.06rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 2rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* ==========================================================================
   INTERACTIVE 8-DECK VST INTERFACE SHOWCASE
   ========================================================================== */
.ui-showcase-chassis {
    background: var(--bg-chassis);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-chassis);
}

.ui-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    justify-content: center;
}

.ui-tab-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.46rem 0.88rem;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.ui-tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.4);
}

.ui-tab-btn.active {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18) 0%, rgba(18, 24, 36, 0.95) 100%);
    color: var(--text-primary);
    border-color: var(--brand-cyan);
}

.ui-viewport {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #080a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-viewport img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.18s ease;
}

.ui-caption-bar {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-cyan);
}

.ui-caption-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ui-caption-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 5.25rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.section-alt {
    background: linear-gradient(180deg, rgba(12, 16, 24, 0.65) 0%, rgba(7, 9, 14, 0.95) 100%);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-lead {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==========================================================================
   MULTI-ENGINE AUDIO SHOWCASE PLAYER
   ========================================================================== */
.audio-showcase-card {
    background: var(--bg-chassis);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-chassis);
}

.player-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.track-meta h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.track-meta p {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.video-showcase-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #05070b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.video-showcase-stage video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-chapter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.65rem 1rem;
    background: var(--bg-panel);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-pink);
    font-size: 0.82rem;
}

.cue-active-label {
    color: var(--brand-cyan-bright);
    font-weight: 600;
}

.player-controls-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.play-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    background-origin: border-box;
    border: none;
    color: #07090e;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(252, 114, 164, 0.28);
    transition: var(--transition);
}

.play-btn-circle:hover {
    transform: scale(1.05);
}

.timeline-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.seek-slider {
    width: 100%;
    accent-color: var(--brand-cyan);
    cursor: pointer;
}

.time-readout {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.cue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.65rem;
}

.cue-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.cue-card:hover, .cue-card.active {
    border-color: var(--brand-pink);
    background: rgba(252, 114, 164, 0.08);
}

.cue-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-cyan);
    display: block;
    margin-bottom: 0.15rem;
}

.cue-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.cue-stems {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   ARCHITECTURE & 6 ENGINE CARDS
   ========================================================================== */
.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.35rem;
}

.engine-card {
    background: var(--grad-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.engine-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--grad-brand));
}

.engine-card:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.28);
}

.engine-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.engine-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.engine-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.engine-list li {
    font-size: 0.84rem;
    color: #cbd5e1;
    padding-left: 1.1rem;
    position: relative;
}

.engine-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--brand-pink);
}

/* ==========================================================================
   LIVE WEB SYNTHESIS PERFORMANCE DECK
   ========================================================================== */
.web-deck-chassis {
    background: linear-gradient(180deg, #131824 0%, #0b0e16 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-chassis);
}

.web-deck-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.web-deck-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.led-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
    transition: all 0.08s ease;
}

.led-dot.active {
    background: var(--brand-emerald);
    box-shadow: 0 0 12px var(--brand-emerald);
}

.web-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.deck-module {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.module-title {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-cyan);
    margin-bottom: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-title.pink { color: var(--brand-pink); }
.module-title.amber { color: var(--brand-amber); }

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.control-row input[type="range"] {
    flex: 1;
    accent-color: var(--brand-cyan);
    cursor: pointer;
}

.control-row select {
    background: #090c12;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.chord-pad-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chord-pad {
    background: rgba(23, 31, 47, 0.9);
    border: 1px solid rgba(176, 108, 246, 0.28);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    user-select: none;
}

.chord-pad span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.chord-pad:hover, .chord-pad.playing {
    background: rgba(252, 114, 164, 0.2);
    border-color: var(--brand-pink);
}

.piano-bed {
    display: flex;
    height: 110px;
    gap: 3px;
    user-select: none;
}

.piano-key {
    flex: 1;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 0 0 5px 5px;
    border: 1px solid #090d16;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 8px;
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.06s ease, transform 0.06s ease;
}

.piano-key.black {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #94a3b8;
    height: 70%;
    margin: 0 -1.2%;
    z-index: 2;
    border-color: #334155;
}

.piano-key.active {
    background: var(--grad-brand);
    color: #07090e;
    transform: translateY(2px);
}

/* ==========================================================================
   BRAND & 'C' ICON CUT-LINE EXPLORER
   ========================================================================== */
.brand-synergy-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.synergy-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
}

.synergy-card:hover, .synergy-card.active {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.synergy-logo-stage {
    height: 92px;
    background: #07090e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    gap: 0.85rem;
}

/* ==========================================================================
   COMMERCIAL PURCHASE, TRIAL & SPECS
   ========================================================================== */
.commerce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-chassis);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.pricing-card.featured {
    border-color: rgba(252, 114, 164, 0.42);
    box-shadow: 0 24px 60px rgba(252, 114, 164, 0.1);
}

.price-tag {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin: 0.5rem 0;
}

.price-tag span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2.5rem;
    background: var(--bg-chassis);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.specs-table th, .specs-table td {
    padding: 1rem 1.35rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.specs-table th {
    width: 28%;
    color: var(--brand-cyan);
    font-weight: 700;
    background: rgba(18, 24, 36, 0.6);
}

.specs-table td {
    color: #cbd5e1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 3.5rem 0 2.75rem;
    border-top: 1px solid var(--border-subtle);
    background: #05070b;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--brand-cyan);
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-chassis);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .main-nav.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
    .charisma-hero-icon {
        height: 46px;
    }
    .charisma-hero-wordmark {
        height: 48px;
    }
}
