/* ===========================================================
   TimStudio - high-end landing page styles
   =========================================================== */

:root {
  --bg: #08080f;
  --bg-soft: #0e0e1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4fb;
  --muted: #a9a9c2;
  --muted-2: #7d7d99;

  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --brand-3: #ff5cab;
  --grad: linear-gradient(120deg, #7c5cff 0%, #00d4ff 55%, #6effd0 100%);
  --grad-text: linear-gradient(110deg, #b3a4ff 0%, #6fe3ff 50%, #8effd6 100%);
  --glow: 0 0 60px rgba(124, 92, 255, 0.45);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-head: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

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

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

/* ============ Ambient background ============ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 0% 20%, rgba(0, 212, 255, 0.10), transparent 55%),
    var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 { width: 540px; height: 540px; background: #7c5cff; top: -120px; left: -80px; animation: float1 18s var(--ease) infinite; }
.blob-2 { width: 460px; height: 460px; background: #00d4ff; top: 30%; right: -120px; animation: float2 22s var(--ease) infinite; }
.blob-3 { width: 400px; height: 400px; background: #ff5cab; bottom: -140px; left: 30%; animation: float3 20s var(--ease) infinite; opacity: 0.35; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.15); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,40px) scale(0.9); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-50px) scale(1.1); } }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* ============ 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.10), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.6);
}

/* ============ Buttons ============ */
.btn {
  --pad-y: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-lg { --pad-y: 15px; padding-left: 30px; padding-right: 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #0a0a12;
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px -8px rgba(124, 92, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 18px 44px -10px rgba(0, 212, 255, 0.65);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--brand-2);
  background: var(--surface-2);
}

/* ============ Navbar ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 11px 0;
  background: rgba(8, 8, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad);
  color: #0a0a12;
  font-size: 1rem;
  box-shadow: var(--glow);
  animation: spin-slow 14s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lang-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.lang-btn svg { transition: transform 0.3s var(--ease); }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(16, 16, 26, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: none; border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button.active { color: var(--text); background: rgba(124, 92, 255, 0.15); }

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(80vw, 320px);
  background: rgba(12, 12, 20, 0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 100px 26px 40px;
  transform: translateX(105%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 12px 0; color: var(--muted); font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: 16px; border-bottom: none; color: #0a0a12; justify-content: center; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 170px 0 70px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -1.5px;
  max-width: 16ch;
}
.hero-title span { display: block; }

.hero-sub {
  margin: 26px auto 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted-2); font-size: 0.9rem; margin-top: 4px; }

/* Marquee */
.marquee {
  margin-top: 70px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted-2);
}
.marquee-track .dot { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Section base ============ */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.8px;
}
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* ============ Service cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.22), rgba(0,212,255,0.18));
  border: 1px solid var(--border);
  color: #cdbbff;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ============ Feature / Why ============ */
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.feature-main {
  padding: 42px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(124,92,255,0.14), rgba(0,212,255,0.05)),
    var(--surface);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.feature-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
}
.feature-main h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.5px; }
.feature-main p { color: var(--muted); margin: 16px 0 24px; max-width: 46ch; }
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text); font-size: 0.98rem; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-side { display: grid; gap: 22px; grid-template-rows: repeat(3, 1fr); }
.feature-mini {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.feature-mini:hover { transform: translateX(6px); border-color: var(--border-strong); }
.mini-num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--brand); margin-bottom: 8px; }
.feature-mini h4 { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin-bottom: 4px; }
.feature-mini p { color: var(--muted); font-size: 0.92rem; }

/* ============ Process timeline ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.step {
  text-align: center;
  padding: 0 10px;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.step:hover .step-num { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--glow); }
.step h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured {
  background: linear-gradient(170deg, rgba(124,92,255,0.18), rgba(0,212,255,0.06)), var(--surface);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 30px 70px -30px rgba(124, 92, 255, 0.6);
}
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad);
  color: #0a0a12;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.price-for { color: var(--muted); font-size: 0.92rem; margin: 6px 0 18px; min-height: 2.6em; }
.price-amount {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.price-from { font-size: 0.95rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.price-list { display: grid; gap: 13px; margin-bottom: 28px; }
.price-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.price-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px;
  background: #6effd0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price-note { text-align: center; color: var(--muted-2); margin-top: 34px; font-size: 0.95rem; }

/* ============ Testimonials ============ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.review:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.stars { color: #ffce4f; letter-spacing: 3px; margin-bottom: 16px; }
.review blockquote { font-size: 1.02rem; color: var(--text); line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0a12;
  font-family: var(--font-head);
  font-weight: 800;
}
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.who small { color: var(--muted-2); font-size: 0.84rem; }

/* ============ Contact ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: stretch;
  background: linear-gradient(160deg, rgba(124,92,255,0.08), transparent 60%), var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 46px;
}
.contact-info .section-title { text-align: left; }
.contact-info .section-sub { text-align: left; }
.contact-list { margin: 30px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--brand-2);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-text { display: flex; flex-direction: column; }
.ci-text small { color: var(--muted-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.ci-text a, .ci-text span { font-size: 1rem; color: var(--text); font-weight: 500; }

/* Instant connect */
.instant-connect { margin-top: 8px; }
.instant-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.instant-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ic-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
}
.ic-btn svg { width: 22px; height: 22px; }
.ic-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.ic-tg { background: linear-gradient(135deg, #2aabee, #229ed9); box-shadow: 0 10px 26px -8px rgba(34, 158, 217, 0.7); }
.ic-wa { background: linear-gradient(135deg, #41cb5a, #1faa4d); box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.7); }
.ic-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
}
.ic-icon svg { width: 24px; height: 24px; }
.ic-icon:hover { transform: translateY(-3px); filter: brightness(1.08); }
.ic-ig { background: linear-gradient(135deg, #feda75, #d62976 45%, #962fbf 75%, #4f5bd5); box-shadow: 0 10px 26px -8px rgba(214, 41, 118, 0.6); }

.contact-form { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(8, 8, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
  background: rgba(8, 8, 16, 0.85);
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a9a9c2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input.invalid, .field textarea.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.15); }
.form-status { font-size: 0.92rem; padding: 12px 16px; border-radius: 12px; }
.form-status.success { background: rgba(110,255,208,0.12); color: #6effd0; border: 1px solid rgba(110,255,208,0.3); }
.form-status.error { background: rgba(255,107,107,0.12); color: #ff9c9c; border: 1px solid rgba(255,107,107,0.3); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 40px; background: rgba(8,8,15,0.5); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.88rem;
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* stagger children within grids */
.cards .card,
.pricing-grid .price-card,
.reviews .review,
.feature-side .feature-mini,
.timeline .step { transition-delay: var(--d, 0s); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .timeline::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; padding: 34px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 140px; }
  .hero-stats { gap: 30px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .contact-wrap { padding: 26px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-cols { gap: 44px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-stats { flex-direction: row; gap: 20px; }
  .stat-label { font-size: 0.78rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
