:root {
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  
--bg-main: #090c10;
--bg-card: rgba(18, 23, 34, 0.75);
--bg-card-hover: rgba(26, 33, 49, 0.9);
--bg-card-solid: #111622;
--bg-code: #0b0e14;
--bg-input: #151b28;
  
--border-subtle: rgba(255, 255, 255, 0.08);
--border-focus: rgba(99, 102, 241, 0.5);
--border-glow: rgba(99, 102, 241, 0.25);
  
--text-main: #f3f4f6;
--text-muted: #9ca3af;
--text-dim: #6b7280;
  
--primary: #6366f1;
--primary-hover: #4f46e5;
--primary-glow: rgba(99, 102, 241, 0.35);
  
--accent-cyan: #06b6d4;
--accent-emerald: #10b981;
--accent-amber: #f59e0b;
--accent-purple: #a855f7;
  
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-xl: 24px;
  
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
--shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
}

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

html {
font-family: var(--font-sans);
background-color: var(--bg-main);
color: var(--text-main);
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
}

body {
overflow-x: hidden;
line-height: 1.6;
}

/* Background Atmospheric Gradients */
.bg-glow-top {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100vw;
max-width: 1200px;
height: 600px;
background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.22) 0%, rgba(6, 182, 212, 0.12) 35%, transparent 70%);
filter: blur(80px);
pointer-events: none;
z-index: 0;
}

.container {
width: 100%;
max-width: 1240px;
margin: 0 auto;
padding: 0 24px;
position: relative;
z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
color: #fff;
font-weight: 700;
line-height: 1.25;
}

.text-gradient {
background: linear-gradient(135deg, #fff 20%, #a5b4fc 60%, #67e8f9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.text-primary-gradient {
background: linear-gradient(135deg, #818cf8, #06b6d4);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Navigation */
.header-nav {
position: sticky;
top: 0;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background: rgba(9, 12, 16, 0.8);
border-bottom: 1px solid var(--border-subtle);
z-index: 100;
transition: all 0.2s ease;
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 72px;
}

.brand {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: #fff;
font-weight: 700;
font-size: 1.15rem;
}

.brand-icon {
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #4f46e5, #06b6d4);
border-radius: var(--radius-md);
box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.nav-links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
}

.nav-links a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.15s ease;
position: relative;
padding: 6px 2px;
}

.nav-links a:hover {
color: #fff;
}

.nav-links a.active {
color: #fff;
font-weight: 600;
}

.nav-links a.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
border-radius: 2px;
}

.hamburger {
display: none;
background: transparent;
border: none;
cursor: pointer;
padding: 8px;
flex-direction: column;
gap: 5px;
z-index: 101;
}

.hamburger span {
display: block;
width: 22px;
height: 2px;
background-color: #fff;
transition: all 0.3s ease;
border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}

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

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

.btn-primary {
background: linear-gradient(135deg, #6366f1, #4f46e5);
color: #fff;
box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
background: linear-gradient(135deg, #4f46e5, #4338ca);
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
background: var(--bg-card);
color: var(--text-main);
border-color: var(--border-subtle);
backdrop-filter: blur(8px);
}

.btn-secondary:hover {
background: var(--bg-card-hover);
border-color: rgba(255, 255, 255, 0.2);
color: #fff;
}

.btn-outline {
background: transparent;
color: #fff;
border-color: rgba(99, 102, 241, 0.5);
}

.btn-outline:hover {
background: rgba(99, 102, 241, 0.1);
border-color: var(--primary);
}

.btn-sm {
padding: 6px 14px;
font-size: 0.85rem;
}

.btn-lg {
padding: 14px 28px;
font-size: 1.05rem;
}

/* Badges */
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 12px;
border-radius: 9999px;
font-size: 0.82rem;
font-weight: 600;
background: rgba(99, 102, 241, 0.15);
color: #c7d2fe;
border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-glow {
box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.badge-green {
background: rgba(16, 185, 129, 0.15);
color: #a7f3d0;
border-color: rgba(16, 185, 129, 0.3);
}

.badge-amber {
background: rgba(245, 158, 11, 0.15);
color: #fde68a;
border-color: rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
padding: 80px 0 60px;
text-align: center;
}

.hero-content {
max-width: 860px;
margin: 0 auto;
}

.hero h1 {
font-size: 3.6rem;
line-height: 1.12;
margin: 20px 0;
letter-spacing: -0.03em;
}

.hero p {
font-size: 1.25rem;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 36px;
}

.hero-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-bottom: 40px;
flex-wrap: wrap;
}

.hero-stats {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
margin-top: 20px;
padding-top: 28px;
border-top: 1px solid var(--border-subtle);
}

.stat-item {
text-align: center;
}

.stat-val {
font-size: 1.7rem;
font-weight: 700;
color: #fff;
letter-spacing: -0.02em;
}

.stat-lbl {
font-size: 0.85rem;
color: var(--text-dim);
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
}

/* Interactive Terminal & Chat Demo */
.hero-demo-wrapper {
margin-top: 50px;
position: relative;
}

.demo-window {
background: var(--bg-card-solid);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-md), var(--shadow-glow);
text-align: left;
}

.window-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 20px;
background: rgba(13, 17, 26, 0.8);
border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
font-family: var(--font-mono);
font-size: 0.85rem;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 8px;
}

.window-content {
display: grid;
grid-template-columns: 1.1fr 1fr;
min-height: 440px;
}

.terminal-panel {
background: var(--bg-code);
padding: 24px;
font-family: var(--font-mono);
font-size: 0.88rem;
color: #d1d5db;
border-right: 1px solid var(--border-subtle);
overflow-y: auto;
display: flex;
flex-direction: column;
}

.term-line {
margin-bottom: 12px;
display: flex;
align-items: flex-start;
gap: 10px;
line-height: 1.5;
}

.term-prompt {
color: #818cf8;
font-weight: 600;
user-select: none;
}

.term-tool-call {
background: rgba(99, 102, 241, 0.1);
border-left: 3px solid var(--primary);
padding: 8px 12px;
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
margin: 8px 0;
font-size: 0.82rem;
}

.term-tool-call .tool-title {
color: #c7d2fe;
font-weight: 600;
margin-bottom: 4px;
}

.term-tool-call pre {
color: #94a3b8;
white-space: pre-wrap;
word-break: break-all;
}

.term-success {
color: #34d399;
}

.terminal-interactive-buttons {
margin-top: auto;
padding-top: 16px;
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.term-pill-btn {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-subtle);
padding: 6px 12px;
border-radius: var(--radius-sm);
color: var(--text-muted);
font-size: 0.78rem;
cursor: pointer;
transition: all 0.15s ease;
}

.term-pill-btn:hover {
background: rgba(99, 102, 241, 0.2);
color: #fff;
border-color: var(--primary);
}

.inspector-panel {
padding: 24px;
background: rgba(17, 22, 34, 0.5);
display: flex;
flex-direction: column;
}

.inspector-title {
font-size: 0.95rem;
font-weight: 600;
color: #fff;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
}

.inspector-status-badge {
font-size: 0.75rem;
color: #34d399;
display: flex;
align-items: center;
gap: 6px;
}

.inspector-status-badge::before {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
background: #10b981;
box-shadow: 0 0 8px #10b981;
}

.payload-card {
background: var(--bg-code);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
padding: 16px;
margin-bottom: 16px;
font-family: var(--font-mono);
font-size: 0.8rem;
overflow-x: auto;
}

.payload-card pre {
color: #94a3b8;
}

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

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

.section-header h2 {
font-size: 2.6rem;
letter-spacing: -0.02em;
margin: 16px 0 14px;
}

.section-header p {
color: var(--text-muted);
font-size: 1.15rem;
}

/* Client Switcher Section */
.client-tabs {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 32px;
flex-wrap: wrap;
}

.client-tab-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
color: var(--text-muted);
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
}

.client-tab-btn:hover {
color: #fff;
border-color: rgba(255, 255, 255, 0.2);
}

.client-tab-btn.active {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.15));
color: #fff;
border-color: var(--primary);
box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
}

.config-box {
background: var(--bg-code);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 24px;
position: relative;
max-width: 900px;
margin: 0 auto;
}

.config-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
padding-bottom: 14px;
border-bottom: 1px solid var(--border-subtle);
}

.config-filename {
font-family: var(--font-mono);
font-size: 0.85rem;
color: #818cf8;
}

.btn-copy {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-sm);
color: #e5e7eb;
font-size: 0.82rem;
cursor: pointer;
transition: all 0.15s ease;
}

.btn-copy:hover {
background: rgba(255, 255, 255, 0.15);
color: #fff;
}

.config-code {
font-family: var(--font-mono);
font-size: 0.88rem;
line-height: 1.6;
color: #e5e7eb;
overflow-x: auto;
white-space: pre;
}

/* Integrations Grid */
.integrations-filter {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 40px;
flex-wrap: wrap;
}

.filter-btn {
padding: 8px 16px;
border-radius: 9999px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
color: var(--text-muted);
font-size: 0.88rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
}

.filter-btn:hover {
color: #fff;
}

.filter-btn.active {
background: var(--primary);
color: #fff;
border-color: var(--primary);
box-shadow: 0 0 14px var(--primary-glow);
}

.integrations-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 20px;
}

.integration-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 24px;
transition: all 0.25s ease;
backdrop-filter: blur(8px);
position: relative;
overflow: hidden;
scroll-margin-top: 88px;
}

.integration-card:hover {
background: var(--bg-card-hover);
border-color: rgba(99, 102, 241, 0.4);
box-shadow: var(--shadow-md);
}

.integration-card.wide {
grid-column: 1 / -1;
}

.card-more {
display: inline-block;
margin-top: 4px;
color: #a5b4fc;
font-size: 0.84rem;
font-weight: 600;
text-decoration: none;
}

.card-more:hover {
color: #fff;
}

.card-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
}

.integration-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
overflow: hidden;
padding: 4px;
flex-shrink: 0;
}

.integration-icon img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}

.logo-wall {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
gap: 14px;
}

.logo-tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 132px;
padding: 16px 10px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
text-decoration: none;
transition: border-color 0.2s ease, transform 0.2s ease;
}

.logo-tile:hover {
border-color: rgba(99, 102, 241, 0.45);
transform: translateY(-3px);
}

.logo-tile img {
width: 56px;
height: 56px;
object-fit: contain;
background: #fff;
border-radius: 12px;
padding: 6px;
}

.logo-tile span {
color: #fff;
font-size: 0.82rem;
font-weight: 600;
text-align: center;
line-height: 1.3;
}

.integration-card h3 {
font-size: 1.15rem;
margin-bottom: 8px;
}

.integration-card p {
color: var(--text-muted);
font-size: 0.88rem;
line-height: 1.5;
margin-bottom: 14px;
}

.ability-lines {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}

.integration-card.wide .ability-lines {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 10px 28px;
}

.ability-lines li {
color: var(--text-muted);
font-size: 0.86rem;
line-height: 1.45;
}

.ability-lines strong {
color: #e2e8f0;
font-weight: 600;
}

@media (max-width: 640px) {
.integration-card.wide .ability-lines {
grid-template-columns: 1fr;
}
}

/* Architecture Flow */
.flow-diagram {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
margin-top: 40px;
position: relative;
}

.flow-step {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 28px 20px;
text-align: center;
position: relative;
}

.flow-number {
width: 32px;
height: 32px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
color: #fff;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
font-size: 0.88rem;
}

.flow-step h3 {
font-size: 1.1rem;
margin-bottom: 8px;
}

.flow-step p {
color: var(--text-muted);
font-size: 0.86rem;
line-height: 1.5;
}

/* Abilities Catalog Explorer */
.catalog-search-bar {
max-width: 600px;
margin: 0 auto 36px;
display: flex;
gap: 12px;
}

.search-input {
flex: 1;
background: var(--bg-input);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
padding: 12px 18px;
color: #fff;
font-size: 0.95rem;
outline: none;
transition: border-color 0.15s ease;
}

.search-input:focus {
border-color: var(--primary);
box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.abilities-table-wrapper {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
overflow: hidden;
}

.abilities-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 0.9rem;
}

.abilities-table th {
background: rgba(13, 17, 26, 0.7);
padding: 16px 20px;
color: var(--text-muted);
font-weight: 600;
border-bottom: 1px solid var(--border-subtle);
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.abilities-table td {
padding: 16px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
color: var(--text-muted);
}

.abilities-table tr:hover td {
background: rgba(255, 255, 255, 0.02);
}

.ability-id {
font-family: var(--font-mono);
color: #c7d2fe;
font-weight: 600;
font-size: 0.85rem;
}

.ability-badge-read {
color: #34d399;
background: rgba(16, 185, 129, 0.12);
border: 1px solid rgba(16, 185, 129, 0.25);
padding: 3px 8px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
}

.ability-badge-write {
color: #f59e0b;
background: rgba(245, 158, 11, 0.12);
border: 1px solid rgba(245, 158, 11, 0.25);
padding: 3px 8px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
}

.badge-pro {
background: linear-gradient(135deg, #a855f7, #6366f1);
color: #fff;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.badge-free {
background: rgba(255, 255, 255, 0.08);
color: #94a3b8;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.72rem;
font-weight: 600;
}

/* Pricing Grid */
/* Pricing Grid */
.pricing-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 22px;
max-width: 1440px;
margin: 0 auto;
}

.pricing-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
padding: 34px 26px;
display: flex;
flex-direction: column;
position: relative;
transition: all 0.25s ease;
}

.pricing-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
border-color: rgba(99, 102, 241, 0.35);
}

.pricing-card.featured {
border-color: var(--primary);
background: linear-gradient(180deg, rgba(30, 36, 56, 0.9) 0%, rgba(18, 23, 34, 0.9) 100%);
box-shadow: 0 0 35px rgba(99, 102, 241, 0.25);
}

.popular-ribbon {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #6366f1, #06b6d4);
color: #fff;
padding: 4px 16px;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
white-space: nowrap;
}

.tier-name {
font-size: 1.35rem;
font-weight: 700;
margin-bottom: 8px;
}

.tier-desc {
color: var(--text-muted);
font-size: 0.88rem;
min-height: 40px;
margin-bottom: 20px;
line-height: 1.45;
}

.tier-price {
display: flex;
align-items: baseline;
gap: 4px;
margin-bottom: 24px;
}

.price-currency {
font-size: 1.5rem;
font-weight: 600;
color: #fff;
}

.price-val {
font-size: 3rem;
font-weight: 800;
color: #fff;
line-height: 1;
}

.price-period {
color: var(--text-dim);
font-size: 0.92rem;
}

.pricing-features-list {
list-style: none;
margin-bottom: 30px;
flex: 1;
padding-left: 0;
}

.pricing-features-list li {
position: relative;
padding-left: 26px;
color: #d1d5db;
font-size: 0.88rem;
margin-bottom: 11px;
line-height: 1.4;
}

.pricing-features-list li svg {
position: absolute;
left: 0;
top: 2px;
color: #34d399;
}

.pricing-features-list li strong {
color: #fff;
font-weight: 600;
}

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

/* Agency Pricing Section */
.agency-pricing {
margin-top: 80px;
padding: 56px 48px;
background: linear-gradient(135deg, rgba(18, 23, 34, 0.95), rgba(26, 33, 49, 0.85));
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.1);
position: relative;
overflow: hidden;
}

.agency-pricing::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 380px;
height: 380px;
background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
pointer-events: none;
}

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

.agency-content h2 {
font-size: 2.2rem;
margin-bottom: 12px;
letter-spacing: -0.01em;
}

.agency-desc {
color: var(--text-muted);
font-size: 1.05rem;
margin-bottom: 24px;
line-height: 1.6;
}

.agency-features {
list-style: none;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 28px;
padding-left: 0;
}

.agency-features li {
display: flex;
align-items: center;
gap: 10px;
color: #e2e8f0;
font-size: 0.92rem;
font-weight: 500;
}

.agency-features li svg {
color: #34d399;
flex-shrink: 0;
}

.agency-table-container {
overflow-x: auto;
border-radius: var(--radius-md);
border: 1px solid var(--border-subtle);
background: rgba(9, 12, 16, 0.6);
}

.agency-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
text-align: left;
}

.agency-table th {
background: rgba(255, 255, 255, 0.04);
padding: 12px 18px;
color: #94a3b8;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 700;
border-bottom: 1px solid var(--border-subtle);
}

.agency-table td {
padding: 12px 18px;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
color: #f1f5f9;
}

.agency-table tr:last-child td {
border-bottom: none;
}

.agency-table td:nth-child(2) {
font-weight: 700;
color: #38bdf8;
}

.agency-table td a {
color: #818cf8;
text-decoration: underline;
}

.agency-card-wrapper {
display: flex;
justify-content: center;
}

.agency-card {
width: 100%;
max-width: 380px;
background: linear-gradient(180deg, rgba(28, 35, 54, 0.95) 0%, rgba(17, 22, 34, 0.95) 100%);
border: 1px solid var(--primary);
border-radius: var(--radius-xl);
padding: 36px 30px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.25);
text-align: center;
}

.agency-card h3 {
font-size: 1.6rem;
font-weight: 700;
margin-bottom: 8px;
}

.agency-card .price {
font-size: 2.2rem;
font-weight: 800;
color: #fff;
margin: 12px 0 24px;
}

.agency-card .btn {
width: 100%;
margin-bottom: 24px;
padding: 14px;
font-size: 1rem;
}

.agency-card .feature-list {
list-style: none;
text-align: left;
margin-bottom: 24px;
padding-left: 0;
}

.agency-card .feature-list li {
padding: 6px 0;
color: #cbd5e1;
font-size: 0.92rem;
display: flex;
align-items: center;
gap: 8px;
}

.agency-card .feature-list li svg {
color: #34d399;
}

.agency-pro-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(99, 102, 241, 0.15);
border: 1px solid rgba(99, 102, 241, 0.35);
border-radius: 9999px;
color: #c7d2fe;
font-size: 0.85rem;
font-weight: 600;
}

/* FAQ Accordion */
.faq-grid {
max-width: 800px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 16px;
}

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

.faq-item:hover {
border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
padding: 20px 24px;
font-size: 1.05rem;
font-weight: 600;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
user-select: none;
}

.faq-question svg {
transition: transform 0.2s ease;
color: var(--text-dim);
}

.faq-item.active .faq-question svg {
transform: rotate(180deg);
color: #fff;
}

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

.faq-item.active .faq-answer {
display: block;
}

/* CTA Banner */
.cta-banner {
background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2) 0%, rgba(17, 22, 34, 0.8) 100%);
border: 1px solid var(--border-focus);
border-radius: var(--radius-xl);
padding: 70px 40px;
text-align: center;
box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
margin: 80px auto;
max-width: 1000px;
}

.cta-banner h2 {
font-size: 2.8rem;
margin-bottom: 16px;
}

.cta-banner p {
color: var(--text-muted);
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto 32px;
}

/* Footer */
footer {
border-top: 1px solid var(--border-subtle);
background: rgba(9, 12, 16, 0.9);
padding: 60px 0 30px;
font-size: 0.9rem;
}

.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 50px;
}

.footer-brand p {
color: var(--text-dim);
font-size: 0.9rem;
margin-top: 14px;
max-width: 300px;
}

.footer-col h4 {
color: #fff;
font-size: 0.95rem;
margin-bottom: 18px;
font-weight: 600;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 10px;
}

.footer-links a {
color: var(--text-dim);
text-decoration: none;
transition: color 0.15s ease;
}

.footer-links a:hover {
color: #fff;
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.05);
color: var(--text-dim);
font-size: 0.85rem;
}

@media (max-width: 1200px) {
.pricing-grid {
grid-template-columns: repeat(2, 1fr);
max-width: 800px;
}
}

/* Responsive */
@media (max-width: 992px) {
.hero h1 { font-size: 2.8rem; }
.window-content { grid-template-columns: 1fr; }
.terminal-panel { border-right: none; border-bottom: 1px solid var(--border-subtle); }
.flow-diagram { grid-template-columns: 1fr 1fr; }
.pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
.agency-pricing-grid { grid-template-columns: 1fr; gap: 36px; }
.agency-features { grid-template-columns: 1fr; }
.agency-card { max-width: 100%; }
.footer-grid { grid-template-columns: 1fr 1fr; }
  
.hamburger {
display: flex;
}
  
.nav-links {
display: none;
position: absolute;
top: 72px;
left: 0;
right: 0;
background: rgba(13, 17, 26, 0.98);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
flex-direction: column;
align-items: flex-start;
padding: 24px 32px;
gap: 20px;
border-bottom: 1px solid var(--border-subtle);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
  
.nav-links.open {
display: flex;
}
  
.nav-actions .btn-sm:not(.btn-primary) {
display: none;
}
}

@media (max-width: 640px) {
.hero h1 { font-size: 2.2rem; }
.hero p { font-size: 1.05rem; }
.hero-stats { flex-direction: column; gap: 20px; }
.flow-diagram { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* Interior Pages Styles */
.page-header {
padding: 70px 0 50px;
text-align: center;
position: relative;
}

.page-header h1 {
font-size: 3.2rem;
margin: 16px 0 14px;
letter-spacing: -0.02em;
}

.page-header p {
color: var(--text-muted);
font-size: 1.2rem;
max-width: 720px;
margin: 0 auto;
line-height: 1.6;
}

/* Contact Page Styles (Matching FormLayer Structure) */
.contact-section {
padding: 40px 0 100px;
}

.contact-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
max-width: 1050px;
margin: 0 auto 50px;
}

.contact-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
padding: 40px 32px;
text-align: center;
position: relative;
transition: all 0.3s ease;
backdrop-filter: blur(12px);
display: flex;
flex-direction: column;
align-items: center;
}

.contact-card::before {
content: '';
position: absolute;
top: 0;
left: 30px;
right: 30px;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
border-radius: 0 0 4px 4px;
}

.contact-card:hover {
transform: translateY(-5px);
border-color: rgba(99, 102, 241, 0.4);
box-shadow: 0 12px 35px rgba(99, 102, 241, 0.18);
background: var(--bg-card-hover);
}

.icon-wrap {
width: 64px;
height: 64px;
border-radius: 50%;
background: rgba(99, 102, 241, 0.12);
border: 1px solid rgba(99, 102, 241, 0.25);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 22px;
color: #818cf8;
}

.icon-wrap svg {
width: 32px;
height: 32px;
}

.contact-card h3 {
font-size: 1.35rem;
margin-bottom: 12px;
color: #fff;
}

.contact-card p {
color: var(--text-muted);
line-height: 1.6;
font-size: 0.95rem;
margin-bottom: 0;
}

.contact-card a {
color: #818cf8;
text-decoration: none;
font-weight: 600;
transition: color 0.15s ease;
}

.contact-card a:hover {
color: #a5b4fc;
text-decoration: underline;
}

.contact-form-wrapper {
max-width: 800px;
margin: 0 auto;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
padding: 44px 40px;
box-shadow: var(--shadow-md);
}

.form-group-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}

.form-group {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}

.form-group label {
font-size: 0.88rem;
font-weight: 600;
color: #e5e7eb;
margin-bottom: 8px;
}

.form-control {
background: var(--bg-input);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
padding: 12px 16px;
color: #fff;
font-size: 0.95rem;
outline: none;
transition: all 0.2s ease;
font-family: inherit;
}

.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

textarea.form-control {
min-height: 130px;
resize: vertical;
}

@media (max-width: 768px) {
.contact-grid { grid-template-columns: 1fr; }
.form-group-row { grid-template-columns: 1fr; }
.page-header h1 { font-size: 2.4rem; }
.contact-form-wrapper { padding: 28px 20px; }
}

/* Feature Deep-Dive Cards */
.feature-deep-card {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
margin-bottom: 80px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xl);
padding: 48px;
}

.feature-deep-card.reverse {
direction: rtl;
}

.feature-deep-card.reverse > * {
direction: ltr;
}

.feature-deep-info h3 {
font-size: 1.85rem;
margin: 12px 0 16px;
}

.feature-deep-info p {
color: var(--text-muted);
font-size: 1.05rem;
line-height: 1.6;
margin-bottom: 20px;
}

.feature-deep-list {
list-style: none;
}

.feature-deep-list li {
position: relative;
padding-left: 28px;
color: #d1d5db;
font-size: 0.95rem;
margin-bottom: 10px;
line-height: 1.45;
}

.feature-deep-list li svg {
position: absolute;
left: 0;
top: 2px;
color: #34d399;
}

@media (max-width: 900px) {
.feature-deep-card {
grid-template-columns: 1fr;
gap: 30px;
padding: 30px 24px;
}
}

