/* ============================================================
   NEXORA — Company Profile
   Modern CSS: theming, glassmorphism, gradients, animations
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --brand-1: #7c5cff;
  --brand-2: #00d4ff;
  --brand-grad: linear-gradient(120deg, #7c5cff, #00d4ff);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}

/* Dark theme (default) */
[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-alt: #0e1424;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --muted: #9aa4bd;
  --nav-bg: rgba(11, 15, 26, 0.72);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f6f8fe;
  --bg-alt: #eef1fb;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: rgba(15, 23, 42, 0.03);
  --border: rgba(15, 23, 42, 0.09);
  --text: #101529;
  --muted: #566079;
  --nav-bg: rgba(246, 248, 254, 0.78);
  --shadow: 0 20px 50px -22px rgba(31, 41, 92, 0.25);
  --shadow-soft: 0 10px 30px -14px rgba(31, 41, 92, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4, .brand__name { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Decorative backdrop ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.aurora__blob--1 { width: 460px; height: 460px; background: #7c5cff; top: -120px; left: -80px; animation: float1 18s var(--ease) infinite alternate; }
.aurora__blob--2 { width: 520px; height: 520px; background: #00d4ff; top: 20%; right: -140px; opacity: 0.35; animation: float2 22s var(--ease) infinite alternate; }
.aurora__blob--3 { width: 400px; height: 400px; background: #ff5c8a; bottom: -140px; left: 30%; opacity: 0.28; animation: float1 26s var(--ease) infinite alternate; }
[data-theme="light"] .aurora__blob { opacity: 0.22; }
@keyframes float1 { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-70px, 30px) scale(1.1); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: var(--brand-grad); box-shadow: 0 0 12px rgba(124, 92, 255, 0.6); }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.14), transparent 60%);
  transform: translate(-50%, -50%); pointer-events: none; z-index: -1;
  transition: opacity 0.3s; opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(124, 92, 255, 0.7); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(124, 92, 255, 0.85); }
.btn--ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand-1); box-shadow: var(--shadow-soft); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: transparent; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: var(--nav-bg); border-bottom-color: var(--border); box-shadow: var(--shadow-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.brand__name { font-size: 1.25rem; font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 9px 14px; border-radius: 10px; font-size: 0.94rem; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--surface-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); transition: transform 0.3s, border-color 0.2s; }
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--brand-1); }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); }
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; min-height: 100vh; display: flex; align-items: center; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #12c48b; box-shadow: 0 0 0 4px rgba(18, 196, 139, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(18, 196, 139, 0); } }

.hero__title { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.hero__desc { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__trust span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__logos { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 12px; }
.hero__logos span { font-weight: 700; font-size: 1.05rem; opacity: 0.55; transition: opacity 0.2s; }
.hero__logos span:hover { opacity: 1; }

/* Hero visual */
.hero__visual { position: relative; }
.orb-card { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(20px); box-shadow: var(--shadow); overflow: hidden; }
.orb-card__glow { position: absolute; inset: -1px; background: conic-gradient(from 0deg, transparent, rgba(124,92,255,0.3), transparent 30%); animation: spin 8s linear infinite; z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-card > *:not(.orb-card__glow) { position: relative; z-index: 1; }
.orb-card__row { display: flex; gap: 14px; margin-bottom: 18px; }
.mini-stat { flex: 1; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.mini-stat__label { display: block; font-size: 0.78rem; color: var(--muted); }
.mini-stat__value { display: block; font-size: 1.7rem; font-weight: 800; font-family: "Sora"; }
.orb-card__chart { border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); padding: 8px; }
.orb-card__chart svg { width: 100%; height: 110px; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) forwards 0.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.orb-card__foot { display: flex; gap: 10px; margin-top: 16px; }
.chip { font-size: 0.8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }

.float-badge { position: absolute; padding: 10px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow-soft); }
.float-badge--1 { top: -18px; right: 6px; animation: floaty 4s ease-in-out infinite; }
.float-badge--2 { bottom: -18px; left: -10px; animation: floaty 5s ease-in-out infinite 0.5s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); }
.scroll-hint__mouse { display: block; width: 24px; height: 40px; border: 2px solid var(--muted); border-radius: 14px; position: relative; }
.scroll-hint__mouse span { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 3px; background: var(--muted); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--border); background: var(--surface); }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 24s linear infinite; font-family: "Sora"; font-weight: 700; font-size: 1.3rem; color: var(--muted); }
.marquee__track span:nth-child(even) { color: var(--brand-1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 60px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat__num { display: block; font-family: "Sora"; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.stat__num.grad, .stat__num { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Section heads ---------- */
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-1); margin-bottom: 14px; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.section__lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section__lead.center { margin: 0 auto; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__frame { position: relative; aspect-ratio: 1/1; border-radius: 28px; background: linear-gradient(160deg, var(--surface-2), transparent); border: 1px solid var(--border); overflow: hidden; }
.about__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at center, #000 40%, transparent 78%); }
.value-card { position: absolute; padding: 16px; width: 62%; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); }
.value-card strong { display: block; font-family: "Sora"; margin: 6px 0 4px; }
.value-card p { font-size: 0.85rem; color: var(--muted); }
.value-card__icon { font-size: 1.5rem; }
.value-card--a { top: 8%; left: 6%; animation: floaty 5s ease-in-out infinite; }
.value-card--b { top: 40%; right: 5%; animation: floaty 6s ease-in-out infinite 0.6s; }
.value-card--c { bottom: 7%; left: 12%; animation: floaty 5.5s ease-in-out infinite 0.3s; }

.check-list { margin: 24px 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 0.75rem; font-weight: 700; }

/* ---------- Cards / Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,0.14), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,0.4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 18px; }
.card__title { font-size: 1.28rem; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.card__link { font-weight: 600; color: var(--brand-1); font-size: 0.92rem; transition: gap 0.2s; }

/* ---------- Timeline / Process ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-1), var(--brand-2), transparent); opacity: 0.4; }
.tstep { position: relative; padding: 30px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.tstep__no { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: "Sora"; font-weight: 800; font-size: 1.15rem; background: var(--brand-grad); color: #fff; margin-bottom: 16px; box-shadow: 0 8px 22px -8px rgba(124,92,255,0.7); }
.tstep h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tstep p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); transition: all 0.25s; }
.filter:hover { color: var(--text); }
.filter.is-active { color: #fff; background: var(--brand-grad); border-color: transparent; }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), box-shadow 0.4s, opacity 0.4s; }
.pcard.is-hidden { display: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/10; display: grid; place-items: center; font-family: "Sora"; font-weight: 700; color: #fff; font-size: 1.1rem; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35)); }
.pcard__img { text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.pcard:hover .pcard__img { transform: scale(1.04); transition: transform 0.5s var(--ease); }
.pcard__body { padding: 20px 22px 24px; }
.pcard__tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-1); }
.pcard__body h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.pcard__body p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testi { max-width: 820px; margin: 0 auto; }
.testi__viewport { overflow: hidden; border-radius: 24px; }
.testi__track { display: flex; transition: transform 0.6s var(--ease); }
.testi__item { min-width: 100%; padding: 46px 44px; text-align: center; }
.testi__item blockquote { font-family: "Sora"; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.5; margin-bottom: 28px; }
.testi__item figcaption { display: inline-flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.testi__item figcaption span:last-child { text-align: left; display: flex; flex-direction: column; }
.testi__item small { color: var(--muted); }
.testi__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.testi__dots button.is-active { width: 28px; border-radius: 6px; background: var(--brand-grad); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { padding: 28px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__photo { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: "Sora"; font-weight: 700; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.member h3 { font-size: 1.15rem; }
.member span { color: var(--muted); font-size: 0.9rem; }
.member__social { display: flex; justify-content: center; gap: 10px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: all 0.3s; }
.member:hover .member__social { opacity: 1; transform: translateY(0); }
.member__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.85rem; transition: all 0.2s; }
.member__social a:hover { background: var(--brand-grad); color: #fff; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; padding: 34px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price--featured { border-color: rgba(124,92,255,0.5); background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--surface)); box-shadow: 0 20px 50px -22px rgba(124,92,255,0.5); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.price__name { font-size: 1.3rem; margin-bottom: 10px; }
.price__amt { font-family: "Sora"; font-size: 2.6rem; font-weight: 800; margin-bottom: 6px; }
.price__amt span { font-size: 1.1rem; vertical-align: super; color: var(--muted); margin-right: 2px; }
.price__amt small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price__desc { color: var(--muted); margin-bottom: 22px; }
.price ul { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price ul li { position: relative; padding-left: 28px; font-size: 0.95rem; }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: "Sora"; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--brand-1); transition: transform 0.3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; padding: 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); align-items: start; }
.contact__list { display: grid; gap: 14px; margin: 26px 0; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact__list span { font-size: 1.15rem; }
.contact__socials { display: flex; gap: 12px; }
.contact__socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); transition: all 0.2s; }
.contact__socials a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-3px); }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 16px 16px 14px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field select { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(124,92,255,0.18); }
.field label { position: absolute; top: 15px; left: 16px; color: var(--muted); pointer-events: none; transition: all 0.2s var(--ease); background: transparent; padding: 0 4px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 12px; font-size: 0.75rem; color: var(--brand-1); background: var(--bg);
}
.field__error { display: block; color: #ff6b8a; font-size: 0.78rem; margin-top: 5px; min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: #ff6b8a; }
.form-note { grid-column: 1 / -1; text-align: center; color: #12c48b; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 0.95rem; }
.footer__col h4 { font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); padding: 5px 0; font-size: 0.93rem; transition: color 0.2s, padding-left 0.2s; }
.footer__col a:hover { color: var(--brand-1); padding-left: 5px; }
.footer__news p { color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; }
.news input:focus { outline: none; border-color: var(--brand-1); }
.news button { width: 46px; border-radius: 10px; background: var(--brand-grad); color: #fff; font-size: 1.2rem; transition: transform 0.2s; }
.news button:hover { transform: translateX(2px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--muted); font-size: 0.88rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--brand-1); }

/* ---------- To top ---------- */
.to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-grad); color: #fff; font-size: 1.3rem; z-index: 80; opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: all 0.3s var(--ease); box-shadow: 0 12px 30px -10px rgba(124,92,255,0.7); }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 460px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__frame { max-width: 420px; margin: 0 auto; }
  .cards, .portfolio, .team, .pricing { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 20px 24px; background: var(--nav-bg); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 16px; font-size: 1rem; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cards, .portfolio, .team, .pricing, .stats__grid, .timeline, .footer__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .float-badge { font-size: 0.72rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
