/*
Theme Name: Stratix AI
Theme URI: https://example.com/stratix-ai
Author: Stratix AI Inc.
Description: A modern, responsive one-page WordPress theme for Stratix AI Inc., focused on enterprise AI, agentic automation, and SparkCore.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stratix-ai
*/

:root {
  --bg: #06111a;
  --bg-soft: #0b1924;
  --card: rgba(13, 31, 44, 0.72);
  --line: rgba(167, 222, 255, 0.15);
  --text: #f4f8fb;
  --muted: #9fb4c4;
  --accent: #67e8f9;
  --accent-2: #60a5fa;
  --accent-3: #a78bfa;
  --success: #69f0ae;
  --shadow: 0 25px 80px rgba(0,0,0,.35);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(96,165,250,.14), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(103,232,249,.10), transparent 30%),
    linear-gradient(180deg, #06111a 0%, #07141e 45%, #06111a 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section.compact { padding: 68px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin: 0 0 20px; letter-spacing: -.04em; }
.section-copy { color: var(--muted); max-width: 760px; font-size: 18px; margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6,17,26,.70);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 58%, var(--accent-3));
  box-shadow: 0 0 34px rgba(103,232,249,.20);
}
.brand-mark::before,
.brand-mark::after { content:""; position:absolute; background:#06111a; border-radius: 99px; }
.brand-mark::before { width: 18px; height: 6px; left: 9px; top: 10px; transform: rotate(45deg); }
.brand-mark::after { width: 18px; height: 6px; left: 9px; top: 20px; transform: rotate(-45deg); }
.brand span { font-size: 19px; }
.brand small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .20em; color: #7e99aa; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: 25px; color: #cfe0ea; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: white; }
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; min-height: 46px; padding: 0 20px; font-weight: 750;
  transition: .2s ease; border: 1px solid transparent;
}
.nav-cta, .btn-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent), #93c5fd);
  box-shadow: 0 12px 34px rgba(103,232,249,.18);
}
.nav-cta:hover, .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(103,232,249,.24); }
.btn-secondary { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: white; }
.btn-secondary:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.mobile-toggle { display:none; border:0; background:transparent; color:white; font-size:24px; }

.hero { min-height: 760px; display: flex; align-items: center; overflow: hidden; padding: 82px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(54px, 7vw, 90px); line-height: .94; margin: 0 0 28px; letter-spacing: -.065em; max-width: 760px; }
.hero h1 .gradient { background: linear-gradient(90deg, #fff 15%, #8cecff 55%, #9eb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); max-width: 690px; font-size: 20px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px 28px; color: #a9bfcc; font-size: 13px; }
.hero-proof span { display:flex; align-items:center; gap:9px; }
.hero-proof i { width:7px; height:7px; border-radius:50%; background: var(--success); box-shadow:0 0 16px rgba(105,240,174,.8); }

.orbit-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(13,31,44,.80), rgba(8,22,32,.74));
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.orbit-glow { position:absolute; width:300px; height:300px; border-radius:50%; filter: blur(25px); opacity:.18; background:var(--accent-2); right:-90px; top:-90px; }
.orbit-center {
  position:absolute; width:170px; height:170px; border-radius:42px; left:50%; top:50%; transform:translate(-50%,-50%);
  background: linear-gradient(145deg, rgba(103,232,249,.18), rgba(96,165,250,.10));
  border: 1px solid rgba(144,229,255,.28); display:grid; place-items:center; text-align:center;
  box-shadow: inset 0 0 55px rgba(96,165,250,.08), 0 0 80px rgba(96,165,250,.09);
}
.orbit-center strong { font-size: 22px; display:block; }
.orbit-center small { color:#8eb2c6; font-weight:600; }
.ring { position:absolute; border:1px solid rgba(103,232,249,.18); border-radius:50%; left:50%; top:50%; transform:translate(-50%,-50%); }
.r1 { width:300px; height:300px; }
.r2 { width:420px; height:420px; border-style:dashed; animation: spin 34s linear infinite; }
@keyframes spin { to { transform:translate(-50%,-50%) rotate(360deg);} }
.node { position:absolute; padding:10px 13px; border-radius:13px; background:rgba(5,16,24,.88); border:1px solid rgba(255,255,255,.10); font-size:12px; font-weight:700; color:#d7e8f2; box-shadow:0 8px 24px rgba(0,0,0,.25); }
.node.n1{left:7%;top:18%}.node.n2{right:7%;top:19%}.node.n3{left:8%;bottom:19%}.node.n4{right:8%;bottom:18%}
.node b{color:var(--accent);margin-right:5px}

.trust-strip { border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.018); }
.trust-grid { display:grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding:28px 22px; border-right:1px solid rgba(255,255,255,.06); }
.trust-item:last-child { border-right:0; }
.trust-item strong { display:block; font-size:18px; margin-bottom:4px; }
.trust-item span { color:#859fad; font-size:13px; }

.cards-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:44px; }
.card {
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  padding:30px;
  min-height:260px;
  transition:.25s ease;
}
.card:hover { transform:translateY(-4px); border-color:rgba(103,232,249,.22); background:linear-gradient(180deg, rgba(103,232,249,.06), rgba(255,255,255,.018)); }
.icon-box { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:rgba(103,232,249,.10); border:1px solid rgba(103,232,249,.17); color:var(--accent); font-size:20px; margin-bottom:38px; }
.card h3 { margin:0 0 10px; font-size:22px; letter-spacing:-.02em; }
.card p { margin:0; color:var(--muted); font-size:15px; }
.card .mini-link { display:inline-flex; margin-top:20px; color:#ccebf8; font-size:13px; font-weight:700; }

.sparkcore-wrap { display:grid; grid-template-columns:.92fr 1.08fr; gap:60px; align-items:center; }
.device {
  position:relative; min-height:530px; border-radius:34px; border:1px solid rgba(255,255,255,.09);
  background:radial-gradient(circle at 50% 40%, rgba(103,232,249,.12), transparent 32%), #07151f; overflow:hidden;
}
.device-shell { position:absolute; left:50%; top:50%; width:320px; height:200px; transform:translate(-50%,-50%); border-radius:42px; background:linear-gradient(145deg,#101d26,#050b0f); border:1px solid #29404f; box-shadow:0 35px 80px #000; }
.device-port { position:absolute; width:56px; height:15px; background:#020405; border:1px solid #2d4654; border-radius:6px; top:94px; }
.device-port.left{left:-12px}.device-port.right{right:-12px}
.device-logo { position:absolute; inset:0; display:grid; place-items:center; font-size:26px; font-weight:850; letter-spacing:-.04em; }
.device-logo span { background:linear-gradient(90deg,#fff,var(--accent)); -webkit-background-clip:text;background-clip:text;color:transparent; }
.device-led { width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 18px rgba(105,240,174,.9); position:absolute; right:30px; bottom:24px; }
.device-label { position:absolute; color:#7f9aa9; font-size:11px; letter-spacing:.11em; text-transform:uppercase; }
.device-label.l1{left:32px;top:38px}.device-label.l2{right:32px;bottom:38px}
.feature-list { margin-top:32px; display:grid; gap:16px; }
.feature-row { display:grid; grid-template-columns:38px 1fr; gap:13px; align-items:start; }
.feature-row .num { width:34px;height:34px;border-radius:10px;border:1px solid rgba(103,232,249,.16);background:rgba(103,232,249,.07);display:grid;place-items:center;color:var(--accent);font-size:12px;font-weight:800; }
.feature-row strong { display:block; margin-bottom:3px; }
.feature-row p { margin:0; color:var(--muted); font-size:14px; }

.process { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:46px; border:1px solid rgba(255,255,255,.08); border-radius:24px; overflow:hidden; }
.step { padding:30px 26px; min-height:190px; border-right:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.018); }
.step:last-child{border-right:0}.step span{font-size:12px;color:var(--accent);font-weight:800;letter-spacing:.10em}.step h4{font-size:18px;margin:16px 0 8px}.step p{margin:0;color:var(--muted);font-size:13px}

.cta-panel {
  border:1px solid rgba(130,220,255,.15); border-radius:32px; padding:64px; overflow:hidden; position:relative;
  background:linear-gradient(125deg,rgba(14,41,57,.88),rgba(11,27,40,.92)); box-shadow:var(--shadow);
}
.cta-panel::after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-120px;top:-150px;background:rgba(103,232,249,.12);filter:blur(8px)}
.cta-grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;position:relative;z-index:2}.cta-panel h2{font-size:clamp(36px,5vw,56px);line-height:1;margin:0 0 15px;letter-spacing:-.04em}.cta-panel p{margin:0;color:#a9bfcc;max-width:720px}

.site-footer { padding:40px 0 26px; border-top:1px solid rgba(255,255,255,.07); margin-top:80px; color:#87a0af; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:25px; flex-wrap:wrap; }
.footer-links{display:flex;gap:20px;font-size:13px}.copyright{font-size:12px;margin-top:25px;padding-top:20px;border-top:1px solid rgba(255,255,255,.05)}

.fade-up { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .nav-links { display:none; position:absolute; left:20px; right:20px; top:72px; padding:20px; border-radius:18px; background:#0a1924; border:1px solid rgba(255,255,255,.09); flex-direction:column; align-items:flex-start; }
  .nav-links.open { display:flex; }
  .mobile-toggle { display:block; }
  .hero-grid, .sparkcore-wrap { grid-template-columns:1fr; }
  .hero { padding-top:55px; }
  .orbit-card { min-height:430px; }
  .cards-3 { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .trust-item:nth-child(2){border-right:0}.trust-item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.06)}
  .process { grid-template-columns:1fr 1fr; }
  .step:nth-child(2){border-right:0}.step:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.07)}
  .cta-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:72px 0; }
  .hero { min-height:auto; }
  .hero h1 { font-size:50px; }
  .hero p { font-size:17px; }
  .orbit-card { min-height:360px; }
  .r1{width:240px;height:240px}.r2{width:330px;height:330px}.orbit-center{width:145px;height:145px}
  .node{font-size:10px;padding:8px}.node.n1{left:3%}.node.n2{right:3%}.node.n3{left:3%}.node.n4{right:3%}
  .trust-grid,.process { grid-template-columns:1fr; }
  .trust-item,.step { border-right:0 !important; border-bottom:1px solid rgba(255,255,255,.06); }
  .trust-item:last-child,.step:last-child { border-bottom:0; }
  .device { min-height:410px; }.device-shell{width:260px;height:168px}.device-port{top:77px}
  .cta-panel { padding:38px 26px; }
  .nav-cta { display:none; }
}
