/* ═══════════════════════════════════════════
   TECH DOLPHIN — style.css
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:     #020B18;
  --card:   #061522;
  --card2:  #0A1E30;
  --border: rgba(255,255,255,.07);
  --violet: #6B4EFF;
  --vsft:   rgba(107,78,255,.1);
  --cyan:   #0EA5E9;
  --csft:   rgba(14,165,233,.1);
  --green:  #059669;
  --white:  #F0F2FF;
  --muted:  #5B6080;
  --muted2: #8B93B8;
  --r:      20px;
  --r-lg:   28px;
  --r-xl:   36px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(-45deg,#020B18,#040D1C,#061020,#020B18);
  background-size: 400% 400%;
  animation: gradientWave 20s ease infinite;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img, video { display: block; }

/* ── ANIMATIONS ── */
@keyframes gradientWave {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:.4; transform:scale(.7); }
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(200%)  skewX(-12deg); }
}
@keyframes aurora1 {
  0%,100% { transform: translate(0,0) scale(1);    opacity:.4; }
  33%     { transform: translate(80px,-40px) scale(1.1); opacity:.6; }
  66%     { transform: translate(-40px,60px) scale(.9);  opacity:.3; }
}
@keyframes aurora2 {
  0%,100% { transform: translate(0,0) scale(1);      opacity:.3; }
  33%     { transform: translate(-60px,50px) scale(1.2); opacity:.5; }
  66%     { transform: translate(70px,-30px) scale(.8);  opacity:.4; }
}
@keyframes breathe {
  0%,100% { box-shadow: 0 4px 24px rgba(2,11,24,.4); }
  50%     { box-shadow: 0 8px 40px rgba(2,11,24,.6), 0 0 20px rgba(14,165,233,.08); }
}
@keyframes borderPulse {
  0%,100% { border-color: rgba(14,165,233,.3); }
  50%     { border-color: rgba(14,165,233,.6); box-shadow: 0 0 30px rgba(14,165,233,.2); }
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .4; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg,#0EA5E9,#86EFAC,#6B4EFF);
  z-index: 9999; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(14,165,233,.8);
}

/* ── AURORA ── */
.aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora-1 {
  position: absolute; width: 800px; height: 500px; top: -100px; left: -200px;
  background: radial-gradient(ellipse, rgba(14,165,233,.12) 0%, transparent 70%);
  border-radius: 50%; animation: aurora1 14s ease-in-out infinite; filter: blur(40px);
}
.aurora-2 {
  position: absolute; width: 700px; height: 600px; top: 30%; right: -200px;
  background: radial-gradient(ellipse, rgba(107,78,255,.1) 0%, transparent 70%);
  border-radius: 50%; animation: aurora2 18s ease-in-out infinite; filter: blur(50px);
}

/* ── LEFT NAV ── */
#left-nav {
  position: fixed; left: 24px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; align-items: flex-start;
}
.lnav-line-bg {
  position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: rgba(14,165,233,.1); border-radius: 2px;
}
#nav-progress-line {
  position: absolute; left: 15px; top: 0; width: 2px; height: 0%;
  background: linear-gradient(to bottom,#0EA5E9,#6B4EFF);
  border-radius: 2px; transition: height .3s ease;
}
.lnav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0 8px 36px; cursor: pointer; position: relative;
}
.lnav-item::before {
  content: ''; position: absolute; left: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(14,165,233,.2); border: 1.5px solid rgba(14,165,233,.3);
  transition: all .3s; transform: translateX(-50%);
}
.lnav-num  { font-size: 11px; font-weight: 800; color: rgba(14,165,233,.25); transition: all .3s; }
.lnav-label { font-size: 12px; font-weight: 600; color: rgba(232,245,236,0); white-space: nowrap; transition: all .3s; }
.lnav-item:hover .lnav-num,
.lnav-item.active .lnav-num  { color: #0EA5E9; }
.lnav-item:hover .lnav-label,
.lnav-item.active .lnav-label { color: rgba(232,245,236,.7); }
.lnav-item.active::before {
  background: #0EA5E9; border-color: #0EA5E9;
  box-shadow: 0 0 10px rgba(14,165,233,.6); transform: translateX(-50%) scale(1.3);
}
.lnav-item:hover::before {
  background: rgba(14,165,233,.5); border-color: #0EA5E9; transform: translateX(-50%) scale(1.2);
}
@media(max-width:1200px) { #left-nav { display: none; } }

/* ── TOP NAV ── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; align-items: center; gap: 6px;
  background: rgba(19,19,26,.88); backdrop-filter: blur(24px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 8px 8px 16px;
  width: calc(100% - 32px); max-width: 1020px;
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; margin-right: 4px; }
.nav-logo img {
  height: 36px; width: 36px; object-fit: cover;
  border-radius: 50%; border: 1.5px solid rgba(14,165,233,.3);
}
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a {
  font-size: 12px; font-weight: 500; color: var(--muted2);
  padding: 7px 11px; border-radius: 100px; transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: var(--card2); }
.nav-links a.active-page { color: var(--cyan); }
#lang-toggle {
  background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.35);
  color: #0EA5E9; font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 100px; cursor: pointer;
  letter-spacing: 1px; margin-right: 4px; transition: all .2s;
}
#lang-toggle:hover { background: rgba(14,165,233,.22); }
.nav-cta {
  background: var(--violet); color: var(--white);
  font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 100px; transition: all .25s; white-space: nowrap;
}
.nav-cta:hover { background: #4F35C8; transform: scale(1.03); }
/* ── HAMBURGER ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width:768px) {
  .nav { padding: 8px 12px; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2,11,24,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 80px 20px 40px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; font-weight: 600; padding: 14px 32px; width: 100%; max-width: 320px; text-align: center; border-radius: 14px; }
}

/* ── SECTION UTILITIES ── */
.section { padding: 100px 20px; max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; background: var(--vsft); color: var(--violet);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px,4vw,46px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 16px; }
.section-title em { font-style: normal; color: var(--cyan); }
.section-sub { font-size: 17px; color: var(--muted2); line-height: 1.75; max-width: 560px; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 122px 0 88px; position: relative; overflow: hidden;
}
/* 3-column layout: side video | content | side video */
.hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(180px,240px) minmax(700px,820px) minmax(180px,240px);
  align-items: start; justify-content: center; gap: clamp(28px,3.2vw,56px);
  width: 100%; max-width: 1500px; padding: 0 48px 0 112px;
}
.hero-side {
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px 20px;
  transform: translateY(-54px);
}
.hero-side-video {
  width: 100%; max-width: clamp(180px,15vw,230px); aspect-ratio: 9/16;
  object-fit: cover; border-radius: 28px;
  border: 1px solid rgba(14,165,233,.2);
  box-shadow: 0 0 40px rgba(107,78,255,.15), 0 0 80px rgba(14,165,233,.08);
  opacity: .85; transition: opacity .3s;
}
.hero-side-video:hover { opacity: 1; }
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 42px;
}
.hero-logo-video {
  width: 110px; height: 110px; object-fit: cover;
  margin: 0 auto 20px; border-radius: 50%;
  border: 2px solid rgba(14,165,233,.35);
  box-shadow: 0 0 24px rgba(14,165,233,.3);
}
.badges-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 28px; max-width: 720px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(107,78,255,.25); color: var(--green);
  font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 100px;
  background: rgba(107,78,255,.08); animation: fadeUp .6s ease both;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero-title {
  font-size: clamp(26px,3.35vw,44px); font-weight: 800;
  line-height: 1.08; letter-spacing: -1px; margin-bottom: 16px;
  max-width: 17ch; text-wrap: balance;
  animation: fadeUp .6s ease .1s both;
}
.hero-line { display: block; }
.hero-line-soft { display: block; }
.hero-title .grad {
  background: linear-gradient(135deg,var(--violet),var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title .soft { color: var(--muted2); }
.hero-sub {
  font-size: clamp(15px,2vw,18px); color: var(--muted2);
  line-height: 1.75; max-width: 600px; margin: 0 auto 24px;
  animation: fadeUp .6s ease .2s both;
}
.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .6s ease .3s both;
}
.btn-main {
  background: linear-gradient(135deg,var(--violet),#5B3FE0); color: #fff;
  font-size: 15px; font-weight: 700; padding: 15px 36px; border-radius: 100px;
  transition: all .25s; box-shadow: 0 8px 24px rgba(107,78,255,.35);
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(107,78,255,.45); }
.btn-sec {
  background: var(--card2); border: 1px solid var(--border);
  color: var(--white); font-size: 15px; font-weight: 600;
  padding: 15px 36px; border-radius: 100px; transition: all .25s;
}
.btn-sec:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

/* ── STATS ── */
.hero-stats {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px;
  width: 100%; margin-top: 28px; animation: fadeUp .6s ease .4s both;
}
.stat-pill {
  background: linear-gradient(145deg,#0A1E35,#061522);
  border: 1px solid rgba(14,165,233,.2); border-radius: var(--r);
  min-width: 0; padding: 16px 18px; text-align: center; transition: all .3s; position: relative; overflow: hidden;
  animation: breathe 4s ease-in-out infinite;
}
.stat-pill:hover { border-color: rgba(14,165,233,.4); transform: translateY(-2px); }
.stat-pill .num {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg,var(--violet),var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-pill .lbl { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ── CALLBACK FORM ── */
.callback-form {
  margin-top: 40px; background: linear-gradient(145deg,#0A1E35,#061522);
  border: 1px solid rgba(14,165,233,.2); border-radius: var(--r-lg);
  padding: 24px 28px; max-width: 480px; margin-left: auto; margin-right: auto;
  animation: fadeUp .6s ease .5s both;
}
.callback-title { font-size: 13px; font-weight: 600; color: #7AAF87; margin-bottom: 16px; text-align: center; }
.callback-form form { display: flex; flex-direction: column; gap: 12px; }
.form-input {
  background: rgba(255,255,255,.05); border: 1px solid rgba(14,165,233,.2);
  border-radius: 100px; padding: 12px 20px; color: #E8F5EC;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; width: 100%;
}
.form-input:focus { border-color: rgba(14,165,233,.6); }
.form-input::placeholder { color: rgba(14,165,233,.35); }
.form-btn {
  background: linear-gradient(135deg,#0EA5E9,#6B4EFF); color: #fff; border: none;
  padding: 13px 28px; border-radius: 100px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all .25s;
}
.form-btn:hover { transform: scale(1.02); }
.form-consent { font-size: 11px; color: #3D6B4A; text-align: center; }
.form-consent a { color: #0EA5E9; }
.form-success { display: none; text-align: center; color: #86EFAC; font-size: 14px; font-weight: 600; padding: 12px 0; }
.form-error { display: none; text-align: center; color: #FCA5A5; font-size: 12px; }

@media(min-width:1201px) {
  #hero {
    padding: 122px 40px 88px 116px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    max-width: 860px;
    padding: 0;
    gap: 0;
  }
  .hero-inner {
    max-width: 760px;
    padding-top: 0;
  }
  .hero-side {
    position: absolute;
    top: 108px;
    width: 190px;
    height: 338px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    transform: none;
  }
  .hero-layout > .hero-side:first-child {
    left: -194px;
  }
  .hero-layout > .hero-side:last-child {
    right: -194px;
  }
  .hero-side-video {
    width: 190px;
    height: 338px;
    max-width: 190px;
  }
  .hero-title {
    font-size: clamp(22px,2.7vw,38px);
    line-height: 1.1;
    letter-spacing: -.8px;
    max-width: 17.5ch;
  }
  .badges-row {
    margin-bottom: 20px;
  }
  .hero-sub {
    margin-bottom: 20px;
  }
  .hero-stats {
    margin-top: 24px;
  }
}

/* ── TICKER ── */
.ticker-wrap { overflow: hidden; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ticker { display: flex; width: max-content; animation: tick 30s linear infinite; }
.tick-item { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 36px; white-space: nowrap; }
.tick-item span { color: var(--violet); margin-left: 36px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.about-text-card {
  background: linear-gradient(145deg,#0A1E35,#061522);
  border: 1px solid rgba(14,165,233,.18); border-radius: var(--r-xl); padding: 40px;
  box-shadow: 0 8px 32px rgba(2,11,24,.6); position: relative; overflow: hidden;
}
.about-text-card p { font-size: 16px; color: var(--muted2); line-height: 1.85; margin-bottom: 18px; }
.about-text-card p:last-of-type { margin-bottom: 0; }
.about-text-card strong { color: var(--white); font-weight: 600; }
.about-promo {
  background: rgba(107,78,255,.08); border: 1px solid rgba(107,78,255,.2);
  border-radius: 16px; padding: 16px 20px; margin-bottom: 20px;
  font-size: 15px; color: var(--violet); font-weight: 600;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  background: var(--card2); border: 1px solid var(--border);
  color: var(--muted2); font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 100px; transition: all .2s; cursor: default;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.about-exp-card {
  background: linear-gradient(145deg,var(--card),rgba(107,78,255,.08));
  border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.exp-big {
  font-size: 88px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg,var(--cyan),var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.exp-label { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.exp-desc { font-size: 15px; color: var(--muted2); line-height: 1.7; margin-bottom: 32px; }
.exp-list { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.exp-row { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted2); }
.exp-row::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

/* ── SERVICES ── */
.services-wrap { padding: 100px 20px; background: var(--card); }
.services-inner { max-width: 1100px; margin: 0 auto; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; }
.svc-card {
  background: linear-gradient(145deg,#0A1E35,#04111E);
  border: 1px solid rgba(14,165,233,.12); border-radius: var(--r-xl);
  padding: 36px 32px; transition: all .3s; cursor: default;
  position: relative; overflow: hidden; animation: breathe 4s ease-in-out infinite;
}
.svc-card:hover { border-color: rgba(14,165,233,.5); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,165,233,.12); }
.svc-card.wide { grid-column: span 3; }
.svc-card.wide .svc-items { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px 32px; }
.svc-icon { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg,#0E2A45,#061A2E); border: 1px solid rgba(14,165,233,.2); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 24px; }
.svc-name { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--white); }
.svc-items { display: flex; flex-direction: column; gap: 10px; }
.svc-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted2); line-height: 1.5; }
.svc-item::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 7px; }

/* ── PROJECTS ── */
.proj-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.ptab {
  background: var(--card2); border: 1px solid var(--border);
  color: var(--muted2); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 100px; cursor: pointer;
  font-family: inherit; transition: all .25s;
}
.ptab:hover { border-color: var(--violet); color: var(--violet); }
.ptab.active { background: var(--violet); border-color: var(--violet); color: #fff; }
.proj-view-all {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--cyan);
  padding: 8px 18px; border: 1px solid rgba(14,165,233,.3); border-radius: 100px;
  background: rgba(14,165,233,.08); transition: all .2s; cursor: pointer;
}
.proj-view-all:hover { background: rgba(14,165,233,.15); }

/* card style */
.pcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all .3s; box-shadow: 0 4px 24px rgba(2,11,24,.5);
  display: flex; flex-direction: column; position: relative;
  animation: breathe 4s ease-in-out infinite;
}
.pcard:hover { border-color: rgba(14,165,233,.45); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,165,233,.12); }
.pcard-img { width: 100%; height: 220px; object-fit: cover; object-position: top; flex-shrink: 0; }
.pcard-img.tall { height: 280px; }
.pcard-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pcard-tag {
  display: inline-block; background: var(--csft); border: 1px solid rgba(14,165,233,.25);
  color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; width: fit-content;
}
.pcard-name { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; }
.pcard-desc { font-size: 14px; color: var(--muted2); line-height: 1.65; flex: 1; }
.pcard-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pcard-chip {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--muted); font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 100px;
}
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.proj-grid .span2 { grid-column: span 2; }
.proj-grid .span3 { grid-column: span 3; }
.pcard.hidden { display: none !important; }

/* ── WHY ── */
.why-wrap { padding: 100px 20px; }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; }
.why-card {
  background: linear-gradient(145deg,#0A1E35,#04111E);
  border: 1px solid rgba(14,165,233,.12); border-radius: var(--r-xl);
  padding: 36px 32px; transition: all .3s; position: relative; overflow: hidden;
  animation: breathe 4s ease-in-out infinite;
}
.why-card:hover { border-color: rgba(14,165,233,.45); transform: translateY(-3px); }
.why-num { font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 16px; background: linear-gradient(135deg,var(--violet),var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: .3; }
.why-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-desc { font-size: 15px; color: var(--muted2); line-height: 1.7; }

/* ── CALCULATOR ── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.calc-card {
  background: linear-gradient(145deg,#0A1E35,#04111E);
  border: 2px solid rgba(14,165,233,.1); border-radius: var(--r);
  padding: 28px; cursor: pointer; transition: all .25s; position: relative;
}
.calc-card:hover { border-color: rgba(14,165,233,.35); transform: translateY(-2px); }
.calc-card.selected { border-color: #0EA5E9; background: linear-gradient(145deg,#0E2A45,#061A2E); box-shadow: 0 0 24px rgba(14,165,233,.15); }
.calc-check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(14,165,233,.1); border: 2px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: transparent; transition: all .25s;
}
.calc-card.selected .calc-check { background: #0EA5E9; border-color: #0EA5E9; color: #fff; }
.calc-result {
  background: linear-gradient(145deg,#0E2040,#061830);
  border: 1px solid rgba(14,165,233,.3); border-radius: 24px; padding: 36px 40px;
  display: none; animation: fadeUp .4s ease;
}
.calc-empty { text-align: center; padding: 40px; color: #3D6B4A; font-size: 15px; }

/* ── FAQ ── */
.faq-item {
  background: linear-gradient(145deg,#0A1E35,#04111E);
  border: 1px solid rgba(14,165,233,.12); border-radius: var(--r);
  overflow: hidden; transition: all .3s; margin-bottom: 3px;
}
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 32px; cursor: pointer; }
.faq-q-text { font-size: 16px; font-weight: 700; color: var(--white); }
.faq-icon { color: var(--cyan); font-size: 22px; flex-shrink: 0; transition: transform .3s; }
.faq-a { display: none; font-size: 15px; color: #7AAF87; line-height: 1.75; padding: 0 32px 28px; }

/* ── HOW WE WORK ── */
.how-step {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 36px 40px; background: linear-gradient(145deg,#0A1E35,#04111E);
  border: 1px solid rgba(14,165,233,.15); border-radius: 24px;
  margin-bottom: 3px; position: relative; overflow: hidden;
}
.how-step.last { border-color: rgba(134,239,172,.2); }
.how-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg,#0EA5E9,#6B4EFF);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.how-connector { width: 2px; height: 24px; margin-left: 59px; background: linear-gradient(to bottom,rgba(14,165,233,.3),rgba(107,78,255,.3)); }
.how-num { position: absolute; top: 20px; right: 24px; font-size: 48px; font-weight: 800; color: rgba(14,165,233,.05); line-height: 1; }
.how-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.how-name { font-size: 19px; font-weight: 700; color: var(--white); }
.how-time { background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.3); color: #0EA5E9; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 100px; }
.how-desc { font-size: 15px; color: #7AAF87; line-height: 1.7; }

/* ── CONTACT ── */
#contact { padding: 100px 20px; display: flex; align-items: center; justify-content: center; }
.contact-card {
  max-width: 700px; width: 100%;
  background: linear-gradient(145deg,#0E2040,#061830);
  border: 1px solid rgba(14,165,233,.3); border-radius: var(--r-xl);
  padding: clamp(40px,6vw,72px); text-align: center; position: relative; overflow: hidden;
  animation: borderPulse 3s ease-in-out infinite;
}
.contact-glow { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 300px; height: 300px; background: radial-gradient(circle,rgba(107,78,255,.2) 0%,transparent 70%); pointer-events: none; }
.contact-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.contact-link { background: var(--card2); border: 1px solid var(--border); color: var(--muted2); font-size: 14px; font-weight: 500; padding: 12px 28px; border-radius: 100px; transition: all .25s; }
.contact-link:hover { border-color: var(--cyan); color: var(--cyan); }
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; max-width: 500px; margin: 0 auto 32px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form textarea.form-input { border-radius: var(--r); resize: vertical; }

/* ── COOKIE ── */
#cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9998; width: calc(100% - 40px); max-width: 700px;
  background: linear-gradient(145deg,#0A1E35,#061522);
  border: 1px solid rgba(14,165,233,.3); border-radius: var(--r);
  padding: 20px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; box-shadow: 0 8px 40px rgba(2,11,24,.8);
}
#cookie-banner p { font-size: 14px; color: #7AAF87; line-height: 1.6; flex: 1; min-width: 200px; }
#cookie-banner a { color: #0EA5E9; }
#cookie-btn { background: linear-gradient(135deg,#0EA5E9,#6B4EFF); color: #fff; border: none; padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 24px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; gap: 16px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo img { height: 32px; width: auto; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── CITIES ── */
.cities-wrap { background: #040D1C; border-top: 1px solid rgba(14,165,233,.08); padding: 60px 20px; text-align: center; }
.cities-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #3D6B4A; margin-bottom: 20px; }
.cities-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.city-tag { font-size: 13px; color: #3D6B4A; padding: 6px 16px; border: 1px solid rgba(14,165,233,.08); border-radius: 100px; }

/* ── SHIMMER EFFECT ── */
.svc-card::before, .pcard::after, .why-card::before, .stat-pill::before,
.about-text-card::before, .about-exp-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(90deg,transparent 0%,rgba(14,165,233,.06) 40%,rgba(134,239,172,.1) 50%,rgba(14,165,233,.06) 60%,transparent 100%);
  transform: translateX(-100%) skewX(-12deg);
  animation: shimmer 7s ease-in-out infinite; pointer-events: none; z-index: 1; border-radius: inherit;
}
.svc-card:nth-child(2)::before { animation-delay: .6s; }
.svc-card:nth-child(3)::before { animation-delay: 1.2s; }
.pcard:nth-child(2)::after { animation-delay: .8s; }
.pcard:nth-child(3)::after { animation-delay: 1.6s; }

/* ── PARTICLES ── */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.particle { position: absolute; border-radius: 50%; background: rgba(14,165,233,.4); animation: float linear infinite; }

/* ── PRICE BANNER ── */
.price-banner {
  background: linear-gradient(135deg,rgba(107,78,255,.12),rgba(107,78,255,.08));
  border-top: 1px solid rgba(107,78,255,.2); border-bottom: 1px solid rgba(107,78,255,.2);
  padding: 40px 20px; text-align: center;
}
.price-banner h3 { font-size: clamp(20px,3vw,30px); font-weight: 800; color: #F1F5F9; margin-bottom: 12px; }
.price-banner h3 span { color: var(--violet); }
.price-banner p { font-size: 15px; color: #94A3B8; margin-bottom: 24px; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .svc-grid      { grid-template-columns: 1fr; }
  .svc-card.wide { grid-column: span 1; }
  .svc-card.wide .svc-items { grid-template-columns: 1fr; }
  .proj-grid     { grid-template-columns: repeat(2,1fr); }
  .proj-grid .span2,.proj-grid .span3 { grid-column: span 2; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .calc-grid     { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .proj-grid     { grid-template-columns: 1fr; }
  .proj-grid .span2,.proj-grid .span3 { grid-column: span 1; }
  .why-grid      { grid-template-columns: 1fr; }
  .section       { padding: 70px 16px; }
  .services-wrap,.why-wrap { padding: 70px 16px; }
  #contact       { padding: 70px 16px; }
  .contact-card  { padding: 40px 28px; }
  .contact-form-row { grid-template-columns: 1fr; }
  footer         { flex-direction: column; align-items: flex-start; }
  .how-step      { flex-direction: column; gap: 16px; padding: 28px 24px; }
}

/* ── PROJECTS PAGE ───────────────────────── */
.page-hero {
  min-height: 44vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 70px; position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(107,78,255,.15) 0%, transparent 65%);
  pointer-events: none;
}
.proj-section-hdr {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.proj-section-num   { font-size: 13px; font-weight: 800; color: var(--violet); letter-spacing: 2px; }
.proj-section-title { font-size: 22px; font-weight: 800; color: var(--white); }
.proj-section-badge {
  background: var(--csft); border: 1px solid rgba(14,165,233,.25); color: var(--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; margin-left: auto;
}
/* Featured video card */
.video-feature {
  background: var(--card); border: 1px solid rgba(107,78,255,.25);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px;
  display: grid; grid-template-columns: 1fr 1fr;
}
.video-feature video, .video-feature img { width: 100%; height: 460px; object-fit: cover; object-position: top; display: block; }
.video-feature-info {
  padding: 44px 40px; display: flex; flex-direction: column;
  justify-content: center; gap: 18px;
}
.video-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,78,255,.15); border: 1px solid rgba(107,78,255,.3);
  color: #A78BFA; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; width: fit-content;
}
.video-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #A78BFA; animation: pulse 2s infinite; }
.video-title { font-size: clamp(20px,2.5vw,30px); font-weight: 800; color: var(--white); line-height: 1.2; }
.video-desc  { font-size: 15px; color: var(--muted2); line-height: 1.75; }
.video-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.video-chip  { background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--muted2); font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 100px; }
/* Screenshot grid */
.screen-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.screen-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: all .3s; position: relative;
}
.screen-card:hover { border-color: rgba(14,165,233,.4); transform: translateY(-4px); }
.screen-card img   { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; }
.screen-card-body  { padding: 16px 18px; }
.screen-card-name  { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.screen-card-desc  { font-size: 13px; color: var(--muted2); line-height: 1.5; }
/* CTA banner on projects page */
.cta-banner {
  background: linear-gradient(135deg,rgba(107,78,255,.12),rgba(14,165,233,.08));
  border-top: 1px solid rgba(107,78,255,.2); border-bottom: 1px solid rgba(107,78,255,.2);
  padding: 80px 20px; text-align: center; margin-top: 40px;
}
.cta-banner h2    { font-size: clamp(24px,3vw,38px); font-weight: 800; margin-bottom: 12px; }
.cta-banner h2 em { font-style: normal; background: linear-gradient(135deg,var(--violet),var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-banner p     { font-size: 16px; color: var(--muted2); max-width: 480px; margin: 0 auto 32px; }
/* Responsive projects page */
@media(max-width:900px) {
  .video-feature          { grid-template-columns: 1fr; }
  .video-feature video,
  .video-feature img      { height: 300px; }
  .screen-grid            { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px) {
  .screen-grid            { grid-template-columns: 1fr; }
  .video-feature-info     { padding: 28px 24px; }
}

/* ── PAGE HERO LAYOUT (projects.html) ── */
.page-hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(160px,220px) minmax(0,760px) minmax(160px,220px);
  align-items: center; justify-content: center; gap: clamp(24px,4vw,72px);
  width: 100%; max-width: 1320px; padding: 0 24px;
}
.page-hero-side {
  display: flex; align-items: center; justify-content: center;
}
.page-hero-video {
  width: 100%; max-width: 200px; height: 360px; object-fit: cover;
  border-radius: 28px; border: 1px solid rgba(14,165,233,.18);
  box-shadow: 0 0 36px rgba(107,78,255,.12), 0 0 70px rgba(14,165,233,.06);
}
.page-hero-center {
  position: relative; z-index: 2; max-width: 760px; text-align: center; margin: 0 auto;
}
.page-hero-title { font-size: clamp(28px,4.8vw,58px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; margin-bottom: 20px; }
.page-hero-grad { background: linear-gradient(135deg,var(--violet),var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-sub { font-size: clamp(15px,2vw,18px); color: var(--muted2); line-height: 1.8; max-width: 560px; margin: 0 auto; }

/* ── HERO LAYOUT RESPONSIVE ── */
@media(max-width:1100px) {
  .hero-layout { grid-template-columns: 0 1fr 0; }
  .hero-side    { display: none; }
  .hero-inner   { max-width: 760px; padding: 0 20px; }
  .hero-title   { max-width: 12.5ch; }
  #hero         { padding: 116px 20px 72px; }
  .page-hero-layout { grid-template-columns: 1fr; }
  .page-hero-side { display: none; }
  .page-hero { padding: 120px 20px 24px; min-height: 0; }
}
@media(max-width:600px) {
  .hero-side-video { max-width: 180px; }
  .hero-title { font-size: clamp(24px,7.8vw,32px); }
  html[lang="ru"] .hero-title { font-size: clamp(22px,7.2vw,30px); }
  .page-hero-title { font-size: clamp(18px,5vw,24px); }
  .hero-logo-video { width: 60px; height: 60px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-main, .btn-sec { width: 100%; max-width: 300px; text-align: center; }
  .proj-section-hdr { flex-wrap: wrap; }
  .proj-section-badge { margin-left: 0; }
  .contact-links { flex-direction: column; align-items: center; }
  .contact-link { width: 100%; max-width: 260px; text-align: center; }
  .faq-q { padding: 20px; gap: 12px; }
  .faq-a { padding: 0 20px 20px; }
  .faq-q-text { font-size: 14px; }
}

/* ── MOBILE HERO (must come after base styles) ── */
@media(max-width:768px) {
  .nav { width: calc(100% - 20px); }
  .hero-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 14px;
    align-items: start;
  }
  .hero-side {
    display: flex !important;
    width: 100%;
    padding: 0;
    transform: none;
  }
  .hero-layout > .hero-side:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-layout > .hero-side:last-child {
    grid-column: 2;
    grid-row: 1;
  }
  .hero-side-video {
    width: 100%;
    max-width: none;
    height: clamp(148px, 24vw, 196px);
    aspect-ratio: auto;
    border-radius: 22px;
  }
  .hero-inner {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: center; align-items: center;
    max-width: 100%; padding-top: 10px;
  }
  .hero-line { display: inline; }
  .hero-line-soft { display: inline; }
  .hero-title {
    font-size: clamp(24px,7.8vw,34px);
    letter-spacing: -.55px;
    line-height: 1.14;
    margin-bottom: 10px;
    max-width: 12.5ch;
  }
  html[lang="ru"] .hero-title { font-size: clamp(22px,7.1vw,31px); }
  .page-hero-title { font-size: clamp(22px,5vw,32px); letter-spacing: -.5px; }
  .hero-logo-video { display: none; }
  .badges-row {
    order: 4; gap: 8px; margin-bottom: 0; max-width: 100%;
    justify-content: center;
  }
  .badge {
    font-size: 10px; padding: 6px 10px; gap: 6px;
    max-width: 100%;
  }
  .badge-dot { width: 5px; height: 5px; }
  .hero-sub {
    order: 2; font-size: 14px; line-height: 1.6;
    margin-bottom: 16px; max-width: 32ch;
  }
  .hero-btns {
    order: 3; gap: 10px; width: 100%; max-width: 100%;
    flex-direction: column; align-items: stretch;
  }
  .btn-main, .btn-sec {
    width: 100%; max-width: 100%; text-align: center;
    padding: 14px 18px;
  }
  .callback-form { display: none; }
  .hero-stats {
    order: 5; display: grid !important; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-top: 22px; max-width: 100%; margin-left: auto; margin-right: auto;
  }
  .stat-pill { width: 100%; padding: 14px 12px; }
  .stat-pill .num { font-size: 20px; }
  .stat-pill .lbl { font-size: 11px; }
  #hero { min-height: 0; padding-top: 108px; padding-bottom: 34px; }
}

@media(max-width:768px) {
  .page-hero-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 14px;
    align-items: start;
  }
  .page-hero-side {
    display: flex !important;
    width: 100%;
  }
  .page-hero-layout > .page-hero-side:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .page-hero-layout > .page-hero-side:last-child {
    grid-column: 2;
    grid-row: 1;
  }
  .page-hero-video {
    width: 100%;
    max-width: none;
    height: clamp(148px, 24vw, 196px);
    border-radius: 22px;
  }
  .page-hero-center {
    grid-row: 2;
    grid-column: 1 / -1;
    max-width: 100%;
    padding-top: 10px;
  }
  .page-hero {
    padding: 108px 14px 30px;
    min-height: 0;
  }
  .page-hero-title {
    font-size: clamp(24px, 7.4vw, 34px);
    line-height: 1.12;
    margin-bottom: 12px;
  }
  .page-hero-sub {
    max-width: 34ch;
  }
}
