:root {
  --bg: #0D0F12;
  --bg2: #111318;
  --bg3: #161A1F;
  --surface: #1E2328;
  --surface2: #252A30;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.1);
  --text: #E8EAED;
  --text2: #9AA0A6;
  --text3: #6B7280;
  --accent: #2B6BD6;
  --accent-bright: #4A8FF5;
  --accent-dim: #1A4FBF;
  --cyan: #00D4AA;
  --cyan-dim: rgba(0,212,170,0.12);
  --cyan-glow: rgba(0,212,170,0.2);
  --gold: #D4A017;
  --gold-dim: rgba(212,160,23,0.12);
  --gold-glow: rgba(212,160,23,0.2);
  --brand-red: #C0392B;
  --danger: #E74C3C;
  --success: #27AE60;
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1400px;
  --nav-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #33e6be; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wide-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ─── NAV ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(13,15,18,0.7); backdrop-filter: blur(24px) saturate(1.2); border-bottom: 1px solid var(--border); height: var(--nav-h); transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(13,15,18,0.95); box-shadow: 0 1px 40px rgba(0,0,0,0.5); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.nav-logo-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 1.5px; }
.logo-accent { color: var(--cyan); margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text2); transition: color .2s; border-radius: var(--radius-sm); letter-spacing: 0.01em; }
.nav-link:hover { color: var(--text); }
.nav-link-cta { background: var(--accent); color: #fff !important; font-weight: 600; border-radius: 6px; }
.nav-link-cta:hover { background: var(--accent-bright); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 6px; font-family: var(--font); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s; border: none; text-decoration: none; letter-spacing: 0.01em; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 16px rgba(43,107,214,0.25); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(43,107,214,0.35); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ─── HERO ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 60px) 24px 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,212,170,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,170,0.02) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent); }
.hero-particles { position: absolute; inset: 0; }
.hero-content { position: relative; max-width: 1000px; text-align: center; z-index: 1; }
.hero-badge { display: inline-block; padding: 8px 20px; border-radius: 50px; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--cyan-glow); margin-bottom: 40px; text-transform: uppercase; }
.hero-title { font-family: var(--font-display); font-size: clamp(48px, 8vw, 88px); font-weight: 800; line-height: 1.02; margin-bottom: 28px; letter-spacing: -0.02em; }
.hero-line { display: block; }
.hero-accent { background: linear-gradient(135deg, var(--accent-bright), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 19px; color: var(--text2); max-width: 780px; margin: 0 auto 48px; line-height: 1.7; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 72px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--mono); font-size: 15px; color: var(--text); font-weight: 600; letter-spacing: 0.02em; }
.stat span { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px; }
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }

/* ─── SECTIONS ─── */
.section { padding: 140px 0; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; max-width: 860px; margin: 0 auto 72px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; margin-bottom: 20px; font-family: var(--mono); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.desc { font-size: 17px; color: var(--text2); line-height: 1.75; }

/* ─── GLASS CARDS ─── */
.card-grid { display: grid; gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.glass-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: transform .3s, border-color .3s, box-shadow .3s, background .3s; }
.glass-card:hover { transform: translateY(-4px); border-color: rgba(0,212,170,0.15); box-shadow: 0 12px 40px rgba(0,0,0,0.3); background: rgba(255,255,255,0.03); }
.glass-card.sm { padding: 24px; }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.glass-card h3, .glass-card h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 10px; font-size: 18px; }
.glass-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }
.caps .glass-card h4 { font-size: 16px; }

/* ─── FEATURES ─── */
.features { display: flex; flex-direction: column; gap: 100px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual { display: flex; justify-content: center; align-items: center; }
.feat-graphic { width: 340px; height: 340px; position: relative; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.feat-graphic.detect { background: rgba(0,212,170,0.03); border: 1px solid rgba(0,212,170,0.1); overflow: hidden; flex-direction: column; }
.heatmap-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); gap: 2px; width: 100%; height: 100%; padding: 16px; }
.heatmap-cell { border-radius: 2px; transition: background 0.6s ease; }
.heatmap-label { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; }
.feat-graphic.assess { background: rgba(43,107,214,0.04); border: 1px solid rgba(43,107,214,0.1); border-radius: var(--radius); flex-direction: column; gap: 24px; padding: 32px; width: 340px; height: auto; }
.score-ring { position: relative; width: 120px; height: 120px; }
.score-ring svg { width: 100%; height: 100%; }
.score-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--text); }
.score-val small { font-size: 16px; color: var(--text3); margin-left: 2px; }
.score-bars { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-row span { font-size: 11px; color: var(--text3); width: 70px; text-align: right; flex-shrink: 0; font-family: var(--mono); }
.bar { flex: 1; height: 5px; background: rgba(255,255,255,0.05); border-radius: 3px; position: relative; overflow: hidden; }
.bar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 3px; }
.feat-graphic.report { background: rgba(43,107,214,0.04); border: 1px solid rgba(43,107,214,0.1); border-radius: var(--radius); padding: 40px; width: 340px; height: auto; }
.report-stack { position: relative; width: 200px; height: 260px; margin: 0 auto; }
.rpage { position: absolute; width: 180px; background: var(--surface2); border-radius: 8px; padding: 16px; border: 1px solid var(--border); }
.rpage.p3 { top: 0; left: 20px; height: 200px; z-index: 1; opacity: .5; }
.rpage.p2 { top: 16px; left: 10px; height: 210px; z-index: 2; opacity: .7; }
.rpage.p1 { top: 32px; left: 0; height: 220px; z-index: 3; }
.rhead { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--cyan); margin-bottom: 12px; letter-spacing: 1px; }
.rline { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); margin-bottom: 8px; }
.rline.w60 { width: 60%; } .rline.w70 { width: 70%; } .rline.w80 { width: 80%; } .rline.w90 { width: 90%; }
.rchart { width: 80%; height: 40px; margin-top: 16px; background: linear-gradient(135deg, rgba(43,107,214,0.1), rgba(0,212,170,0.08)); border-radius: 4px; border: 1px solid rgba(43,107,214,0.1); }
.rtable { width: 90%; height: 50px; margin-top: 12px; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px); border-radius: 4px; border: 1px solid var(--border); }
.feat-num { font-family: var(--mono); font-size: 13px; color: var(--cyan); font-weight: 500; }
.feature-text h3 { font-family: var(--font-display); font-size: 30px; font-weight: 800; margin: 8px 0 16px; letter-spacing: -0.01em; }
.feature-text p { color: var(--text2); margin-bottom: 20px; line-height: 1.7; font-size: 16px; }
.feature-text ul { display: flex; flex-direction: column; gap: 10px; }
.feature-text li { font-size: 14px; color: var(--text2); padding-left: 20px; position: relative; }
.feature-text li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }

/* ─── TECH NODE ─── */
.tech-node { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); margin-bottom: 64px; overflow: hidden; }
.tech-header { display: flex; align-items: center; gap: 12px; padding: 20px 28px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--cyan); }
.status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: dotPulse 2s ease-in-out infinite; box-shadow: 0 0 8px rgba(39,174,96,0.4); }
@keyframes dotPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
.tech-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.spec-group { background: var(--surface); padding: 24px; }
.spec-group h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--text3); margin-bottom: 12px; font-family: var(--mono); }
.spec { font-size: 13px; color: var(--text2); padding: 4px 0; border-bottom: 1px solid var(--border); }
.spec:last-child { border-bottom: none; }

/* ─── TIERS ─── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.tier { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 28px; display: flex; flex-direction: column; position: relative; transition: border-color .3s, transform .3s; }
.tier:hover { border-color: rgba(0,212,170,0.15); transform: translateY(-4px); }
.tier.featured { border-color: var(--accent); background: rgba(43,107,214,0.04); box-shadow: 0 0 60px rgba(43,107,214,0.06); }
.tier-badge { position: absolute; top: -1px; right: 24px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 0 0 6px 6px; }
.tier-head { margin-bottom: 16px; }
.echelon { font-size: 11px; color: var(--cyan); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--mono); }
.tier h3 { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-top: 4px; }
.tier p { font-size: 14px; color: var(--text2); margin-bottom: 20px; line-height: 1.65; }
.tier ul { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.tier li { font-size: 13px; color: var(--text2); padding-left: 16px; position: relative; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-size: 12px; }
.tier .btn { width: 100%; }
.extras { text-align: center; }
.extras h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 32px; }

/* ─── ABOUT ─── */
.about-body { max-width: 940px; margin: 0 auto; }
.about-body p { font-size: 17px; color: var(--text2); margin-bottom: 20px; line-height: 1.8; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.value { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.value h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 10px; color: var(--text); }
.value p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ─── CONTACT ─── */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea { padding: 14px 16px; background: var(--bg); border: 1px solid var(--border2); border-radius: 6px; color: var(--text); font-family: var(--font); font-size: 14px; outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci > span { font-size: 24px; }
.ci h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ci a { font-size: 14px; color: var(--cyan); }
.ci-notice { margin-top: 16px; padding: 16px; background: rgba(231,76,60,0.05); border: 1px solid rgba(231,76,60,0.12); border-radius: 6px; }
.ci-notice p { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ─── FOOTER ─── */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand p { font-size: 13px; color: var(--text3); margin-top: 0; width: 100%; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--text3); margin-bottom: 12px; font-family: var(--mono); }
.footer-cols a { display: block; font-size: 14px; color: var(--text2); padding: 4px 0; }
.footer-cols a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom p { font-size: 13px; color: var(--text3); }
.disclaimer { font-size: 12px !important; }

/* ─── CORELL8 LOGO ─── */
.corell8-logo { width: 320px; height: auto; margin: 16px auto 24px; border-radius: 12px; filter: drop-shadow(0 0 24px rgba(0,212,170,0.15)); }

/* ─── CAROUSEL ─── */
.showcase-carousel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.carousel-track { position: relative; }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.carousel-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.carousel-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,15,18,0.85)); pointer-events: none; }
.carousel-img-wrap img, .carousel-img-wrap video { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { padding: 32px 40px; }
.carousel-caption h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.carousel-caption p { font-size: 15px; color: var(--text2); line-height: 1.7; max-width: 700px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 0 24px; }
.carousel-btn { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--cyan); color: var(--cyan); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer; transition: all .2s; }
.carousel-dot.active { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .25s; }
.fade-in:nth-child(6) { transition-delay: .3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .tech-specs { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .wide-container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 40px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-div { width: 40px; height: 1px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-row.reverse > * { direction: ltr; }
  .card-grid.two, .card-grid.three, .card-grid.four { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .section { padding: 80px 0; }
  .showcase-gallery { grid-template-columns: 1fr; }
}
