/* ==========================================================================
   Sednium Oorty — Editorial AI Design System
   Milk White (#FDFBF7) • Burnt Orange (#EC5E27) • Dark Charcoal (#222222)
   ========================================================================== */

:root {
    --bg-primary: #FDFBF7;
    --bg-secondary: #F6F3EC;
    --bg-card: #FFFFFF;
    --bg-card-alt: #FAFAFA;
    --bg-dark: #1E1E1E;
    
    --color-orange: #EC5E27;
    --color-orange-hover: #D94D18;
    --color-orange-glow: rgba(236, 94, 39, 0.15);
    --color-orange-subtle: rgba(236, 94, 39, 0.08);

    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #78716C;
    --text-light: #FDFBF7;

    --border-color: #E7E5E4;
    --border-orange: rgba(236, 94, 39, 0.35);

    --color-green: #10B981;
    --color-green-glow: rgba(16, 185, 129, 0.15);
    --color-amber: #F59E0B;
    --color-red: #EF4444;

    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
    --shadow-orange: 0 8px 24px rgba(236, 94, 39, 0.25);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-orange);
    color: white;
    padding: 8px;
    z-index: 1000;
}
.skip-link:focus {
    top: 0;
}

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

/* ==========================================================================
   Typography & Shared Elements
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-orange);
    background: var(--color-orange-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-orange);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-orange);
    color: white;
    box-shadow: 0 4px 14px rgba(236, 94, 39, 0.3);
}

.btn-primary:hover {
    background: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 94, 39, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: var(--color-orange-subtle);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.6);
    transition: all var(--transition-normal);
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.98);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-orange);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--color-orange-subtle);
    color: var(--color-orange);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-orange);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.github-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.github-link:hover {
    color: var(--color-orange);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section & Side-by-Side Phone Simulator
   ========================================================================== */

.hero {
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background: radial-gradient(circle at 20% 30%, rgba(236, 94, 39, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(236, 94, 39, 0.05) 0%, transparent 40%);
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3.6rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.highlight {
    color: var(--color-orange);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-orange);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Smartphone Device Mockup & Simulator
   ========================================================================== */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 100%;
    max-width: 380px;
    background: #18181B;
    border-radius: 40px;
    padding: 10px;
    border: 4px solid #27272A;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0 auto;
}

.phone-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #09090B;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.camera-lens {
    width: 8px;
    height: 8px;
    background: #1E1E24;
    border-radius: 50%;
    border: 1px solid #3F3F46;
}

.speaker-pill {
    width: 24px;
    height: 3px;
    background: #27272A;
    border-radius: 2px;
}

.phone-screen {
    background: #0F0F11;
    border-radius: 32px;
    padding: 24px 14px 14px;
    color: #FAFAFA;
    display: flex;
    flex-direction: column;
    height: 520px;
    overflow: hidden;
    position: relative;
}

/* Phone Status Bar */
.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #A1A1AA;
    padding: 0 6px 8px;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Phone App Bar */
.phone-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #18181B;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid #27272A;
}

.app-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-bar-avatar {
    border-radius: 6px;
}

.app-bar-meta {
    display: flex;
    flex-direction: column;
}

.app-bar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.app-bar-sub {
    font-size: 0.68rem;
    color: var(--color-orange);
    font-family: var(--font-mono);
}

.app-bar-pill {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-green);
    padding: 3px 8px;
    border-radius: 20px;
}

/* Mode Tabs inside Phone */
.demo-tabs.in-phone {
    display: flex;
    background: #18181B;
    border-radius: 10px;
    padding: 3px;
    gap: 4px;
    margin-bottom: 8px;
    border: 1px solid #27272A;
}

.demo-tabs.in-phone .demo-tab {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    padding: 5px 0;
    border-radius: 6px;
    color: #A1A1AA;
}

.demo-tabs.in-phone .demo-tab.active {
    background: var(--color-orange);
    color: white;
}

/* Views inside Phone */
.demo-view {
    display: none;
    flex: 1;
    overflow-y: auto;
}

.demo-view.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
}

.phone-chat-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.phone-chat-scroll .user-msg .msg-bubble {
    background: var(--color-orange);
    color: white;
    font-size: 0.82rem;
    padding: 8px 12px;
    border-radius: 12px 12px 2px 12px;
    align-self: flex-end;
    max-width: 85%;
}

.phone-chat-scroll .bot-msg .code-bubble {
    background: #18181B;
    border-radius: 12px;
    border: 1px solid #27272A;
    overflow: hidden;
    font-size: 0.78rem;
}

.phone-chat-scroll .code-top {
    display: flex;
    justify-content: space-between;
    background: #111827;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: #9CA3AF;
}

.phone-chat-scroll pre {
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #D1D5DB;
    overflow-x: auto;
}

.phone-telemetry-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #9CA3AF;
    background: #18181B;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 6px 0;
}

.vault-tick {
    color: var(--color-green);
    font-weight: 700;
}

/* Obsidian inside Phone */
.phone-markdown-box pre {
    background: #18181B;
    padding: 10px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #D4D4D8;
    line-height: 1.4;
    border: 1px solid #27272A;
}

/* Terminal inside Phone */
.phone-terminal-box {
    background: #09090B;
    padding: 10px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #27272A;
}

/* Cloud Grid inside Phone */
.phone-cloud-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.cloud-mini-card {
    background: #18181B;
    border: 1px solid #27272A;
    padding: 10px 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
}

.cloud-mini-card.active {
    border-color: var(--color-orange);
    background: rgba(236, 94, 39, 0.15);
}

.cloud-mini-card strong {
    color: white;
}

.cloud-mini-card span {
    color: #9CA3AF;
    font-size: 0.65rem;
    margin-top: 2px;
}

/* Phone Composer */
.phone-composer {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #18181B;
    border: 1px solid #27272A;
    padding: 6px 10px;
    border-radius: 20px;
    margin-top: 6px;
}

.composer-icon, .composer-mic {
    font-size: 0.85rem;
    color: #9CA3AF;
    cursor: pointer;
}

.composer-input {
    flex: 1;
    font-size: 0.72rem;
    color: #71717A;
}

.composer-send {
    width: 24px;
    height: 24px;
    background: var(--color-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
}

.demo-msg.user-msg {
    flex-direction: row-reverse;
}

.demo-msg .avatar {
    font-size: 1.4rem;
}

.msg-bubble {
    background: var(--bg-secondary);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    max-width: 80%;
}

.user-msg .msg-bubble {
    background: var(--color-orange);
    color: white;
}

.code-bubble {
    width: 100%;
    max-width: 100%;
    background: var(--bg-dark);
    color: #E5E7EB;
    padding: 0;
    overflow: hidden;
}

.code-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111827;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: #9CA3AF;
}

.badge-safe {
    color: var(--color-green);
    font-weight: 700;
}

.code-bubble pre {
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-x: auto;
}

.demo-footer-telemetry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.telemetry-label {
    color: var(--text-muted);
    font-weight: 600;
}

.progress-bar-wrap {
    width: 80px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--color-green);
}

.badge-limited {
    background: var(--color-orange-subtle);
    color: var(--color-orange);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Markdown Viewer Tab */
.demo-markdown-viewer pre {
    background: #18181B;
    color: #FAFAFA;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-x: auto;
}

.yaml-key { color: #F59E0B; }
.yaml-val { color: #60A5FA; }
.md-h1 { color: #EC5E27; font-weight: bold; }
.md-h2 { color: #34D399; }

/* Terminal Tab */
.demo-terminal {
    background: #09090B;
    color: #A1A1AA;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.term-prompt { color: var(--color-green); font-weight: bold; }
.term-cmd { color: #FAFAFA; }
.term-tool { color: #F59E0B; }
.term-tool-name { color: #60A5FA; }
.term-success { color: var(--color-green); font-weight: bold; }
.term-res { color: #E4E4E7; border-left: 2px solid var(--color-orange); padding-left: 8px; margin-top: 4px; }
.term-dim { color: #71717A; font-size: 0.8rem; }

/* Cloud Grid Tab */
.demo-cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.cloud-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cloud-card.active, .cloud-card:hover {
    border-color: var(--color-orange);
    background: var(--color-orange-subtle);
}

.cloud-title { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.cloud-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ==========================================================================
   Providers Banner
   ========================================================================== */

.providers {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.providers-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.providers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.provider-item {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Hardware RAM Calculator
   ========================================================================== */

.ram-calculator-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ram-calc-widget {
    max-width: 680px;
    margin: 0 auto;
}

.ram-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.ram-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ram-btn.active, .ram-btn:hover {
    background: var(--color-orange);
    color: white;
    border-color: var(--color-orange);
}

.ram-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.ram-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.ram-model-name {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.ram-quant-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fit-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.fit-comfortable {
    background: var(--color-green-glow);
    color: var(--color-green);
}

.ram-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.ram-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.spec-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.spec-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ==========================================================================
   Obsidian Section
   ========================================================================== */

.obsidian-section {
    padding: 100px 0;
}

.obsidian-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.obsidian-text h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.obsidian-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.obsidian-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.obsidian-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.obsidian-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

.obsidian-card {
    background: #18181B;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #27272A;
}

.obsidian-card-top {
    background: #09090B;
    color: #A1A1AA;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.obsidian-preview-content {
    padding: 20px;
}

.obsidian-file-tree {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #D4D4D8;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tree-item.child { padding-left: 18px; color: #A1A1AA; }
.tree-item.grand { padding-left: 36px; color: #71717A; }
.tree-item.grand.active { color: var(--color-orange); font-weight: 700; }

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-search-wrap {
    max-width: 680px;
    margin: 0 auto 32px;
}

#faqSearch {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    box-shadow: var(--shadow-sm);
}

#faqSearch:focus {
    border-color: var(--color-orange);
}

.faq-accordion {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item[open] {
    border-color: var(--border-orange);
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.3rem;
    color: var(--color-orange);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   CTA & Footer
   ========================================================================== */

.cta {
    padding: 100px 0;
    background: var(--color-orange);
    color: white;
    text-align: center;
}

.cta-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0.95;
}

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

.cta .btn-primary {
    background: white;
    color: var(--color-orange);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta .btn-primary:hover {
    background: #FDFBF7;
    color: var(--color-orange-hover);
}

.cta .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.cta .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-tagline {
    font-size: 0.88rem;
    margin-top: 10px;
    max-width: 320px;
}

.footer-links-group {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: #9CA3AF;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
    .hero-grid-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .obsidian-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .ram-buttons { grid-template-columns: 1fr 1fr; }
    .ram-specs-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
