﻿/* =========================================================
   JonesAiTech — Futuristic Theme
   ========================================================= */

:root {
  --bg: #05060d;
  --bg-alt: #090c18;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e9edf7;
  --text-dim: #8a93ab;
  --primary: #00e5ff;
  --primary-dim: #00b8cc;
  --secondary: #7c4dff;
  --accent: #ff2d95;
  --radius: 18px;
  --radius-sm: 12px;
  --ff-head: "Space Grotesk", "Inter", sans-serif;
  --ff-body: "Inter", sans-serif;
  --container: 1180px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--primary); color: #000; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradientShift 6s ease-in-out infinite;
}

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== background layers ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.bg-glow {
  position: fixed; z-index: -3; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.bg-glow--1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--secondary), transparent 70%); opacity: 0.25; }
.bg-glow--2 { bottom: -15%; right: -10%; width: 55vw; height: 55vw; background: radial-gradient(circle, var(--primary), transparent 70%); opacity: 0.18; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn--primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #03060d;
  box-shadow: 0 0 0 0 rgba(0,229,255,0.5), 0 8px 24px -8px rgba(0,229,255,0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,229,255,0.45), 0 12px 28px -10px rgba(124,77,255,0.6); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost {
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
}
.btn--ghost:hover { background: var(--surface-strong); border-color: var(--primary); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ===== navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  background: rgba(5, 6, 13, 0.75);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { color: var(--primary); display: flex; filter: drop-shadow(0 0 8px rgba(0,229,255,0.6)); }
.logo__mark svg { fill: currentColor; stroke: none; }
.logo__text { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.logo__accent { color: var(--primary); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) {
  font-size: 0.92rem; color: var(--text-dim); position: relative; transition: color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--primary); transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 210; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); transition: all .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, transparent 0%, var(--bg) 90%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.hero__title { font-size: clamp(2.4rem, 7vw, 4.4rem); margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-dim); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__tags span { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-dim); }
.hero__tags svg { color: var(--primary); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--primary); border-radius: 2px;
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== sections ===== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 15%, rgba(255,255,255,0.015) 85%, transparent); }
.section__head { max-width: 620px; margin-bottom: 56px; }
.section__sub { color: var(--text-dim); margin-top: 12px; font-size: 1.02rem; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== stats ===== */
.stats { padding: 70px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { display: block; font-family: var(--ff-head); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--primary); }
.stat__label { font-size: 0.85rem; color: var(--text-dim); }

/* ===== cards (3D tilt) ===== */
.card--tilt { transform-style: preserve-3d; will-change: transform; transition: transform .15s ease-out, box-shadow .3s ease, border-color .3s ease; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(6px);
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 18px 40px -20px rgba(0,229,255,0.25); }
.card--highlight { border-color: rgba(0,229,255,0.4); background: linear-gradient(160deg, rgba(0,229,255,0.07), rgba(124,77,255,0.05)); }
.card__tag {
  position: absolute; top: -12px; right: 22px; background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #03060d; font-family: var(--ff-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(124,77,255,0.15));
  color: var(--primary); margin-bottom: 18px; transform: translateZ(30px);
}
.card h3 { margin-bottom: 10px; transform: translateZ(20px); }
.card p { color: var(--text-dim); font-size: 0.95rem; transform: translateZ(10px); }

/* ===== AI split section ===== */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.feature-list { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 0.97rem; }
.feature-list svg { flex-shrink: 0; color: var(--primary); background: rgba(0,229,255,0.12); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.phone-mock {
  max-width: 320px; margin: 0 auto; background: linear-gradient(160deg, #0d1124, #070914);
  border: 1px solid var(--border-strong); border-radius: 32px; padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 50px -20px rgba(0,229,255,0.25);
}
.phone-mock__notch { width: 60px; height: 6px; background: rgba(255,255,255,0.15); border-radius: 4px; margin: 0 auto 12px; }
.phone-mock__header {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  padding: 8px 10px 14px; border-bottom: 1px solid var(--border);
}
.phone-mock__body { padding: 14px 6px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }

.bubble { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.45; animation: fadeInUp .4s ease both; }
.bubble--ai { align-self: flex-start; background: var(--surface-strong); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble--user { align-self: flex-end; background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #03060d; font-weight: 500; border-bottom-right-radius: 4px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--live { background: #2dffa0; box-shadow: 0 0 0 0 rgba(45,255,160,0.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(45,255,160,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(45,255,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,255,160,0); }
}

/* ===== dashboard ===== */
.dashboard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.dashboard__head h3 { margin-bottom: 8px; }
.dashboard__head p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 22px; }
.dashboard__table-wrap { overflow-x: auto; }
.dashboard__table { width: 100%; border-collapse: collapse; min-width: 540px; }
.dashboard__table th {
  text-align: left; font-family: var(--ff-head); font-size: 0.78rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-dim); padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.dashboard__table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.dashboard__table tr.empty-row td { color: var(--text-dim); text-align: center; padding: 24px; }
.dashboard__table tr.lead-row--new { animation: rowGlow 1.8s ease; }
.status-pill { padding: 4px 10px; border-radius: 999px; background: rgba(45,255,160,0.15); color: #2dffa0; font-size: 0.78rem; font-weight: 600; }
@keyframes rowGlow {
  0% { background: rgba(0,229,255,0.18); }
  100% { background: transparent; }
}

/* ===== portfolio browser cards ===== */
.browser-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.browser-card__bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,0.03); }
.browser-card__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-card__screen { height: 170px; background-size: cover; }
.browser-card__screen--1 { background: linear-gradient(135deg, #ff6b6b, #ffb347); }
.browser-card__screen--2 { background: linear-gradient(135deg, #2dffa0, #00b8cc); }
.browser-card__screen--3 { background: linear-gradient(135deg, #7c4dff, #ff2d95); }
.browser-card__screen--4 { background: linear-gradient(135deg, #00e5ff, #7c4dff); }
.browser-card__screen--5 { background: linear-gradient(135deg, #ffd166, #ff6b6b); }
.browser-card__screen--6 { background: linear-gradient(135deg, #4d6bff, #2dffa0); }
.browser-card h4 { padding: 16px; font-size: 1rem; font-weight: 500; transform: translateZ(15px); }

/* ===== process timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 17px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.timeline__step { position: relative; padding-top: 50px; }
.timeline__num {
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--primary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 0.8rem; font-weight: 700;
  box-shadow: 0 0 14px rgba(0,229,255,0.45);
}
.timeline__step h4 { margin-bottom: 8px; }
.timeline__step p { color: var(--text-dim); font-size: 0.92rem; }

/* ===== single package ===== */
.pkg {
  background: linear-gradient(160deg, rgba(0,229,255,0.07) 0%, rgba(124,77,255,0.05) 100%);
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: var(--radius);
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
}
.pkg::before {
  content: "";
  position: absolute;
  top: -140px; right: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.pkg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.pkg__label {
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.28);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
}
.pkg__price-wrap { text-align: right; }
.pkg__price {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1;
}
.pkg__period { font-size: 0.95rem; color: var(--text-dim); }
.pkg__name { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.pkg__sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 780px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.pkg__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 44px;
}
.pkg__feature { display: flex; gap: 18px; align-items: flex-start; }
.pkg__feature-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.pkg__feature strong { display: block; font-size: 0.97rem; margin-bottom: 4px; color: var(--text); }
.pkg__feature span { font-size: 0.875rem; color: var(--text-dim); line-height: 1.55; }
.pkg__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pkg__note { color: var(--text-dim); font-size: 0.875rem; }

.section__note { text-align: center; color: var(--text-dim); font-size: 0.92rem; margin-top: 40px; }
.section__note a { color: var(--primary); }

/* ===== blog ===== */
.blog-hero { padding: 150px 0 50px; text-align: left; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 6px; }
.blog-hero .section__sub { max-width: 620px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary); }

.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card__cover { height: 160px; background-size: cover; }
.blog-card__cover--1 { background: linear-gradient(135deg, #00e5ff, #7c4dff); }
.blog-card__cover--2 { background: linear-gradient(135deg, #7c4dff, #ff2d95); }
.blog-card__cover--3 { background: linear-gradient(135deg, #2dffa0, #00b8cc); }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; transform: translateZ(15px); }
.blog-card__tag { color: var(--primary); font-family: var(--ff-head); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.blog-card__body h3 { font-size: 1.1rem; }
.blog-card__body p { color: var(--text-dim); font-size: 0.92rem; flex-grow: 1; }
.blog-card__meta { color: var(--text-dim); font-size: 0.8rem; }
.blog-card__link { color: var(--primary); font-family: var(--ff-head); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.blog-card__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.blog-card:hover .blog-card__link svg { transform: translateX(3px); }

.article { max-width: 720px; margin: 0 auto; padding: 150px 0 60px; }
.article__meta { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 10px; }
.article h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 18px; }
.article p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.85; margin-bottom: 20px; }
.article h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.article ul, .article ol { color: var(--text-dim); margin: 0 0 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.article a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article__cta {
  margin-top: 50px; padding: 32px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, rgba(0,229,255,0.08), rgba(124,77,255,0.08)); border: 1px solid var(--border-strong);
}
.article__cta h3 { margin-bottom: 10px; }
.article__cta p { color: var(--text-dim); margin-bottom: 22px; }

/* ===== faq ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 22px; transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] { border-color: rgba(0,229,255,0.35); background: var(--surface-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--primary); font-size: 1.3rem; font-weight: 400; transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 0.95rem; padding-bottom: 18px; }
.faq-item p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ===== contact ===== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--text-dim); }
input, textarea, select {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,255,0.12); }
.form-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; }

.product-picker { display: flex; flex-direction: column; gap: 12px; }
.product-picker__label { font-size: 0.85rem; color: var(--text-dim); }
.product-picker__label small { margin-left: 6px; opacity: 0.65; font-size: 0.78rem; }
.product-picker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.8rem; font-family: var(--ff-head); font-weight: 500;
  text-align: center; cursor: pointer; transition: all .2s ease;
}
.product-btn svg { color: var(--text-dim); transition: color .2s ease; }
.product-btn:hover { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.07); }
.product-btn:hover svg { color: var(--primary); }
.product-btn.is-selected {
  border-color: var(--primary); background: rgba(0,229,255,0.1);
  color: var(--text); box-shadow: 0 0 14px rgba(0,229,255,0.2);
}
.product-btn.is-selected svg { color: var(--primary); }

@media (max-width: 480px) { .product-picker__grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--border); padding: 50px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
.footer__tagline { color: var(--text-dim); font-size: 0.88rem; margin-top: 10px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--text-dim); font-size: 0.9rem; transition: color .2s ease; }
.footer__links a:hover { color: var(--primary); }
.footer__copy { text-align: center; color: var(--text-dim); font-size: 0.8rem; }

/* ===== AI chat widget ===== */
.chat-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #03060d; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(0,229,255,0.55);
  transition: transform .25s ease;
}
.chat-toggle:hover { transform: scale(1.07); }
.chat-toggle__icon-close { display: none; }
.chat-toggle.is-open .chat-toggle__icon-open { display: none; }
.chat-toggle.is-open .chat-toggle__icon-close { display: block; }
.chat-toggle__pulse {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--primary);
  animation: chatPulse 2.4s ease-out infinite;
}
@keyframes chatPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chat-panel {
  position: fixed; bottom: 96px; right: 22px; z-index: 300;
  width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100svh - 140px);
  background: linear-gradient(160deg, #0d1124, #070914);
  border: 1px solid var(--border-strong); border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7), 0 0 60px -25px rgba(0,229,255,0.3);
  opacity: 0; transform: translateY(16px) scale(0.97); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-panel__header { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.chat-panel__header small { display: block; color: var(--text-dim); font-size: 0.74rem; font-weight: 400; }

.chat-panel__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-panel__body .bubble { animation: fadeInUp .35s ease both; }

.typing { display: flex; gap: 4px; align-self: flex-start; background: var(--surface-strong); border: 1px solid var(--border); padding: 12px 14px; border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); animation: typingBounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-panel__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.chat-panel__quick button {
  background: var(--surface-strong); border: 1px solid var(--border-strong); color: var(--text);
  padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; transition: border-color .2s ease, background .2s ease;
}
.chat-panel__quick button:hover { border-color: var(--primary); background: rgba(0,229,255,0.1); }

.chat-panel__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-panel__input input { flex: 1; padding: 10px 14px; border-radius: 999px; font-size: 0.88rem; }
.chat-panel__input button {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #03060d;
  display: flex; align-items: center; justify-content: center;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ai-split { grid-template-columns: 1fr; gap: 40px; }
  .ai-split__visual { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  .contact { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; height: calc(100svh - var(--nav-h));
    width: 78%; max-width: 320px; background: rgba(7, 9, 20, 0.97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; padding: 30px 26px; gap: 22px;
    border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-toggle { display: flex; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .pkg { padding: 36px 26px; }
  .pkg__features { grid-template-columns: 1fr; }
  .pkg__top { flex-direction: column; align-items: flex-start; }
  .pkg__price-wrap { text-align: left; }

  .section { padding: 70px 0; }
  .hero { min-height: 100svh; }
  .hero__content { padding-top: 10px; }

  .chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 86px; height: 70svh; }
  .chat-toggle { bottom: 16px; right: 16px; width: 56px; height: 56px; }

  /* keep 3D tilt subtle / disabled on touch for comfort */
  .card--tilt { transition: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn--lg { padding: 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
