/* CSS Design System for Local AI Promotion Website */

:root {
    /* Color Palette */
    --color-bg-deep: #050508;
    --color-bg-card: rgba(13, 13, 22, 0.55);
    --color-bg-card-hover: rgba(18, 18, 30, 0.75);
    --color-border: rgba(255, 255, 255, 0.07);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --color-cyan: #00f2fe;
    --color-purple: #7f00ff;
    --color-emerald: #00f5a0;
    --color-pink: #ff007f;
    --color-yellow: #ffd200;
    --color-blue: #0070f3;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    --grad-text: linear-gradient(135deg, #00f2fe 10%, #7f00ff 80%);
    --grad-glow-cyan: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    --grad-glow-purple: radial-gradient(circle, rgba(127, 0, 255, 0.15) 0%, transparent 70%);
    --grad-glow-emerald: radial-gradient(circle, rgba(0, 245, 160, 0.15) 0%, transparent 70%);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* Background Glow Spots */
.glow-bg {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(140px);
    opacity: 0.4;
    z-index: -1;
}
.glow-purple {
    top: -20vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.25) 0%, transparent 70%);
    animation: pulse-glow-purple 12s infinite alternate ease-in-out;
}
.glow-cyan {
    top: 40vh;
    left: -20vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    animation: pulse-glow-cyan 15s infinite alternate ease-in-out;
}
.glow-emerald {
    bottom: -10vw;
    right: 5vw;
    background: radial-gradient(circle, rgba(0, 245, 160, 0.15) 0%, transparent 70%);
}

@keyframes pulse-glow-purple {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); opacity: 0.5; }
}
@keyframes pulse-glow-cyan {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.15); opacity: 0.3; }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

p {
    color: var(--color-text-secondary);
}

header a, a.btn {
	text-decoration: none;
}

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

/* Helper Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.hide { display: none !important; }

/* Text & Colors */
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.highlight {
    color: var(--color-cyan);
}
.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }
.text-emerald { color: var(--color-emerald); }
.text-pink { color: var(--color-pink); }

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

.btn-primary {
    background: var(--grad-primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}
.btn-primary:hover {
    box-shadow: 0 4px 30px rgba(0, 242, 254, 0.45);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #00e0eb 0%, #7000e3 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* Glassmorphic Card Container */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: var(--transition-normal);
}
.glass-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.nav-container {
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
}
.nav-links a:not(.btn):hover {
    color: var(--color-text-primary);
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}
.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-normal);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
}
.lang-switcher-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lang-switcher-btn:hover {
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.04);
}
.lang-switcher-btn.active {
    color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.2);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 580px;
}

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

.hero-features {
    display: flex;
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}
.h-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}
.h-feat-icon {
    width: 18px;
    height: 18px;
    color: var(--color-cyan);
}

/* Terminal Mockup */
.terminal-mockup {
    background: #09090e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(127, 0, 255, 0.1);
}
.terminal-header {
    background: #11111a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.terminal-header .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.terminal-header .dot.red { background-color: #ff5f56; }
.terminal-header .dot.yellow { background-color: #ffbd2e; }
.terminal-header .dot.green { background-color: #27c93f; }
.terminal-title {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-left: 12px;
}

.terminal-body {
    padding: 20px;
    font-size: 0.85rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.term-line {
    white-space: pre-wrap;
    word-break: break-all;
}
.term-line.cmd {
    color: #e2e8f0;
}
.term-line.cmd .prompt {
    color: var(--color-cyan);
    margin-right: 8px;
}
.term-line.output.info { color: var(--color-text-muted); }
.term-line.output.success { color: var(--color-emerald); }
.term-line.response {
    color: #cbd5e1;
    border-left: 2px solid var(--color-purple);
    padding-left: 12px;
    margin: 4px 0;
}
.term-line.stats {
    margin-top: auto;
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.stat-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.stat-badge.green { background: rgba(0, 245, 160, 0.1); color: var(--color-emerald); border: 1px solid rgba(0, 245, 160, 0.2); }
.stat-badge.cyan { background: rgba(0, 242, 254, 0.1); color: var(--color-cyan); border: 1px solid rgba(0, 242, 254, 0.2); }
.stat-badge.purple { background: rgba(127, 0, 255, 0.1); color: #c084fc; border: 1px solid rgba(127, 0, 255, 0.2); }

/* Benefits Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.benefit-card {
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}
.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:nth-child(1):hover::before { background: radial-gradient(800px circle at top left, rgba(0, 242, 254, 0.04), transparent 40%); }
.benefit-card:nth-child(2):hover::before { background: radial-gradient(800px circle at top left, rgba(127, 0, 255, 0.04), transparent 40%); }
.benefit-card:nth-child(3):hover::before { background: radial-gradient(800px circle at top left, rgba(0, 245, 160, 0.04), transparent 40%); }
.benefit-card:nth-child(4):hover::before { background: radial-gradient(800px circle at top left, rgba(255, 0, 127, 0.04), transparent 40%); }
.benefit-card:nth-child(5):hover::before { background: radial-gradient(800px circle at top left, rgba(255, 210, 0, 0.04), transparent 40%); }
.benefit-card:nth-child(6):hover::before { background: radial-gradient(800px circle at top left, rgba(0, 112, 243, 0.04), transparent 40%); }

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}
.card-icon svg {
    width: 24px;
    height: 24px;
}

.bg-cyan-glow { background: rgba(0, 242, 254, 0.08); border: 1px solid rgba(0, 242, 254, 0.2); color: var(--color-cyan); }
.bg-purple-glow { background: rgba(127, 0, 255, 0.08); border: 1px solid rgba(127, 0, 255, 0.2); color: #a855f7; }
.bg-emerald-glow { background: rgba(0, 245, 160, 0.08); border: 1px solid rgba(0, 245, 160, 0.2); color: var(--color-emerald); }
.bg-pink-glow { background: rgba(255, 0, 127, 0.08); border: 1px solid rgba(255, 0, 127, 0.2); color: var(--color-pink); }
.bg-yellow-glow { background: rgba(255, 210, 0, 0.08); border: 1px solid rgba(255, 210, 0, 0.2); color: var(--color-yellow); }
.bg-blue-glow { background: rgba(0, 112, 243, 0.08); border: 1px solid rgba(0, 112, 243, 0.2); color: var(--color-cyan); }

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Playground Section Layout */
.playground-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    border-radius: 20px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.play-sidebar {
    background: rgba(11, 11, 18, 0.5);
    border-right: 1px solid var(--color-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.play-sidebar h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.model-options, .prompt-templates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.model-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.model-btn .m-name {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.9rem;
}
.model-btn .m-meta {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}
.model-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}
.model-btn.active {
    background: rgba(127, 0, 255, 0.1);
    border-color: var(--color-purple);
}

.prompt-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}
.prompt-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-cyan);
    color: var(--color-text-primary);
}

/* Play workspace - Chat layout */
.play-workspace {
    display: flex;
    flex-direction: column;
    background: rgba(5, 5, 10, 0.3);
}

.play-terminal-header {
    background: rgba(10, 10, 15, 0.6);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offline-shield {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.2);
    color: var(--color-emerald);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.offline-shield svg {
    width: 14px;
    height: 14px;
}

.terminal-stats {
    display: flex;
    gap: 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.stat-item .lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}
.stat-item .val {
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 16px;
    max-width: 85%;
    animation: msg-fade 0.3s ease;
}
@keyframes msg-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.chat-message.system {
    align-self: flex-start;
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(127, 0, 255, 0.15);
    border: 1px solid rgba(127, 0, 255, 0.3);
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-message.user .msg-avatar {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--color-cyan);
}
.msg-avatar svg {
    width: 18px;
    height: 18px;
}

.msg-body {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 18px;
}
.chat-message.user .msg-body {
    background: rgba(0, 242, 254, 0.06);
    border-color: rgba(0, 242, 254, 0.15);
}
.msg-body p {
    font-size: 0.9rem;
    color: #e2e8f0;
}
.msg-body pre {
    margin-top: 10px;
    background: #09090e;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
}
.msg-body code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-cyan);
}

.chat-input-area {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    background: rgba(10, 10, 15, 0.4);
}
.chat-form {
    display: flex;
    gap: 12px;
}
.chat-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.chat-form input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}
.run-icon {
    width: 16px;
    height: 16px;
}

/* Hardware Specs Guider */
.specs-guider {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 40px;
}

.specs-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-select {
    background: #11111b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-fast);
}
.form-select:focus {
    border-color: var(--color-purple);
}

.sys-summary-box {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sys-summary-box .summary-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}
.sys-summary-box .summary-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.specs-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.result-category h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    color: var(--color-text-primary);
}
.result-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.result-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.result-list li::before {
    content: "✓";
    color: var(--color-emerald);
    font-weight: bold;
}
.result-category.full-width {
    grid-column: 1 / -1;
}

.performance-bar-wrapper {
    background: rgba(255, 255, 255, 0.05);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin: 12px 0;
}
.perf-bar {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 5px;
    transition: width var(--transition-normal);
}
.perf-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Cost Calculator Layout */
.calc-inputs-panel, .calc-results-panel {
    padding: 40px;
}

.calc-inputs-panel h3, .calc-results-panel h3 {
    margin-bottom: 32px;
    font-size: 1.6rem;
}

.calc-slider-group {
    margin-bottom: 28px;
}
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.slider-header label {
    font-size: 0.95rem;
    font-weight: 600;
}
.slider-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-cyan);
    font-weight: 700;
}

/* Range Slider Styling */
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 8px;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
    transition: var(--transition-fast);
}
.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.slider-hint {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.results-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.res-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}
.res-stat-card .lbl {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}
.res-stat-card .val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 4px;
}
.res-stat-card.highlight-card {
    grid-column: 1 / -1;
    background: rgba(0, 245, 160, 0.05);
    border-color: rgba(0, 245, 160, 0.15);
}

/* SVG Savings Chart */
.savings-chart-box {
    margin-top: 10px;
}
.chart-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 12px;
}
.chart-svg-container {
    height: 180px;
    width: 100%;
}
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}
.legend-item {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.color-dot.api { background-color: var(--color-pink); }
.color-dot.local { background-color: var(--color-cyan); }

/* Ecosystem Cards */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}
.eco-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.eco-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--color-text-secondary);
}
.eco-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    margin-top: 8px;
}
.eco-card p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex: 1;
}
.eco-link {
    color: var(--color-cyan);
    font-weight: 600;
    font-size: 0.85rem;
}
.eco-link:hover {
    color: var(--color-purple);
    transform: translateX(4px);
}

/* Quick Start Setup Guide Tabs */
.setup-tab-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.setup-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
}
.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}
.tab-btn:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.02);
}
.tab-btn.active {
    color: var(--color-cyan);
    border-bottom-color: var(--color-cyan);
    background: rgba(0, 242, 254, 0.04);
}

.tab-content {
    padding: 40px;
    display: none;
}
.tab-content.active {
    display: block;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.step-item {
    display: flex;
    gap: 24px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}
.step-text h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.step-text p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.text-link {
    color: var(--color-cyan);
    font-weight: 600;
    text-decoration: underline;
}

/* Code Copy Block */
.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #09090e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 16px;
    max-width: 580px;
}
.code-box code {
    color: #e2e8f0;
    font-size: 0.85rem;
}
.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.copy-btn:hover {
    background: var(--color-cyan);
    color: #000;
    border-color: var(--color-cyan);
}

/* Newsletter CTA Section */
.cta-section {
    background: radial-gradient(circle at center, rgba(127, 0, 255, 0.1) 0%, transparent 60%);
    padding: 120px 0;
}
.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
}
.cta-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    gap: 12px;
}
.cta-form .form-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 20px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.cta-form .form-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}
.success-message {
    margin-top: 16px;
    color: var(--color-emerald);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer Section */
.footer {
    background: #030305;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 40px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand p {
    font-size: 0.9rem;
    margin-top: 18px;
    max-width: 320px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.footer-links a:hover {
    color: var(--color-cyan);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 580px; margin: 0 auto; width: 100%; }
    .specs-guider { grid-template-columns: 1fr; }
    .calculator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.1rem; }
    .hero { padding-top: calc(var(--header-height) + 20px); }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-features { flex-direction: column; gap: 16px; }
    .playground-wrapper { grid-template-columns: 1fr; }
    .play-sidebar { border-right: none; border-bottom: 1px solid var(--color-border); }
    .specs-results { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .mobile-nav-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #050508;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px;
        gap: 20px;
        z-index: 99;
    }
    .nav-links.active {
        display: flex;
    }
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 8px;
        margin-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}
