/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    /* Color Palette — Internalium premium identity (violet/indigo + champagne gold).
       Deliberately distinct from Local Agent's developer cyan-teal. */
    --color-bg: #08090f;
    --color-bg-alt: #0d0e17;
    --color-card-bg: rgba(22, 20, 38, 0.55);
    --color-text: #e7e9f3;
    --color-text-muted: #9aa0b8;

    --color-primary: #7c6cff;      /* Violet-indigo — Internalium brand accent */
    --color-secondary: #a855f7;    /* Purple */
    --color-accent: #60a5fa;       /* Blue — reserved for the cloud side of the privacy diagram */
    --color-gold: #d9b25f;         /* Champagne gold — premium commercial highlights */
    --color-success: #10b981;      /* Emerald Green */

    --grad-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --grad-glow: radial-gradient(circle, rgba(124, 108, 255, 0.14) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 100%);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Transitions & Shadow */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.pc-only {
    display: inline;
}

/* Language Filter Rules */
body[lang="ja"] [lang="en"] {
    display: none !important;
}
body[lang="en"] [lang="ja"] {
    display: none !important;
}


.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 108, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 108, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
}

.btn.disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(217, 178, 95, 0.08);
    border: 1px solid rgba(217, 178, 95, 0.28);
    color: var(--color-gold);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 9, 15, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-container {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-icon-container {
    transform: scale(1.08) rotate(15deg);
}

.logo-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-svg__line {
    stroke: var(--color-text-muted);
    opacity: 0.3;
}

.logo-svg__outer {
    stroke: var(--color-primary);
    opacity: 0.85;
    transition: stroke 0.3s ease;
}

.logo-svg__inner {
    stroke: var(--color-text-muted);
    transform-origin: center;
    animation: logo-spin 20s linear infinite;
}

.logo-svg__core {
    fill: var(--color-gold);
    transform-origin: center;
    animation: logo-pulse 2.5s ease-in-out infinite;
}

@keyframes logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-text);
}

.logo-text .accent-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer Specific Logo Adjustments */
.footer-logo-icon {
    width: 22px;
    height: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

.github-nav-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    gap: 0.4rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.lang-btn.active {
    color: var(--color-primary);
    background: rgba(124, 108, 255, 0.15);
    text-shadow: 0 0 10px rgba(124, 108, 255, 0.3);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    user-select: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: var(--grad-glow);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3.5rem;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title span[lang="ja"] {
    font-size: 0.82em;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin-top: 4.5rem;
}

.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* 左右・下部を背景色（--color-bg）へフェードアウトさせるグラデーションマスク */
.hero-illustration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        linear-gradient(to right, var(--color-bg) 0%, transparent 12%, transparent 88%, var(--color-bg) 100%),
        linear-gradient(to bottom, transparent 80%, var(--color-bg) 100%);
}

.hero-illustration img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-illustration:hover img {
    transform: scale(1.03);
}

.terminal-demo {
    width: 100%;
    max-width: 480px;
    background: #050608;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 108, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: float 6s ease-in-out infinite;
}

.terminal-demo .terminal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-demo .terminal-body {
    padding: 1.5rem;
    color: #cbd5e1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.terminal-demo .line {
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.terminal-demo .line-break {
    height: 0.75rem;
}

.demo-time {
    color: #64748b;
}

.demo-info {
    color: #10b981;
    font-weight: bold;
}

.demo-app {
    color: #3b82f6;
    font-weight: bold;
}

.demo-title {
    color: #e2e8f0;
}

.demo-url {
    color: #06b6d4;
    text-decoration: underline;
}

.demo-tag {
    color: #a855f7;
    font-weight: bold;
}

/* typing animation for demo */
.animated-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--color-primary);
    animation: typing 6s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
    max-width: fit-content;
}

@keyframes typing {
    0%, 90%, 100% { width: 0 }
    30%, 80% { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--color-primary); }
}

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

/* ==========================================================================
   Section Layout & Features
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 108, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 108, 255, 0.3);
    box-shadow: 0 20px 40px -15px rgba(124, 108, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(124, 108, 255, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 108, 255, 0.2);
}

.feature-icon {
    width: 26px;
    height: 26px;
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   How It Works (Workflow Steps)
   ========================================================================== */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.step-card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    flex: 1;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
    position: relative;
}

.step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.step-arrow {
    color: var(--color-primary);
    opacity: 0.5;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Quick Start & Terminal UI
   ========================================================================== */
.setup-steps {
    max-width: 800px;
    margin: 0 auto;
}

.setup-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.setup-step:last-child {
    margin-bottom: 0;
}

.setup-num-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(124, 108, 255, 0.3);
}

.setup-detail {
    flex-grow: 1;
}

.setup-detail h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.setup-detail p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.setup-list {
    margin-left: 1.5rem;
    color: var(--color-text-muted);
}

.setup-list li {
    margin-bottom: 0.75rem;
}

.setup-list a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Terminal Styling */
.terminal-window {
    background: #050608;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-family: var(--font-sans);
    margin-left: 10px;
}

.copy-btn {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-glass);
    color: var(--color-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.copy-btn.copied {
    background: var(--color-success);
    color: white;
}

.terminal-window pre {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
    color: #e2e8f0;
}

.prompt {
    color: var(--color-primary);
    user-select: none;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: #040507;
    border-top: var(--border-glass);
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
}

.footer-brand .logo-text {
    font-size: 1.15rem;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Architecture Diagram Section
   ========================================================================== */
.architecture-diagram-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Local Device Boundary Box */
.local-boundary {
    background: rgba(124, 108, 255, 0.015);
    border: 1px dashed rgba(124, 108, 255, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 0 40px rgba(124, 108, 255, 0.03);
}

.boundary-label {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--color-bg-alt); /* matches section-alt background */
    border: 1px solid rgba(124, 108, 255, 0.35);
    color: var(--color-primary);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boundary-label.danger {
    border-color: rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

/* Architecture Horizontal Flow */
.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.arch-node-group {
    flex: 1;
    min-width: 0;
}

.arch-node {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.arch-node:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 108, 255, 0.3);
}

.arch-node-group.highlight .arch-node {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.15), var(--shadow-premium);
    background: linear-gradient(180deg, rgba(20, 22, 35, 0.5) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.arch-node-group.highlight .arch-node:hover {
    border-color: var(--color-secondary);
}

.node-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0.8;
}

.arch-node-group.highlight .node-num {
    color: var(--color-secondary);
}

.node-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.node-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Connectors */
.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    color: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.connector-line-svg {
    width: 100%;
    height: auto;
}

/* Bridge Flow (Connecting Local & Cloud) */
.bridge-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.bridge-line {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.bridge-arrow-svg {
    height: 90px;
    width: auto;
}

.bridge-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    max-width: 280px;
    text-align: center;
}

.bridge-badge.danger {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.bridge-badge.success {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #a7f3d0;
}

/* Cloud Boundary Box */
.cloud-boundary {
    background: rgba(59, 130, 246, 0.015);
    border: 1px dashed rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.03);
}

.boundary-label.info {
    border-color: rgba(59, 130, 246, 0.35);
    color: var(--color-accent);
}

.cloud-status {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.status-shield.info {
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.icon-chat {
    color: var(--color-accent);
}

/* ==========================================================================
   Commercial Identity Additions (eyebrow, CTA, hero insight card)
   ========================================================================== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.9rem;
}

.nav-cta {
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

/* Hero insight card (replaces the developer terminal for a commercial feel) */
.insight-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(26, 23, 46, 0.85) 0%, rgba(14, 13, 26, 0.9) 100%);
    border: var(--border-glass);
    border-radius: 18px;
    padding: 1.6rem 1.6rem 1.4rem;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 108, 255, 0.08);
    backdrop-filter: blur(14px);
    animation: float 6s ease-in-out infinite;
}

.insight-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.insight-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--color-text);
    white-space: nowrap;
    flex-shrink: 0;
}

.insight-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(217, 178, 95, 0.1);
    border: 1px solid rgba(217, 178, 95, 0.3);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.insight-chip svg {
    width: 12px;
    height: 12px;
}

.insight-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.insight-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.insight-label {
    font-size: 0.85rem;
    color: var(--color-text);
}

.insight-pct {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.insight-track {
    height: 7px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.insight-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--grad-primary);
}

.insight-card__foot {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.insight-card__foot svg {
    width: 14px;
    height: 14px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* Early-access CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-glow);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.cta-sub {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
}

.cta-note {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cta-note svg {
    width: 14px;
    height: 14px;
    color: var(--color-success);
}

/* ==========================================================================
   Privacy Gate diagram (device → boundary membrane → cloud)
   Distinct composition from Local Agent's stacked local/bridge/cloud figure.
   ========================================================================== */
.privacy-gate {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 240px) 1fr;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pg-zone {
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pg-device {
    background: rgba(124, 108, 255, 0.02);
    border: 1px dashed rgba(124, 108, 255, 0.3);
    box-shadow: 0 0 40px rgba(124, 108, 255, 0.04);
}

.pg-cloud {
    background: rgba(96, 165, 250, 0.02);
    border: 1px dashed rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.04);
}

.pg-zone__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pg-zone__label svg {
    width: 16px;
    height: 16px;
}

.pg-zone__label--cloud {
    color: var(--color-accent);
}

/* Device: vertical timeline with a spine */
.pg-steps {
    list-style: none;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding-left: 1.75rem;
}

.pg-steps::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, rgba(124, 108, 255, 0.5), rgba(124, 108, 255, 0.08));
}

.pg-step {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: baseline;
}

.pg-step::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.08);
}

.pg-step--highlight::before {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18), 0 0 16px rgba(168, 85, 247, 0.4);
}

.pg-step__num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.7;
    flex-shrink: 0;
}

.pg-step--highlight .pg-step__num {
    color: var(--color-secondary);
    opacity: 1;
}

.pg-step__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pg-step__title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-text);
}

.pg-step__desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Membrane: a vertical dashed barrier with two flow verdicts */
.pg-membrane {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
}

.pg-membrane::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    border-left: 2px dashed rgba(255, 255, 255, 0.18);
}

.pg-membrane__label {
    position: relative;
    z-index: 1;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border: var(--border-glass);
    border-radius: 50px;
}

.pg-gateflow {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.pg-gateflow__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.pg-gateflow--blocked {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.pg-gateflow--blocked .pg-gateflow__icon {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.pg-gateflow--pass {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.pg-gateflow--pass .pg-gateflow__icon {
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

/* Cloud card */
.pg-cloud__card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 14px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pg-cloud__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pg-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-accent);
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.pg-cloud__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Early Access form page
   ========================================================================== */
.ea-wrap {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 70vh;
}

.ea-container {
    max-width: 640px;
}

.ea-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ea-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ea-lead {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.ea-card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 18px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
}

.ea-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.ea-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ea-field label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.ea-req {
    color: var(--color-gold);
}

.ea-field input,
.ea-field select,
.ea-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.ea-field textarea {
    resize: vertical;
    min-height: 96px;
}

.ea-field select {
    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='%239aa0b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.ea-field input::placeholder,
.ea-field textarea::placeholder {
    color: rgba(154, 160, 184, 0.5);
}

.ea-field input:focus,
.ea-field select:focus,
.ea-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.15);
}

.ea-error {
    color: #fca5a5;
    font-size: 0.85rem;
    margin-top: -0.4rem;
}

.ea-submit {
    width: 100%;
    margin-top: 0.4rem;
}

.ea-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.ea-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--color-primary);
}

/* Success state */
.ea-success {
    text-align: center;
    padding: 1rem 0;
}

.ea-success__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ea-success__icon svg {
    width: 28px;
    height: 28px;
}

.ea-success__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ea-success__desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.ea-success__mail {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(124, 108, 255, 0.4);
    padding-bottom: 1px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .pc-only {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .ea-title {
        font-size: 2.2rem;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Privacy Gate stacks vertically; membrane line turns horizontal */
    .privacy-gate {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .pg-membrane {
        padding: 0.5rem 0;
    }

    .pg-membrane::before {
        top: 50%;
        bottom: auto;
        left: 8px;
        right: 8px;
        width: auto;
        transform: translateY(-50%);
        border-left: none;
        border-top: 2px dashed rgba(255, 255, 255, 0.18);
    }

    .pg-gateflow {
        max-width: 320px;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
    
    .step-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none; /* Mobile menu implementation if needed */
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
        align-self: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }

    .ea-title {
        font-size: 1.9rem;
    }

    .ea-card {
        padding: 1.75rem 1.35rem;
    }

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

    .setup-step {
        flex-direction: column;
        gap: 1rem;
    }

    .setup-num-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Mobile Architecture Flow */
    .architecture-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .arch-node-group {
        width: 100%;
    }

    .arch-connector {
        transform: rotate(90deg);
        padding: 0.25rem 0;
        width: 24px;
        margin: 0 auto;
    }

    .bridge-line {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .bridge-arrow-svg {
        height: 60px;
    }

    .bridge-badge {
        max-width: 100%;
        width: 100%;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .cloud-status {
        padding: 0;
    }

    .status-shield.info {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        text-align: center;
    }
}

/* ==========================================================================
   New Sections: Personas, Pricing, & Specs
   ========================================================================== */

/* Personas Section */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.persona-card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: var(--transition-smooth);
}

.persona-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px -5px rgba(124, 108, 255, 0.25);
}

.persona-card:hover::before {
    background: var(--grad-primary);
}

.persona-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.persona-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.persona-icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

.avatar-stoic { background: linear-gradient(135deg, #4b5563 0%, #1f2937 100%); }
.avatar-zen { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.avatar-architect { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
.avatar-empath { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

.persona-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.persona-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(124, 108, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.persona-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.persona-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--color-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 0 6px 6px 0;
    text-align: left;
    width: 100%;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0 auto;
}

.pricing-card {
    background: var(--color-card-bg);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.pricing-card--popular {
    border: 2px solid var(--color-gold);
    box-shadow: 0 15px 35px -10px rgba(217, 178, 95, 0.15);
}

.pricing-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-gold);
    color: #08090f;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.pricing-price--discounted {
    color: var(--color-gold);
}

.pricing-price-original {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--color-text-muted);
    margin-left: 0.75rem;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
    min-height: 4.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.pricing-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-feature-item.muted {
    color: var(--color-text-muted);
}

.pricing-feature-item.muted svg {
    color: var(--color-text-muted);
}

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

/* Specs & Platform Section */
.specs-section {
    padding-top: 1rem;
    margin-top: 1rem;
}

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

.spec-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.spec-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--color-primary);
}

.spec-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spec-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* B2B Trust Info banner */
.b2b-banner {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(124, 108, 255, 0.05) 0%, rgba(217, 178, 95, 0.05) 100%);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-premium);
}

.b2b-badge {
    background: rgba(217, 178, 95, 0.1);
    border: 1px solid rgba(217, 178, 95, 0.3);
    color: var(--color-gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.b2b-content {
    flex-grow: 1;
}

.b2b-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.b2b-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.b2b-icon {
    width: 64px;
    height: 64px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Responsive Overrides for New Components */
@media (max-width: 992px) {
    .personas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .personas-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .b2b-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }
}

/* Dashboard Mockup Frame */
.db-mockup-frame {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 108, 255, 0.15);
    margin-top: 3rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.db-mockup-header {
    background: #111827;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.db-mockup-dots {
    display: flex;
    gap: 6px;
}

.db-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.db-mockup-dots span:nth-child(1) { background: #ef4444; }
.db-mockup-dots span:nth-child(2) { background: #f59e0b; }
.db-mockup-dots span:nth-child(3) { background: #10b981; }

.db-mockup-title-bar {
    font-family: 'Fira Code', monospace;
    opacity: 0.7;
    letter-spacing: 0.02em;
    flex-grow: 1;
    text-align: center;
    padding-right: 30px; /* offset to keep center */
}

.db-mockup-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.db-mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.db-mockup-row {
    display: flex;
    gap: 2rem;
}

.db-mockup-col {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
}

.db-col-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    opacity: 0.9;
}

/* Targets Column */
.db-mockup-targets {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.db-target-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.75rem;
}

.db-target-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.target-bullet {
    color: var(--color-primary);
    margin-right: 8px;
}

.target-text {
    flex-grow: 1;
    color: var(--color-text);
    font-weight: 500;
}

.target-progress {
    font-size: 0.75rem;
    background: rgba(124, 108, 255, 0.15);
    border: 1px solid rgba(124, 108, 255, 0.3);
    color: #9f92ff;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Alignment Column */
.db-align-metrics {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.db-align-chart {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.donut-chart-svg {
    transform: rotate(-90deg);
}

.db-align-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

.db-align-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.db-stat-box {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.4rem;
}

.db-stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.db-stat-val {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

.db-stat-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Timeline Cards */
.db-timeline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.db-time-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.db-time-card.active {
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 20px -5px rgba(16, 185, 129, 0.1);
}

.db-time-card.warning {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 20px -5px rgba(239, 68, 68, 0.1);
}

.db-card-time {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.db-card-app {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
}

.db-card-bar {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    width: 80%;
    position: relative;
    overflow: hidden;
}

.db-time-card.active .db-card-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #10b981;
}

.db-time-card.warning .db-card-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background: #ef4444;
}

.db-card-pct {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 600;
}

.db-time-card.active .db-card-pct { color: #10b981; }
.db-time-card.warning .db-card-pct { color: #ef4444; }

/* Responsive adjustments for Dashboard Mockup */
@media (max-width: 992px) {
    .db-mockup-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .db-timeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .db-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .db-align-metrics {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .db-mockup-body {
        padding: 1.25rem;
    }
}
