/* Teralgon Systems — responsive landing page */
:root {
  --bg: #030914;
  --bg-2: #071426;
  --panel: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.11);
  --text: #edf5ff;
  --muted: #94a7bd;
  --ink: #101927;
  --paper: #f4f7fb;
  --accent: #087cff;
  --accent-2: #00c8ff;
  --accent-dark: #005bd8;
  --max: 1200px;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, #153152 0%, transparent 35%),
    linear-gradient(180deg, #07101d 0%, #091423 40%, #07101d 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 118px 0; position: relative; }
.page-glow { position: fixed; pointer-events: none; filter: blur(110px); opacity: .17; z-index: -1; border-radius: 50%; }
.glow-one { width: 440px; height: 440px; background: var(--accent); top: 18%; right: -180px; }
.glow-two { width: 400px; height: 400px; background: var(--accent-2); bottom: 2%; left: -200px; }

.site-header {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  background: rgba(7,16,29,.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; color: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1; gap: 4px; }
.brand-text strong { font-family: "Space Grotesk", sans-serif; letter-spacing: .13em; font-size: 17px; }
.brand-text small { color: var(--muted); font-size: 9px; letter-spacing: .4em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; color: #cbd7e5; }
.main-nav a { transition: .2s ease; }
.main-nav a:hover { color: white; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(85,230,193,.4); border-radius: 999px; color: var(--accent)!important; background: rgba(85,230,193,.06); }
.menu-toggle { display:none; background:none; border:0; padding:10px; }
.menu-toggle span { display:block; width:24px; height:2px; background:white; margin:5px; }

.hero { min-height: 830px; display: flex; align-items: center; padding-top: 160px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--accent); letter-spacing: .17em; font-size: 12px; font-weight: 800; margin-bottom: 24px; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
.hero h1, h2 { font-family: "Space Grotesk", sans-serif; margin: 0; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(54px, 6vw, 86px); line-height: .98; max-width: 760px; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(237,245,255,.74); }
.hero-lead { margin: 31px 0 34px; max-width: 670px; color: #afbed0; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 21px; border-radius: 12px; font-weight: 800; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #071812; box-shadow: 0 10px 30px rgba(85,230,193,.16); }
.button-primary:hover { box-shadow: 0 14px 38px rgba(85,230,193,.26); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.035); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; max-width: 680px; }
.hero-proof div { border-top: 1px solid var(--line); padding-top: 17px; }
.hero-proof strong { display:block; font-family:"Space Grotesk"; font-size:17px; }
.hero-proof span { display:block; color:var(--muted); margin-top:6px; font-size:12px; }

.hero-visual { min-height: 540px; display:grid; place-items:center; }
.orbital-card {
  width: 100%;
  aspect-ratio: 1.05;
  max-width: 570px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(rgba(255,255,255,.018), rgba(255,255,255,.018)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 40px);
  position: relative;
  box-shadow: var(--shadow), inset 0 0 70px rgba(112,167,255,.04);
  overflow:hidden;
}
.orbital-card:after { content:""; position:absolute; inset:16%; border:1px dashed rgba(85,230,193,.18); border-radius:50%; }
.system-chip { position:absolute; z-index:3; border:1px solid rgba(255,255,255,.12); background:rgba(9,20,35,.87); backdrop-filter: blur(10px); box-shadow:0 18px 45px rgba(0,0,0,.25); }
.center-chip { width: 230px; min-height: 110px; top:50%; left:50%; transform:translate(-50%,-50%); border-radius:20px; padding:25px; }
.center-chip small { color:var(--accent); letter-spacing:.14em; font-size:9px; font-weight:800; }
.center-chip strong { display:block; font-family:"Space Grotesk"; font-size:23px; margin-top:8px; }
.pulse-dot { width:8px; height:8px; display:block; float:right; border-radius:50%; background:var(--accent); box-shadow:0 0 0 7px rgba(85,230,193,.1); }
.chip-ai,.chip-code,.chip-electronics,.chip-voice { width:120px; height:82px; border-radius:16px; display:grid; place-content:center; text-align:center; }
.system-chip > span { font-family:"Space Grotesk"; font-weight:700; font-size:21px; color:white; }
.system-chip > small { color:var(--muted); font-size:10px; margin-top:5px; letter-spacing:.08em; text-transform:uppercase; }
.chip-ai { left:7%; top:10%; }
.chip-code { right:7%; top:11%; }
.chip-electronics { left:8%; bottom:10%; }
.chip-voice { right:6%; bottom:10%; }
.connections { position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.connections path { fill:none; stroke:rgba(112,167,255,.35); stroke-width:1.5; stroke-dasharray:5 7; }

.trust-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.trust-content { min-height:76px; display:flex; align-items:center; justify-content:center; gap:30px; color:#8fa1b7; font-size:12px; text-transform:uppercase; letter-spacing:.1em; font-weight:700; }
.trust-content i { width:4px; height:4px; border-radius:50%; background:var(--accent); }

.section-heading { display:flex; justify-content:space-between; gap:80px; align-items:end; margin-bottom:52px; }
.section-heading h2, .about-statement h2, .receptionist-copy h2, .contact-box h2 { font-size:clamp(42px,5vw,64px); line-height:1.02; }
.section-heading p { max-width:460px; color:var(--muted); line-height:1.7; margin:0; }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { min-height:460px; padding:31px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.025); position:relative; transition:.25s ease; }
.service-card:hover { transform:translateY(-5px); border-color:rgba(85,230,193,.3); background:rgba(255,255,255,.045); }
.service-card.featured { background:linear-gradient(160deg,rgba(85,230,193,.09),rgba(255,255,255,.025)); }
.card-number { position:absolute; right:26px; top:25px; color:#566a80; font-size:12px; letter-spacing:.18em; }
.service-icon { width:57px; height:57px; display:grid; place-items:center; background:rgba(85,230,193,.08); border:1px solid rgba(85,230,193,.18); border-radius:15px; color:var(--accent); font-family:"Space Grotesk"; font-size:18px; font-weight:800; margin-bottom:37px; }
.service-card h3 { font-family:"Space Grotesk"; font-size:25px; margin:0 0 15px; }
.service-card p { color:#9eafc3; line-height:1.7; font-size:14px; min-height:72px; }
.service-card ul { list-style:none; padding:0; margin:30px 0 36px; display:grid; gap:12px; color:#cbd6e3; font-size:13px; }
.service-card li:before { content:""; display:inline-block; width:6px; height:6px; border:1px solid var(--accent); transform:rotate(45deg); margin-right:12px; }
.service-card a { color:var(--accent); font-weight:800; font-size:13px; }

.receptionist-section { background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.035)); border-top:1px solid rgba(255,255,255,.05); border-bottom:1px solid rgba(255,255,255,.05); }
.receptionist-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:center; }
.receptionist-copy > p { color:#a5b5c8; line-height:1.75; font-size:16px; margin:27px 0 31px; }
.feature-list { display:grid; gap:8px; margin:0 0 34px; }
.feature-list > div { display:flex; gap:17px; padding:15px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.feature-list b { color:var(--accent); font-size:11px; letter-spacing:.12em; padding-top:4px; }
.feature-list span { display:grid; gap:5px; }
.feature-list strong { font-size:14px; }
.feature-list small { color:var(--muted); font-size:12px; }

.demo-window { border:1px solid var(--line); border-radius:26px; overflow:hidden; background:#081421; box-shadow:var(--shadow); }
.demo-topbar { min-height:61px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 22px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.025); }
.demo-topbar > small { font-size:9px; letter-spacing:.14em; color:#72869d; font-weight:800; }
.window-dots { display:flex; gap:6px; }
.window-dots span { width:7px;height:7px;border-radius:50%;background:#48596b; }
.status { justify-self:end; color:var(--accent); font-size:9px; font-weight:800; letter-spacing:.1em; display:flex; align-items:center; gap:8px; }
.status i { width:6px;height:6px;border-radius:50%;background:var(--accent); box-shadow:0 0 12px var(--accent); }
.call-panel { min-height:500px; padding:30px; position:relative; background:radial-gradient(circle at 50% 10%,rgba(112,167,255,.08),transparent 40%); }
.wave-row { height:56px; display:flex; justify-content:center; align-items:center; gap:5px; }
.wave-row span { width:4px; height:20px; border-radius:4px; background:var(--accent); animation:wave 1.1s infinite alternate ease-in-out; opacity:.75; }
.wave-row span:nth-child(2n) { animation-delay:.2s;height:32px; }.wave-row span:nth-child(3n){animation-delay:.35s;height:42px;}
@keyframes wave { to { transform:scaleY(.35); opacity:.35; } }
.conversation { display:grid; gap:15px; margin:22px auto 30px; max-width:500px; }
.bubble { max-width:79%; border-radius:15px; padding:14px 17px; border:1px solid rgba(255,255,255,.08); }
.bubble small { font-size:8px; letter-spacing:.14em; font-weight:800; color:var(--accent); }
.bubble p { margin:7px 0 0; color:#dce6f0; font-size:13px; line-height:1.5; }
.bubble.ai { background:rgba(85,230,193,.055); }
.bubble.customer { background:rgba(112,167,255,.08); margin-left:auto; }
.bubble.customer small { color:#90b7ff; }
.flow-tags { position:absolute; bottom:25px; left:30px; right:30px; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.flow-tags span { border:1px solid rgba(255,255,255,.11); border-radius:999px; padding:7px 10px; color:#8295aa; font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.flow-tags i { color:#43576d; font-style:normal; }

.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:120px; align-items:start; }
.about-copy { padding-top:43px; }
.large-copy { font-family:"Space Grotesk"; font-size:27px; line-height:1.45; color:#dce7f4; margin-top:0; }
.about-copy > p:not(.large-copy) { color:var(--muted); line-height:1.8; }
.principles { display:flex; gap:10px; flex-wrap:wrap; margin-top:32px; }
.principles span { border:1px solid var(--line); padding:9px 12px; border-radius:999px; font-size:11px; color:#b4c3d3; }

.process-section { padding-top:30px; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.process-grid article { padding:33px 28px 38px; min-height:230px; border-right:1px solid var(--line); }
.process-grid article:last-child { border-right:0; }
.process-grid span { color:var(--accent); font-size:11px; font-weight:800; letter-spacing:.15em; }
.process-grid h3 { font-family:"Space Grotesk"; font-size:22px; margin:42px 0 12px; }
.process-grid p { color:var(--muted); font-size:13px; line-height:1.7; margin:0; }

.contact-section { padding-bottom:90px; }
.contact-box { background:linear-gradient(135deg,#58e6c2,#3fd1ac); color:#07120f; border-radius:34px; padding:57px; display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; box-shadow:0 35px 100px rgba(25,174,136,.18); }
.eyebrow.light { color:#0b6f59; }
.contact-box h2 { max-width:480px; }
.contact-box > div > p { line-height:1.7; max-width:470px; color:#195d4e; }
.contact-form { background:rgba(5,28,22,.92); color:white; border-radius:22px; padding:28px; display:grid; gap:18px; box-shadow:0 24px 55px rgba(0,0,0,.18); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { display:grid; gap:8px; color:#9eb9b2; font-size:11px; font-weight:700; letter-spacing:.04em; }
.contact-form input,.contact-form textarea,.contact-form select { width:100%; background:#0c2721; border:1px solid rgba(255,255,255,.1); color:white; border-radius:10px; padding:13px 14px; outline:none; resize:vertical; }
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus { border-color:rgba(85,230,193,.6); box-shadow:0 0 0 3px rgba(85,230,193,.06); }
.button-light { background:white; color:#0c2b23; width:max-content; }
.form-note { margin:0;color:#678b82;font-size:10px;line-height:1.5; }

footer { border-top:1px solid var(--line); padding:45px 0; }
.footer-grid { display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:40px; align-items:start; color:#73869d; font-size:12px; }
.footer-grid > p { line-height:1.7; margin:0; }
.footer-links { display:flex; justify-content:flex-end; gap:24px; color:#9eafc3; }
.copyright { grid-column:1/-1; border-top:1px solid rgba(255,255,255,.06); padding-top:22px; margin-top:8px; font-size:10px; letter-spacing:.06em; }
.footer-brand .brand-mark { width:35px;height:35px; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.1s; }.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}

@media (max-width: 980px) {
  .main-nav { display:none; position:absolute; top:78px; left:20px; right:20px; background:#0b1726; border:1px solid var(--line); border-radius:18px; padding:20px; flex-direction:column; align-items:stretch; box-shadow:var(--shadow); }
  .main-nav.open { display:flex; }
  .menu-toggle { display:block; }
  .hero-grid,.receptionist-grid,.about-grid,.contact-box { grid-template-columns:1fr; }
  .hero { min-height:auto; }
  .hero-visual { min-height:490px; }
  .services-grid { grid-template-columns:1fr; }
  .service-card { min-height:auto; }
  .receptionist-grid,.about-grid { gap:55px; }
  .process-grid { grid-template-columns:1fr 1fr; }
  .process-grid article:nth-child(2) { border-right:0; }
  .process-grid article:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .contact-box { gap:35px; }
}
@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px),var(--max)); }
  .section { padding:82px 0; }
  .hero { padding-top:135px; }
  .hero h1 { font-size:47px; }
  .hero-lead { font-size:16px; }
  .hero-proof { gap:9px; }
  .hero-proof span { font-size:10px; }
  .hero-visual { min-height:400px; }
  .orbital-card { border-radius:25px; }
  .center-chip { width:190px; min-height:96px; padding:20px; }
  .center-chip strong { font-size:19px; }
  .chip-ai,.chip-code,.chip-electronics,.chip-voice { width:92px;height:68px; }
  .chip-ai{left:4%;top:8%}.chip-code{right:4%;top:9%}.chip-electronics{left:5%;bottom:8%}.chip-voice{right:4%;bottom:8%}
  .system-chip>span{font-size:16px}.system-chip>small{font-size:8px}
  .trust-content { flex-wrap:wrap; gap:10px 18px; padding:18px 0; text-align:center; }
  .section-heading { display:block; }
  .section-heading p { margin-top:22px; }
  .section-heading h2,.about-statement h2,.receptionist-copy h2,.contact-box h2 { font-size:40px; }
  .process-grid { grid-template-columns:1fr; }
  .process-grid article { border-right:0; border-bottom:1px solid var(--line); }
  .process-grid article:last-child { border-bottom:0; }
  .form-row { grid-template-columns:1fr; }
  .contact-box { padding:30px 20px; border-radius:24px; }
  .contact-form { padding:20px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-links { justify-content:flex-start; }
}
