:root {
    --accent: #00e5ff;
    --accent-h: 187;
    --accent-s: 100%;
    --accent-l: 50%;
    --accent-glow: rgba(0, 229, 255, 0.3);
    --accent-dim: rgba(0, 229, 255, 0.08);
    --bg: #06060b;
    --bg-card: rgba(14, 14, 22, 0.7);
    --bg-card-hover: rgba(20, 20, 35, 0.8);
    --text: #c8c8d0;
    --text-dim: #707080;
    --text-bright: #f0f0f5;
    --border: rgba(255,255,255,0.06);
    --glass-bg: rgba(12, 12, 20, 0.6);
    --glass-border: rgba(255,255,255,0.08);
    --gradient: linear-gradient(135deg, #00e5ff, #0066ff);
    --section-gap: 140px;
    --amber: #ff9800;
    --amber-glow: rgba(255,152,0,0.3);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
section { padding: var(--section-gap) 0; position: relative; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: .75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 16px; display: block; }
.section-title { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--text-bright); line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-dim); max-width: 640px; line-height: 1.7; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
h3 { font-size: 1.2rem; font-weight: 700; }
.brand-name { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 1.5px; display: flex; align-items: center; gap: 0; }
.brand-name .wm { color: var(--text-bright); }
.brand-name .num { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--accent-glow), transparent); margin: 0; border: none; opacity: 0.5; }

/* Animated BG */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.dot-grid { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 48px 48px; }
.particle { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; background: rgba(0, 229, 255, 0.12); animation: particleDrift linear infinite; }
@keyframes particleDrift { 0% { transform: translateY(100vh) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) translateX(80px); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* NAV */
nav { position: fixed; top:0; left:0; right:0; z-index:1000; background: rgba(6,6,11,0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--glass-border); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { opacity: 1; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: .82rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text-bright); opacity:1; }
.nav-cta { background: var(--amber); color: #000 !important; font-weight: 700 !important; padding: 10px 24px; border-radius: 8px; font-size: .85rem; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--amber-glow); }
.lang-toggle { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-btn { padding: 4px 10px; font-size: .75rem; font-weight: 600; background: transparent; color: var(--text-dim); border: none; cursor: pointer; transition: all .2s; font-family: 'JetBrains Mono', monospace; }
.lang-btn.active { background: var(--accent-dim); color: var(--accent); }
.hamburger { display: none; background: none; border: none; color: var(--text-bright); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,229,255,0.08), transparent 70%); pointer-events: none; transform: translate(-50%, -50%); transition: left .3s, top .3s; }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.15); border-radius: 100px; padding: 6px 16px; font-size: .8rem; color: var(--accent); margin-bottom: 32px; font-weight: 500; }
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.08; color: var(--text-bright); letter-spacing: -1px; margin-bottom: 24px; }
.hero p { font-size: 1.2rem; color: var(--text); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient); color: #000; font-weight: 700; padding: 16px 36px; border-radius: 12px; font-size: 1rem; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); opacity: 1; }
.btn-amber { background: var(--amber) !important; color: #000 !important; }
.btn-amber:hover { box-shadow: 0 8px 30px var(--amber-glow) !important; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text-bright); font-weight: 600; padding: 16px 36px; border-radius: 12px; font-size: 1rem; border: 1px solid var(--glass-border); cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-dim); opacity: 1; }
.trust-bar { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-dim); }
.trust-icon { width: 36px; height: 36px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.trust-icon svg { width: 18px; height: 18px; }

/* PROBLEM */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.problem-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; transition: border-color .3s, transform .3s; }
.problem-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-2px); }
.problem-stat { font-family: 'JetBrains Mono', monospace; font-size: 3rem; font-weight: 900; margin-bottom: 8px; }
.problem-card h3 { font-size: 1.1rem; color: var(--text-bright); margin-bottom: 12px; }
.problem-card p { font-size: .9rem; color: var(--text-dim); }

/* AUTOMATIONS */
.automation-list { margin-top: 60px; display: flex; flex-direction: column; gap: 16px; }
.automation-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .3s; }
.automation-item:hover, .automation-item.open { border-color: rgba(0,229,255,0.2); }
.automation-header { display: flex; align-items: center; gap: 20px; padding: 28px 32px; cursor: pointer; transition: background .2s; }
.automation-header:hover { background: rgba(255,255,255,0.02); }
.automation-num { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.15); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; flex-shrink: 0; font-weight: 700; }
.automation-icon { width: 44px; height: 44px; background: var(--accent-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.automation-icon svg { width: 22px; height: 22px; }
.automation-title-block { flex: 1; }
.automation-title-block h3 { font-size: 1.15rem; color: var(--text-bright); margin-bottom: 2px; }
.automation-title-block p { font-size: .85rem; color: var(--text-dim); }
.automation-price-tag { font-family: 'JetBrains Mono', monospace; font-size: .85rem; color: var(--accent); text-align: right; flex-shrink: 0; }
.automation-price-tag .setup { font-weight: 700; }
.automation-price-tag .maint { font-size: .75rem; color: var(--text-dim); }
.automation-toggle { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); transition: transform .3s; flex-shrink: 0; }
.automation-item.open .automation-toggle { transform: rotate(180deg); }
.automation-body { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.automation-item.open .automation-body { max-height: 800px; }
.automation-detail { padding: 0 32px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.automation-detail h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.automation-detail p, .automation-detail li { font-size: .9rem; color: var(--text); line-height: 1.7; }
.automation-detail ul { list-style: none; padding: 0; }
.automation-detail ul li::before { content: '\2192 '; color: var(--accent); }
.auto-meta { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; grid-column: 1 / -1; }
.auto-meta-item { font-size: .8rem; color: var(--text-dim); }
.auto-meta-item strong { color: var(--text-bright); }

/* MARKETPLACE */
.mp-controls { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.mp-search { flex: 1; min-width: 200px; padding: 12px 16px 12px 42px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; color: var(--text-bright); font-family: inherit; font-size: .9rem; transition: border-color .2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707080' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; }
.mp-search:focus { outline: none; border-color: var(--accent); }
.mp-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-filter-btn { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .2s; font-family: inherit; }
.mp-filter-btn:hover, .mp-filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.mp-sort { padding: 8px 16px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text-dim); font-size: .8rem; cursor: pointer; font-family: inherit; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23707080' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.mp-sort option { background: #12121a; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.mp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: all .4s cubic-bezier(.4,0,.2,1); cursor: pointer; position: relative; overflow: hidden; }
.mp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); opacity: 0; transition: opacity .3s; }
.mp-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,229,255,0.08); }
.mp-card:hover::before { opacity: 1; }
.mp-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mp-agent-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mp-agent-icon svg { width: 28px; height: 28px; }
.mp-card-head h3 { font-size: 1.1rem; color: var(--text-bright); margin-bottom: 2px; }
.mp-badge { display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 2px 8px; border-radius: 4px; background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,229,255,0.2); }
.mp-card-desc { font-size: .88rem; color: var(--text-dim); margin-bottom: 16px; line-height: 1.6; }
.mp-card-features { list-style: none; padding: 0; margin-bottom: 16px; }
.mp-card-features li { font-size: .82rem; color: var(--text); padding: 3px 0; padding-left: 18px; position: relative; }
.mp-card-features li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #00ff88; }
.mp-card-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: .8rem; }
.mp-stars { color: #fbbf24; letter-spacing: -1px; }
.mp-rating-num { color: var(--text-dim); }
.mp-users { color: var(--text-dim); }
.mp-card-price { font-family: 'JetBrains Mono', monospace; margin-bottom: 20px; }
.mp-card-price .amount { font-size: 1.6rem; font-weight: 800; color: var(--text-bright); }
.mp-card-price .period { font-size: .85rem; color: var(--text-dim); }
.mp-card-actions { display: flex; gap: 10px; }
.mp-btn-trial { flex: 1; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(0,229,255,0.3); background: var(--accent-dim); color: var(--accent); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .2s; font-family: inherit; text-align: center; }
.mp-btn-trial:hover { background: rgba(0,229,255,0.15); border-color: var(--accent); }
.mp-btn-subscribe { flex: 1; padding: 12px 16px; border-radius: 10px; border: none; background: var(--gradient); color: #000; font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .2s; font-family: inherit; text-align: center; }
.mp-btn-subscribe:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.mp-card.hidden { display: none; }
.mp-empty { text-align: center; padding: 60px 20px; color: var(--text-dim); font-size: 1rem; display: none; grid-column: 1/-1; }

/* AGENT DETAIL MODAL */
.agent-modal-overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.agent-modal-overlay.active { opacity: 1; pointer-events: all; }
.agent-modal { background: #0e0e16; border: 1px solid var(--border); border-radius: 24px; max-width: 800px; width: 94%; max-height: 88vh; overflow-y: auto; padding: 0; position: relative; }
.agent-modal-header { padding: 40px 40px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 20px; }
.agent-modal-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.agent-modal-icon svg { width: 34px; height: 34px; }
.agent-modal-title h2 { font-size: 1.6rem; color: var(--text-bright); margin-bottom: 4px; }
.agent-modal-title p { font-size: .95rem; color: var(--text-dim); }
.agent-modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; transition: background .2s; }
.agent-modal-close:hover { background: rgba(255,255,255,0.05); }
.agent-modal-body { padding: 32px 40px; }
.agent-modal-body h3 { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; margin-top: 28px; }
.agent-modal-body h3:first-child { margin-top: 0; }
.agent-modal-body p { font-size: .92rem; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.agent-modal-features { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent-modal-features li { font-size: .88rem; color: var(--text); padding: 10px 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; padding-left: 32px; position: relative; }
.agent-modal-features li::before { content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: #00ff88; }
.agent-modal-usecases { list-style: none; padding: 0; }
.agent-modal-usecases li { font-size: .88rem; color: var(--text); line-height: 1.7; padding: 12px 0; border-bottom: 1px solid var(--border); }
.agent-modal-usecases li:last-child { border-bottom: none; }
.agent-modal-integrations { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-modal-integrations span { padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border); font-size: .8rem; color: var(--text-dim); }
.agent-modal-faq { margin-top: 8px; }
.agent-modal-faq details { border-bottom: 1px solid var(--border); }
.agent-modal-faq summary { padding: 14px 0; font-size: .92rem; color: var(--text-bright); font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.agent-modal-faq summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; }
.agent-modal-faq details[open] summary::after { content: '\2212'; }
.agent-modal-faq details p { padding-bottom: 14px; }
.agent-modal-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.agent-modal-price-card { padding: 24px; border-radius: 14px; border: 1px solid var(--border); text-align: center; transition: border-color .2s; cursor: pointer; }
.agent-modal-price-card:hover { border-color: var(--accent); }
.agent-modal-price-card.featured { border-color: var(--accent); background: rgba(0,229,255,0.04); }
.agent-modal-price-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 8px; }
.agent-modal-price-card .price { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; font-weight: 800; color: var(--text-bright); }
.agent-modal-price-card .price small { font-size: .8rem; font-weight: 400; color: var(--text-dim); }
.agent-modal-price-card .save { font-size: .8rem; color: #00ff88; font-weight: 600; margin-top: 4px; }
.agent-modal-cta { margin-top: 24px; padding: 16px 36px; border-radius: 12px; border: none; background: var(--gradient); color: #000; font-weight: 700; font-size: 1rem; cursor: pointer; width: 100%; font-family: inherit; transition: all .2s; }
.agent-modal-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.agent-modal-trial-msg { text-align: center; font-size: .85rem; color: var(--text-dim); margin-top: 10px; }

/* CASE STUDIES */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.case-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; transition: border-color .3s, transform .3s; }
.case-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-2px); }
.case-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.case-card h3 { font-size: 1.15rem; color: var(--text-bright); margin-bottom: 12px; }
.case-card p { font-size: .9rem; color: var(--text-dim); margin-bottom: 16px; }
.case-results { display: flex; gap: 24px; margin-bottom: 20px; }
.case-result { text-align: center; }
.case-result .num { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 800; display: block; }
.case-result .label { font-size: .75rem; color: var(--text-dim); }
.case-quote { font-style: italic; font-size: .9rem; color: var(--text); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: 16px; }
.case-quote cite { display: block; font-style: normal; font-size: .8rem; color: var(--text-dim); margin-top: 8px; }

/* HOW IT WORKS */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 60px; position: relative; }
.steps::before { content: ''; position: absolute; left: 27px; top: 36px; bottom: 36px; width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(0,229,255,0.1)); }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; }
.step-num { width: 56px; height: 56px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--accent); font-size: 1rem; flex-shrink: 0; position: relative; z-index: 1; }
.step-content h3 { font-size: 1.15rem; color: var(--text-bright); margin-bottom: 8px; }
.step-content p { font-size: .9rem; color: var(--text-dim); }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; text-align: center; transition: border-color .3s, transform .3s; }
.why-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-2px); }
.why-card .icon { width: 56px; height: 56px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.05rem; color: var(--text-bright); margin-bottom: 10px; }
.why-card p { font-size: .88rem; color: var(--text-dim); }

/* SEGMENTS */
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.segment-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; transition: border-color .3s, transform .3s; }
.segment-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-2px); }
.segment-card .seg-icon { width: 52px; height: 52px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.segment-card .seg-icon svg { width: 24px; height: 24px; }
.segment-card h3 { font-size: 1.05rem; color: var(--text-bright); margin-bottom: 6px; }
.segment-card .seg-size { font-size: .75rem; color: var(--accent); font-family: 'JetBrains Mono', monospace; margin-bottom: 10px; }
.segment-card p { font-size: .85rem; color: var(--text-dim); }

/* HOSTING */
.hosting-section { background: linear-gradient(135deg, rgba(0,229,255,0.04), rgba(0,255,136,0.04)); border: 1px solid rgba(0,229,255,0.1); border-radius: 20px; padding: 60px; text-align: center; margin-top: 60px; }
.hosting-section h3 { font-size: 1.8rem; color: var(--text-bright); margin-bottom: 16px; }
.hosting-section p { font-size: 1rem; color: var(--text); max-width: 600px; margin: 0 auto 32px; }
.hosting-benefits { display: flex; gap: 40px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.hosting-benefit { font-size: .9rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.hosting-benefit svg { width: 16px; height: 16px; flex-shrink: 0; }

/* PRICING */
.pricing-comparison { margin-top: 60px; overflow-x: auto; }
.pricing-comparison table { width: 100%; border-collapse: collapse; }
.pricing-comparison th, .pricing-comparison td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); font-size: .9rem; }
.pricing-comparison th { color: var(--text-dim); font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.pricing-comparison td:first-child { text-align: left; color: var(--text-bright); font-weight: 500; }
.pricing-comparison .highlight { background: rgba(0,229,255,0.05); }
.pricing-comparison .highlight th { color: var(--accent); }
.check { color: #00ff88; }
.cross { color: #ff4466; }
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bundle-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; transition: border-color .3s, transform .3s; }
.bundle-card:hover { border-color: rgba(0,229,255,0.2); transform: translateY(-2px); }
.bundle-card.featured { border-color: var(--accent); background: linear-gradient(135deg, rgba(0,229,255,0.05), rgba(0,255,136,0.03)); }
.bundle-card h3 { font-size: 1.2rem; color: var(--text-bright); margin-bottom: 8px; }
.bundle-discount { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 800; margin: 16px 0; }
.bundle-card p { font-size: .88rem; color: var(--text-dim); margin-bottom: 20px; }

/* ROI Calculator */
.roi-calc { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 48px; margin-top: 60px; }
.roi-calc h3 { font-size: 1.5rem; color: var(--text-bright); margin-bottom: 8px; text-align: center; }
.roi-calc > p { font-size: .9rem; color: var(--text-dim); text-align: center; margin-bottom: 40px; }
.roi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.roi-input label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 8px; }
.roi-input input[type="range"] { width: 100%; accent-color: var(--accent); margin-bottom: 4px; }
.roi-value { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; color: var(--text-bright); font-weight: 700; }
.roi-output { text-align: center; padding: 32px; background: linear-gradient(135deg, rgba(0,229,255,0.06), rgba(0,255,136,0.04)); border-radius: 16px; border: 1px solid rgba(0,229,255,0.12); }
.roi-output .big-num { font-family: 'JetBrains Mono', monospace; font-size: 3rem; font-weight: 900; margin-bottom: 4px; }
.roi-output .label { font-size: .9rem; color: var(--text-dim); }

/* AUDIT CTA */
.audit-section { background: linear-gradient(135deg, rgba(255,152,0,0.06), rgba(255,100,0,0.03)); border: 1px solid rgba(255,152,0,0.15); border-radius: 24px; padding: 72px 48px; text-align: center; }
.audit-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-bright); margin-bottom: 16px; }
.audit-section > p { font-size: 1.05rem; color: var(--text); max-width: 560px; margin: 0 auto 40px; }
.audit-form { max-width: 600px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; color: var(--text-bright); font-family: inherit; font-size: .9rem; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23707080' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: #12121a; }

/* FAQ */
.faq-list { max-width: 780px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 24px 0; background: none; border: none; color: var(--text-bright); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; font-family: inherit; }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--accent); transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 24px; font-size: .9rem; color: var(--text-dim); line-height: 1.7; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
.contact-info h3 { font-size: 1.3rem; color: var(--text-bright); margin-bottom: 16px; }
.contact-detail { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; font-size: .9rem; }
.contact-detail .icon { width: 40px; height: 40px; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .85rem; color: var(--text-dim); margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .85rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--text-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-dim); }
.swiss-flag { display: inline-block; width: 18px; height: 13px; background: #ff0000; border-radius: 2px; position: relative; vertical-align: middle; margin-left: 4px; }
.swiss-flag::after { content: '+'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 12px; line-height: 1; font-weight: bold; }

/* LEGAL OVERLAYS */
.legal-overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.legal-overlay.active { opacity: 1; pointer-events: all; }
.legal-content { background: #12121a; border: 1px solid var(--border); border-radius: 20px; max-width: 700px; width: 90%; max-height: 80vh; overflow-y: auto; padding: 48px; position: relative; }
.legal-content h1 { font-size: 1.5rem; color: var(--text-bright); margin-bottom: 8px; }
.legal-content h2 { font-size: 1.1rem; color: var(--text-bright); margin-top: 28px; margin-bottom: 12px; }
.legal-content p, .legal-content li { font-size: .9rem; color: var(--text); line-height: 1.7; margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }
.legal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text-dim); font-size: 1.3rem; cursor: pointer; }

/* COOKIE */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: rgba(14,14,22,0.95); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 16px; padding: 20px 28px; z-index: 1500; max-width: 560px; width: 90%; transition: transform .4s; }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: .82rem; color: var(--text-dim); margin-bottom: 12px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-accept { background: var(--gradient); color: #000; font-weight: 700; padding: 8px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: .82rem; }
.cookie-decline { background: transparent; color: var(--text-dim); border: 1px solid var(--border); padding: 8px 20px; border-radius: 8px; cursor: pointer; font-size: .82rem; }

/* TOAST */
.toast { position: fixed; bottom: 24px; right: 24px; background: rgba(14,14,22,0.95); border: 1px solid var(--accent); border-radius: 12px; padding: 16px 24px; color: var(--text-bright); font-size: .9rem; z-index: 3000; transform: translateX(120%); transition: transform .3s; }
.toast.show { transform: translateX(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
    :root { --section-gap: 80px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,6,11,0.95); backdrop-filter: blur(20px); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .problem-grid, .why-grid, .bundles, .segments-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .automation-detail { grid-template-columns: 1fr; }
    .roi-inputs { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .automation-header { flex-wrap: wrap; }
    .automation-price-tag { width: 100%; text-align: left; margin-top: 8px; }
    .hosting-section { padding: 36px 24px; }
    .audit-section { padding: 48px 24px; }
    .mp-grid { grid-template-columns: 1fr; }
    .agent-modal-features { grid-template-columns: 1fr; }
    .agent-modal-pricing { grid-template-columns: 1fr; }
    .agent-modal-header { padding: 24px 20px 16px; flex-wrap: wrap; }
    .agent-modal-body { padding: 20px; }
    .cg-grid { grid-template-columns: 1fr !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .mp-grid { grid-template-columns: repeat(2, 1fr); }
    .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
.nav-links a.active{color:var(--accent) !important;}
/* ========== NEW STYLES - v2 UPGRADE ========== */

/* Page transition */
body { animation: pageIn 0.4s ease-out; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Enhanced hover micro-interactions */
.why-card, .case-card, .problem-card, .segment-card, .bundle-card { transition: border-color .3s, transform .3s, box-shadow .3s; }
.why-card:hover, .case-card:hover, .problem-card:hover { box-shadow: 0 8px 40px rgba(0,229,255,0.06); }

/* Gradient border animation on hover */
@keyframes borderGlow { 0%,100% { border-color: rgba(0,229,255,0.2); } 50% { border-color: rgba(0,229,255,0.4); } }

/* Loading spinner */
.loading { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Button loading state */
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }

/* Comparison table responsive */
@media (max-width: 768px) {
    .pricing-comparison { margin: 40px -16px 0; }
    .pricing-comparison table { font-size: .8rem; }
    .pricing-comparison th, .pricing-comparison td { padding: 10px 8px; }
}

/* Testimonial card enhance */
.case-card p[style*="font-style:italic"] { line-height: 1.7; }

/* Dashboard specific */
.automation-item[style*="border-color:rgba(0,255,136"] { background: linear-gradient(135deg, rgba(0,255,136,0.02), transparent); }

/* Blog card hover */
.case-card[style*="cursor:pointer"]:hover { border-color: rgba(0,229,255,0.3); }
.case-card[style*="cursor:pointer"]:hover .case-tag { color: var(--accent); }

/* Smooth section anchoring */
section[id] { scroll-margin-top: 80px; }

/* Input focus glow */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(0,229,255,0.1); }

/* Navbar blur enhance */
nav { transition: background .3s; }
nav.scrolled { background: rgba(6,6,11,0.85); }

/* Stats counter animation */
.problem-stat { transition: transform .3s; }
.problem-card:hover .problem-stat { transform: scale(1.05); }

/* Trust badge hover */
[style*="border-radius:100px"][style*="border:1px solid var(--border)"] { transition: border-color .3s, background .3s; }

/* Mobile exit popup */
@media (max-width: 768px) {
    #exitPopup > div { padding: 32px 24px; }
    #exitPopup h2 { font-size: 1.3rem !important; }
}


/* ========== v3 REDESIGN IMPROVEMENTS ========== */

/* Better card hover effects */
.why-card:hover, .case-card:hover, .problem-card:hover, .mp-card:hover {
    box-shadow: 0 12px 48px rgba(0,229,255,0.1);
    transform: translateY(-6px);
}

/* Automation item open state - subtle color accent */
.automation-item.open {
    border-color: rgba(0,229,255,0.25);
    box-shadow: 0 4px 24px rgba(0,229,255,0.06);
}

/* Services overview grid on automations page - 4 columns for the 12+1 grid */
@media (min-width: 769px) {
    #automations .why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    #automations .why-grid .why-card {
        padding: 24px 16px;
    }
    #automations .why-grid .why-card .icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }
}

/* Better amber CTA prominence */
.btn-amber {
    background: linear-gradient(135deg, #ff9800, #f97316) !important;
    box-shadow: 0 4px 16px rgba(255,152,0,0.25);
}
.btn-amber:hover {
    box-shadow: 0 8px 32px rgba(255,152,0,0.4) !important;
    transform: translateY(-2px);
}

/* Marketplace category cards */
.mp-card[data-cat="Compliance"] .mp-agent-icon {
    background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(0,255,136,0.1));
    border-color: rgba(0,229,255,0.2);
}

/* Better mobile card padding */
@media (max-width: 768px) {
    .why-card, .case-card, .problem-card {
        padding: 28px 24px;
    }
    .mp-card {
        padding: 24px 20px;
    }
    #automations .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    #automations .why-grid .why-card {
        padding: 16px 12px;
    }
    #automations .why-grid .why-card h3 {
        font-size: .82rem;
    }
    #automations .why-grid .why-card p {
        font-size: .72rem;
    }
    #automations .why-grid .why-card .icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
    #automations .why-grid .why-card .icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Testimonial card border accent */
.case-card {
    border-left: 3px solid transparent;
    transition: border-color .3s, transform .3s, box-shadow .3s, border-left-color .3s;
}
.case-card:hover {
    border-left-color: var(--accent);
}

/* Better section spacing consistency */
section {
    padding-top: 100px;
    padding-bottom: 100px;
}
