/* =========================
   Fonts
   ========================= */

/* Tech/Modern options */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@800&display=swap');

/* Display/Character options */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

/* Try these in h1:
   - 'Orbitron', monospace (current - geometric tech)
   - 'Space Grotesk', sans-serif (modern, slightly quirky)
   - 'IBM Plex Mono', monospace (IBM's classic mono)
   - 'JetBrains Mono', monospace (developer favorite)
   - 'Bebas Neue', sans-serif (tall, condensed, punchy)
   - 'Archivo Black', sans-serif (bold, confident)
   - 'Anton', sans-serif (impact, strong)
   - 'Righteous', sans-serif (retro-futuristic)
   - 'Futura', 'Futura PT', sans-serif (system font fallback)
*/

/* =========================
   CSS Reset & Base Styles
   ========================= */

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

:root {
    /* Fixed colors - never change */
    --orange-primary: #ff5414;
    --orange-hover: #ff6633;
    --deep-dark: #0f0f0f;
    --cream: #faf8f5;
    --deep-brown: #4a1a0a;
    --pure-white: #ffffff;
    --blue-accent: #00a9ff;
    --green-accent: #00d084;
    --magenta-accent: #d946ef;

    /* Themeable colors - default to light theme */
    --bg: var(--cream);
    --text-primary: var(--deep-brown);
    --text-secondary: rgba(74, 26, 10, 0.7);
    --text-tertiary: rgba(74, 26, 10, 0.5);
    --card-bg: rgba(0, 0, 0, 0.03);
    --card-text: var(--deep-brown);
    --card-text-secondary: rgba(74, 26, 10, 0.7);
    --border: rgba(74, 26, 10, 0.1);
}

/* Dark Theme */
body.theme-dark {
    --bg: var(--deep-dark);
    --text-primary: var(--pure-white);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-text: var(--pure-white);
    --card-text-secondary: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.1);
}

/* Orange Theme */
body.theme-orange {
    --bg: var(--orange-primary);
    --text-primary: var(--pure-white);
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: rgba(255, 255, 255, 0.7);
    --card-bg: var(--cream);
    --card-text: var(--deep-brown);
    --card-text-secondary: rgba(74, 26, 10, 0.7);
    --border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
}

code, .monospace {
    font-family: "SF Mono", "Monaco", "Menlo", "Courier New", monospace;
    font-size: 0.95em;
}

/* =========================
   Mock macOS Menu Bar
   ========================= */

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.menu-bar > ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 16px;
}

.menu-bar li {
    position: relative;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.menu-bar li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-bar li a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
}

.menu-bar li.icon {
    padding: 2px 6px;
}

.menu-bar li.icon.active svg {
    color: var(--orange-primary);
}

.menu-bar li.icon svg {
    display: block;
    opacity: 0.85;
}

.menu-bar li.apple-logo {
    margin-right: 8px;
}

/* Dropdown menu */
.dropdown-container {
    position: relative;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: rgba(30, 30, 35, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 180px;
    padding: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    list-style: none;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Theme switcher dropdown stays on the right */
#theme-switcher .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s;
    white-space: nowrap;
    text-align: left;
}

.dropdown-menu li a:hover {
    background: rgba(255, 84, 20, 0.15);
}

.dropdown-menu li.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dropdown-menu li.disabled:hover {
    background: transparent;
}

.dropdown-menu li.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 8px;
    padding: 0;
    cursor: default;
}

.dropdown-menu li.divider:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Clock */
#clock {
    font-variant-numeric: tabular-nums;
    opacity: 0.9;
    font-size: 12px;
}

/* =========================
   Hero Section
   ========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 2rem 4rem;
    background: var(--bg);
    transition: background 0.3s ease;
}

.hero-content {
    max-width: 900px;
}

.logo {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-hover) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 84, 20, 0.3);
    animation: float 3s ease-in-out infinite;
}

.logo svg {
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

/* Pricing */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.price-strikethrough {
    position: relative;
    color: var(--text-tertiary);
    font-weight: 200;
    opacity: 0.6;
}

.strike-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.strike-svg path {
    stroke: var(--text-tertiary);
    stroke-width: 1.5;
    fill: none;
    opacity: 0.8;
}

.price-free {
    color: var(--orange-primary);
}

body.theme-orange .price-free {
    color: white;
}

.price-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* CTA Buttons */
.download-btn {
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: var(--orange-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: lowercase;
    box-shadow: 0 4px 16px rgba(255, 84, 20, 0.25), 0 2px 8px rgba(255, 84, 20, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 3px 3px;
    background-position: 0 0, 1.5px 1.5px;
    opacity: 0.7;
    pointer-events: none;
}

.download-btn:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 102, 51, 0.35), 0 3px 12px rgba(255, 84, 20, 0.2);
}

.download-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Waitlist Section */
.post-animation-content {
    width: 100%;
    max-width: 500px;
}

.waitlist-section {
    margin: 0 auto;
}

.newsletter-form-container {
    width: 100%;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.newsletter-form-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form-input:focus {
    outline: none;
    border-color: var(--orange-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form-input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-form-button {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--orange-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    white-space: nowrap;
}

.newsletter-form-button:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.newsletter-loading-button {
    display: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--text-tertiary);
    border: none;
    border-radius: 50px;
    cursor: not-allowed;
    text-transform: lowercase;
}

.newsletter-success,
.newsletter-error {
    display: none;
    margin-top: 1rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
}

.newsletter-success {
    background: rgba(0, 208, 132, 0.1);
    border: 1px solid rgba(0, 208, 132, 0.3);
}

.newsletter-success-message {
    color: var(--green-accent);
}

.newsletter-error {
    background: rgba(255, 84, 20, 0.1);
    border: 1px solid rgba(255, 84, 20, 0.3);
}

.newsletter-error-message {
    color: var(--orange-primary);
}

.system-req {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.demo-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* =========================
   Problem/Solution Section
   ========================= */

.problem-solution {
    padding: 6rem 2rem;
    background: var(--cream);
    transition: background 0.3s ease;
}

/* Dark theme uses dark background */
body.theme-dark .problem-solution {
    background: var(--deep-dark);
}

/* Orange theme uses cream (keeps contrast) */
body.theme-orange .problem-solution {
    background: var(--cream);
}

.problem-solution-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
}

.problem-container,
.solution-container {
    flex: 1;
    position: relative;
    overflow: visible;
}

.problem-side h3,
.solution-side h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-brown);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    align-self: center;
    text-align: center;
}

body.theme-dark .problem-side h3,
body.theme-dark .solution-side h3 {
    color: var(--pure-white);
}

.problem-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.problem-side .workflow-diagram {
    align-self: center;
    justify-content: center;
}

.problem-side h3 {
    transform: translateX(-8px);
}

.workflow-diagram {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step {
    padding: 12px 20px;
    background: rgba(74, 26, 10, 0.03);
    border: 2px dashed rgba(74, 26, 10, 0.25);
    border-radius: 8px;
    color: var(--deep-brown);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.step:hover {
    background: rgba(74, 26, 10, 0.06);
    border-color: rgba(74, 26, 10, 0.35);
}

body.theme-dark .step {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

body.theme-dark .step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.arrow {
    color: var(--deep-brown);
    opacity: 0.3;
    font-weight: 200;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

body.theme-dark .arrow {
    color: var(--pure-white);
}

.workflow-diagram-simple {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-simple {
    padding: 16px 28px;
    background: rgba(74, 26, 10, 0.05);
    border: 2px solid rgba(74, 26, 10, 0.1);
    border-radius: 12px;
    color: var(--deep-brown);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-simple.highlight {
    background: rgba(255, 84, 20, 0.1);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    font-weight: 700;
}

body.theme-dark .step-simple {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

body.theme-dark .step-simple.highlight {
    background: rgba(255, 84, 20, 0.15);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.arrow-simple {
    color: var(--orange-primary);
    font-size: 1.5rem;
    font-weight: 300;
}

.workflow-label {
    color: var(--deep-brown);
    opacity: 0.7;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

body.theme-dark .workflow-label {
    color: var(--pure-white);
    opacity: 0.6;
}

.divider-vertical {
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(74, 26, 10, 0.2), transparent);
}

/* =========================
   Features Section
   ========================= */

.features {
    padding: 6rem 2rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Dotted texture only for orange theme */
body.theme-orange .features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.1) 1.2px, transparent 1.2px),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.1) 1.2px, transparent 1.2px);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    opacity: 0.6;
    pointer-events: none;
}

/* Yellow gradient only for orange theme */
body.theme-orange .features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 200, 50, 0.1) 100%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-card:hover,
.feature-card:focus {
    border-color: var(--orange-primary);
    transform: translateY(-4px);
    outline: none;
}

body.theme-dark .feature-card:hover,
body.theme-dark .feature-card:focus {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(255, 84, 20, 0.12);
}

body.theme-light .feature-card:hover,
body.theme-light .feature-card:focus {
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(255, 84, 20, 0.12);
}

body.theme-orange .feature-card:hover,
body.theme-orange .feature-card:focus {
    background: var(--pure-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--orange-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--card-text);
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-desc {
    color: var(--card-text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* =========================
   Orange CTA Section
   ========================= */

.cta-section-orange {
    padding: 6rem 2rem;
    background: var(--orange-primary);
    position: relative;
    overflow: hidden;
}

.cta-section-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 4px 4px, 4px 4px, 8px 8px;
    background-position: 0 0, 2px 2px, 0 0;
    opacity: 0.8;
    pointer-events: none;
}

.cta-section-orange::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 200, 50, 0.12) 100%);
    pointer-events: none;
}

.orange-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.orange-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: white;
    text-transform: lowercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.waitlist-section-orange {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-orange .newsletter-form-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    color: var(--text-cream);
}

.newsletter-form-orange .newsletter-form-input:focus {
    background: white;
    border-color: white;
}

.newsletter-form-orange .newsletter-form-input::placeholder {
    color: rgba(74, 26, 10, 0.5);
}

.newsletter-form-orange .newsletter-form-button {
    background: white;
    color: var(--orange-primary);
}

.newsletter-form-orange .newsletter-form-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* =========================
   Footer
   ========================= */

.footer {
    padding: 3rem 2rem;
    background: var(--bg);
    text-align: center;
    transition: background 0.3s ease;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-tertiary) !important;
    transition: color 0.3s ease;
}

.footer-content a {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--orange-primary) !important;
}

/* =========================
   Modal & Snow Leopard About Window
   ========================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

/* Snow Leopard About Window */
.about-window {
    width: 420px;
    background: linear-gradient(to bottom, #e8e8e8 0%, #d0d0d0 100%);
    border-radius: 6px 6px 8px 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: aboutWindowSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes aboutWindowSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-window-titlebar {
    height: 22px;
    background: linear-gradient(to bottom, #d4d4d4 0%, #b8b8b8 100%);
    border-bottom: 1px solid #8a8a8a;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.about-window-controls {
    display: flex;
    gap: 8px;
}

.about-window-close,
.about-window-minimize,
.about-window-zoom {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.about-window-close {
    background: linear-gradient(to bottom, #ff5f57 0%, #ff3b30 100%);
}

.about-window-close:hover {
    background: linear-gradient(to bottom, #ff6f67 0%, #ff4b40 100%);
}

.about-window-minimize {
    background: linear-gradient(to bottom, #ffbd2e 0%, #ffaa00 100%);
}

.about-window-zoom {
    background: linear-gradient(to bottom, #28ca42 0%, #1fb834 100%);
}

.about-window-content {
    padding: 32px 40px 28px;
    text-align: center;
    background: linear-gradient(to bottom, #e8e8e8 0%, #d0d0d0 100%);
}

.about-logo {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.about-version {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.about-copyright {
    font-size: 10px;
    color: #888;
    margin-bottom: 16px;
}

.about-tagline {
    font-size: 11px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.about-btn {
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 500;
    color: #2c2c2c;
    background: linear-gradient(to bottom, #fefefe 0%, #e5e5e5 100%);
    border: 1px solid #acacac;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-btn:hover {
    background: linear-gradient(to bottom, #ffffff 0%, #efefef 100%);
    border-color: #999;
}

.about-btn:active {
    background: linear-gradient(to bottom, #e5e5e5 0%, #d5d5d5 100%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* =========================
   Fade-in Animation
   ========================= */

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Responsive Design
   ========================= */

@media (max-width: 768px) {
    .menu-bar {
        font-size: 12px;
        padding: 0 12px;
    }

    .menu-bar ul {
        gap: 12px;
    }

    .hero {
        padding: 60px 1.5rem 3rem;
    }

    .problem-solution-content {
        flex-direction: column;
        gap: 3rem;
    }

    .problem-container,
    .solution-container {
        width: 100%;
        position: relative;
        overflow: visible;
        min-height: 0;
    }

    .divider-vertical {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(74, 26, 10, 0.2), transparent);
    }

    .workflow-diagram {
        flex-wrap: wrap;
        justify-content: center;
    }

    .workflow-diagram-simple {
        justify-content: center;
    }

    .problem-side,
    .solution-side {
        width: 100%;
        align-items: center;
    }

    .problem-side h3 {
        transform: none;
    }

    .solution-demo-embed {
        margin: 0 auto;
    }

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

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form-input,
    .newsletter-form-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .menu-bar li {
        padding: 4px 6px;
    }

    .menu-bar ul {
        gap: 8px;
    }

    .price {
        font-size: 1.5rem;
    }

    .download-btn {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .step {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

/* =========================
   Interactive Demo
   ========================= */

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Demo Button - Secondary Style */
.demo-btn {
    background: transparent;
    border: 2px solid var(--orange-primary);
    color: var(--orange-primary);
    box-shadow: none;
}

.demo-btn:hover {
    background: var(--orange-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 102, 51, 0.35);
}

body.theme-dark .demo-btn {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

body.theme-dark .demo-btn:hover {
    background: var(--orange-primary);
    color: white;
}

body.theme-orange .demo-btn {
    border-color: white;
    color: white;
}

body.theme-orange .demo-btn:hover {
    background: white;
    color: var(--orange-primary);
}

.solution-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.solution-side h3 {
    font-size: 1.65rem;
}

.problem-side .workflow-label,
.solution-side .workflow-label {
    align-self: center;
    text-align: center;
    padding: 0 1.5rem;
}

.solution-demo-embed {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    margin: 0 auto;
}

.demo-embed-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
}

/* Demo Overlay */
.demo-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-overlay.active {
    display: block;
    opacity: 1;
}

/* Demo Popover - Mimics macOS menu bar app */
.demo-popover {
    position: absolute;
    top: 34px;
    right: 16px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 540px;
    background: var(--cream);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-overlay.active .demo-popover {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.demo-popover-embedded {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

/* Theme-aware demo popover */
body.theme-dark .demo-popover {
    background: var(--deep-dark);
}

body.theme-orange .demo-popover {
    background: var(--orange-primary);
}

/* Dotted texture for orange theme demo */
body.theme-orange .demo-popover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Demo Header */
.demo-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    position: relative;
    z-index: 1;
}

.demo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-brown);
}

.demo-title-icon {
    width: 16px;
    height: 16px;
}

body.theme-dark .demo-title {
    color: var(--pure-white);
}

body.theme-orange .demo-title {
    color: white;
}

.demo-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-last-update {
    font-size: 11px;
    color: rgba(74, 26, 10, 0.7);
}

body.theme-dark .demo-last-update {
    color: rgba(255, 255, 255, 0.6);
}

body.theme-orange .demo-last-update {
    color: rgba(255, 255, 255, 0.9);
}

.demo-refresh-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-refresh-btn svg {
    stroke: var(--orange-primary);
    transition: transform 0.3s ease;
}

body.theme-orange .demo-refresh-btn svg {
    stroke: white;
}

.demo-refresh-btn:hover {
    background: rgba(255, 84, 20, 0.1);
}

body.theme-dark .demo-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.theme-orange .demo-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.demo-refresh-btn.spinning svg {
    animation: spin 1s linear infinite;
}

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

/* Demo Divider */
.demo-divider {
    height: 1px;
    background: rgba(74, 26, 10, 0.1);
}

body.theme-dark .demo-divider {
    background: rgba(255, 255, 255, 0.1);
}

body.theme-orange .demo-divider {
    background: rgba(255, 255, 255, 0.2);
}

/* Demo Deployments List */
.demo-deployments {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    position: relative;
    z-index: 1;
}

/* Custom scrollbar */
.demo-deployments::-webkit-scrollbar {
    width: 8px;
}

.demo-deployments::-webkit-scrollbar-track {
    background: transparent;
}

.demo-deployments::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

body.theme-dark .demo-deployments::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

/* Deployment Row */
.deployment-row {
    margin-bottom: 8px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.deployment-row:last-child {
    margin-bottom: 0;
}

.deployment-row:hover {
    transform: scale(1.01);
}

.deployment-row-content {
    padding: 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.15s ease;
}

body.theme-dark .deployment-row-content {
    background: rgba(255, 255, 255, 0.05);
}

body.theme-orange .deployment-row-content {
    background: var(--cream);
}

.deployment-row:hover .deployment-row-content {
    background: rgba(0, 0, 0, 0.06);
}

body.theme-dark .deployment-row:hover .deployment-row-content {
    background: rgba(255, 255, 255, 0.08);
}

body.theme-orange .deployment-row:hover .deployment-row-content {
    background: rgba(250, 248, 245, 0.95);
}

/* Status Badge */
.status-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
}

.status-badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0;
}

/* Pulsing animation for building status */
.deployment-row[data-building="true"] .status-badge-pulse {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Deployment Info */
.deployment-info {
    flex: 1;
    min-width: 0;
}

.deployment-header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 4px;
}

.deployment-project {
    font-weight: 600;
    color: var(--deep-brown);
}

body.theme-dark .deployment-project {
    color: var(--pure-white);
}

body.theme-orange .deployment-project {
    color: var(--deep-brown);
}

.deployment-separator {
    color: rgba(74, 26, 10, 0.5);
}

body.theme-dark .deployment-separator {
    color: rgba(255, 255, 255, 0.4);
}

body.theme-orange .deployment-separator {
    color: rgba(74, 26, 10, 0.5);
}

.deployment-branch-icon {
    width: 10px;
    height: 10px;
    fill: rgba(74, 26, 10, 0.6);
}

body.theme-dark .deployment-branch-icon {
    fill: rgba(255, 255, 255, 0.6);
}

body.theme-orange .deployment-branch-icon {
    fill: rgba(74, 26, 10, 0.6);
}

.deployment-branch {
    font-size: 11px;
    color: rgba(74, 26, 10, 0.7);
}

body.theme-dark .deployment-branch {
    color: rgba(255, 255, 255, 0.6);
}

body.theme-orange .deployment-branch {
    color: rgba(74, 26, 10, 0.7);
}

.building-indicator {
    font-size: 10px;
    color: #fbbf24;
    font-weight: 500;
    margin-left: 4px;
}

body.theme-dark .building-indicator {
    color: #fbbf24;
}

body.theme-orange .building-indicator {
    color: rgba(251, 191, 36, 0.9);
}

.deployment-commit {
    font-size: 11px;
    color: var(--deep-brown);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.theme-dark .deployment-commit {
    color: var(--pure-white);
}

body.theme-orange .deployment-commit {
    color: var(--deep-brown);
}

.deployment-meta {
    font-size: 10px;
    color: rgba(74, 26, 10, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

body.theme-dark .deployment-meta {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-orange .deployment-meta {
    color: rgba(74, 26, 10, 0.6);
}

.deployment-hash {
    font-family: "SF Mono", "Monaco", "Menlo", "Courier New", monospace;
    font-size: 9px;
}

/* Preview Button */
.deployment-preview-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deployment-preview-btn svg {
    stroke: var(--orange-primary);
}

.deployment-preview-btn:hover {
    background: rgba(255, 84, 20, 0.1);
    transform: scale(1.1);
}

.deployment-preview-btn.pulse {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Demo Footer */
.demo-footer {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

body.theme-dark .demo-footer {
    background: rgba(255, 255, 255, 0.05);
}

body.theme-orange .demo-footer {
    background: rgba(0, 0, 0, 0.08);
}

.demo-footer-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: rgba(74, 26, 10, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

body.theme-dark .demo-footer-btn {
    color: rgba(255, 255, 255, 0.6);
}

body.theme-orange .demo-footer-btn {
    color: rgba(255, 255, 255, 0.9);
}

.demo-footer-btn svg {
    stroke: currentColor;
}

.demo-footer-btn:hover {
    background: rgba(255, 84, 20, 0.1);
    color: var(--orange-primary);
}

body.theme-dark .demo-footer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.theme-orange .demo-footer-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Responsive Demo */
@media (max-width: 768px) {
    .demo-popover {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(0.95);
        width: 90vw;
        max-width: 380px;
        height: 70vh;
        max-height: 500px;
    }

    .demo-overlay.active .demo-popover {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================
   Deployment Detail View
   ========================= */

.demo-detail-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 10;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-detail-view.active {
    transform: translateX(0);
}

body.theme-dark .demo-detail-view {
    background: var(--deep-dark);
}

body.theme-orange .demo-detail-view {
    background: var(--orange-primary);
}

/* Detail View Header */
.demo-detail-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(74, 26, 10, 0.1);
}

body.theme-dark .demo-detail-header {
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-orange .demo-detail-header {
    border-color: rgba(255, 255, 255, 0.2);
}

.demo-detail-back-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--deep-brown);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

body.theme-dark .demo-detail-back-btn {
    color: var(--orange-primary);
}

body.theme-orange .demo-detail-back-btn {
    color: white;
}

.demo-detail-back-btn:hover {
    background: rgba(255, 84, 20, 0.1);
}

.demo-detail-title-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-brown);
}

body.theme-dark .demo-detail-title-text {
    color: var(--pure-white);
}

body.theme-orange .demo-detail-title-text {
    color: white;
}

.demo-detail-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
    color: var(--deep-brown);
}

body.theme-dark .demo-detail-close-btn {
    color: var(--orange-primary);
}

body.theme-orange .demo-detail-close-btn {
    color: white;
}

.demo-detail-close-btn:hover {
    background: rgba(255, 84, 20, 0.1);
}

/* Detail View Content */
.demo-detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.demo-detail-content::-webkit-scrollbar {
    width: 8px;
}

.demo-detail-content::-webkit-scrollbar-track {
    background: transparent;
}

.demo-detail-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

body.theme-dark .demo-detail-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.demo-detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 26, 10, 0.1);
}

.demo-detail-section:last-child {
    border-bottom: none;
}

body.theme-dark .demo-detail-section {
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-orange .demo-detail-section {
    border-color: rgba(255, 255, 255, 0.2);
}

.demo-detail-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--deep-brown);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-dark .demo-detail-section-title {
    color: var(--pure-white);
}

body.theme-orange .demo-detail-section-title {
    color: white;
}

/* Status Section */
.demo-detail-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
}

body.theme-dark .demo-detail-status {
    background: rgba(255, 255, 255, 0.05);
}

body.theme-orange .demo-detail-status {
    background: var(--cream);
}

.demo-detail-status-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.demo-detail-status-info {
    flex: 1;
}

.demo-detail-status-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: 2px;
}

body.theme-dark .demo-detail-status-label {
    color: var(--pure-white);
}

body.theme-orange .demo-detail-status-label {
    color: var(--deep-brown);
}

.demo-detail-status-id {
    font-size: 10px;
    color: rgba(74, 26, 10, 0.6);
}

body.theme-dark .demo-detail-status-id {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-orange .demo-detail-status-id {
    color: rgba(74, 26, 10, 0.6);
}

/* Detail Row */
.demo-detail-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    align-items: flex-start;
}

.demo-detail-row-icon {
    width: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    color: rgba(74, 26, 10, 0.6);
}

body.theme-dark .demo-detail-row-icon {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-orange .demo-detail-row-icon {
    color: rgba(255, 255, 255, 0.8);
}

.demo-detail-row-label {
    width: 80px;
    flex-shrink: 0;
    color: rgba(74, 26, 10, 0.6);
    font-weight: 500;
}

body.theme-dark .demo-detail-row-label {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-orange .demo-detail-row-label {
    color: rgba(255, 255, 255, 0.8);
}

.demo-detail-row-value {
    flex: 1;
    color: var(--deep-brown);
    word-break: break-word;
}

body.theme-dark .demo-detail-row-value {
    color: var(--pure-white);
}

body.theme-orange .demo-detail-row-value {
    color: white;
}

.demo-detail-row-value.monospace {
    font-family: "SF Mono", "Monaco", "Menlo", "Courier New", monospace;
    font-size: 10px;
}

/* Commit Message */
.demo-detail-commit-message {
    padding: 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    font-size: 11px;
    color: var(--deep-brown);
    line-height: 1.5;
}

body.theme-dark .demo-detail-commit-message {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pure-white);
}

body.theme-orange .demo-detail-commit-message {
    background: var(--cream);
    color: var(--deep-brown);
}

/* Build Logs */
.demo-detail-logs {
    padding: 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    font-family: "SF Mono", "Monaco", "Menlo", "Courier New", monospace;
    font-size: 9px;
    color: var(--deep-brown);
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

body.theme-dark .demo-detail-logs {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pure-white);
}

body.theme-orange .demo-detail-logs {
    background: var(--cream);
    color: var(--deep-brown);
}

.demo-detail-logs::-webkit-scrollbar {
    width: 6px;
}

.demo-detail-logs::-webkit-scrollbar-track {
    background: transparent;
}

.demo-detail-logs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

body.theme-dark .demo-detail-logs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

/* Links */
.demo-detail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    text-align: left;
    margin-bottom: 6px;
}

.demo-detail-link:hover {
    background: rgba(255, 84, 20, 0.1);
}

.demo-detail-link-icon {
    width: 12px;
    flex-shrink: 0;
    color: rgba(74, 26, 10, 0.6);
}

body.theme-dark .demo-detail-link-icon {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-orange .demo-detail-link-icon {
    color: rgba(255, 255, 255, 0.8);
}

.demo-detail-link-text {
    font-size: 11px;
    color: var(--orange-primary);
    text-decoration: none;
}

body.theme-orange .demo-detail-link-text {
    color: white;
}

.demo-detail-link:hover .demo-detail-link-text {
    text-decoration: underline;
}

/* Copy Button */
.demo-detail-copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--orange-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 10px;
    color: var(--orange-primary);
}

body.theme-dark .demo-detail-copy-btn {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

body.theme-orange .demo-detail-copy-btn {
    border-color: white;
    color: white;
}

.demo-detail-copy-btn:hover {
    background: rgba(255, 84, 20, 0.1);
}

body.theme-orange .demo-detail-copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.demo-detail-copy-btn svg {
    stroke: currentColor;
}
