/* =========================================================
   Aravosh — design system
   ========================================================= */
:root {
  /* Surfaces */
  --bg: #0a0e17;
  --bg-alt: #0c111c;
  --surface: #111826;
  --surface-2: #161f30;
  --border: #1f2940;
  --border-soft: #1a2336;

  /* Text */
  --text: #eaf0fa;
  --text-2: #cdd6e6;
  --muted: #9aa6bf;

  /* Brand */
  --accent: #17d6c6;
  --accent-2: #6c8bff;
  --accent-3: #9b8bff;
  --grad: linear-gradient(135deg, #17d6c6 0%, #4bb6ef 48%, #6c8bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(23,214,198,0.14), rgba(108,139,255,0.14));

  /* Geometry */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --maxw: 1160px;
  --gutter: 24px;

  /* Effects */
  --ring: 0 0 0 3px rgba(23, 214, 198, 0.35);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, .stat dt, .feature-num {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline: 2px solid #eaf0fa; outline-offset: 3px; }
.side-nav a:focus-visible, .nav-links a:focus-visible { outline-offset: -2px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--surface); color: var(--text);
  padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid var(--border);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(23, 214, 198, 0.16);
}

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600; font-size: 0.96rem; line-height: 1;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary {
  background: var(--grad); color: #04121a;
  box-shadow: 0 8px 22px rgba(23, 214, 198, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 214, 198, 0.36); }
.btn-ghost { background: rgba(255, 255, 255, 0.02); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1.04rem; }
.btn .icon { width: 18px; height: 18px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 14, 23, 0.88);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-logo-footer { height: 44px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: 0.94rem;
  padding: 9px 14px; border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 11px 22px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 130px 0 96px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 72%);
}
.hero-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 880px; height: 620px;
  background:
    radial-gradient(closest-side, rgba(23, 214, 198, 0.16), transparent 72%),
    radial-gradient(closest-side, rgba(108, 139, 255, 0.14), transparent 72%);
  background-position: 36% 30%, 66% 38%;
  filter: blur(8px);
}
.hero-inner { position: relative; max-width: 840px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.hero-sub { font-size: 1.18rem; color: var(--text-2); max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}
.stat dt { font-size: 2.1rem; font-weight: 800; }
.stat dd { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* =========================================================
   Trusted
   ========================================================= */
.trusted { padding: 8px 0 8px; }
.trusted-label {
  text-align: center; color: var(--muted); font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 26px;
}
.trusted-logos {
  display: flex; gap: 56px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.trusted-logos li {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  letter-spacing: 0.01em; color: #56627d; font-size: 1.22rem;
  filter: grayscale(1); opacity: 0.85;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.trusted-logos li:hover { color: var(--text-2); opacity: 1; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 104px 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent),
    var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

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

/* =========================================================
   Service cards
   ========================================================= */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(23, 214, 198, 0.07), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(23, 214, 198, 0.4); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid rgba(23, 214, 198, 0.22);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* =========================================================
   About
   ========================================================= */
.about-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.about-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 44px 40px; box-shadow: var(--shadow-lg);
}
.about-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(108, 139, 255, 0.12), transparent 60%);
}
.about-card > * { position: relative; }
.about-chip {
  display: inline-block; background: rgba(23, 214, 198, 0.12); color: var(--accent);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.about-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.about-card p { color: var(--muted); }
.about-card-stats { display: flex; gap: 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.about-card-stats strong { display: block; font-family: "Plus Jakarta Sans"; font-size: 1.7rem; }
.about-card-stats span { color: var(--muted); font-size: 0.86rem; }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.65rem); margin-bottom: 18px; }
.about-text > p { color: var(--text-2); font-size: 1.08rem; margin-bottom: 26px; }
.check-list { display: grid; gap: 13px; margin-bottom: 32px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23, 214, 198, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2317d6c6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* =========================================================
   Why / features
   ========================================================= */
.feature {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 30px 26px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature:hover { border-color: rgba(108, 139, 255, 0.45); transform: translateY(-5px); }
.feature-num {
  font-family: "Plus Jakarta Sans"; font-size: 0.95rem; font-weight: 700;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  color: var(--accent); background: var(--grad-soft);
  border: 1px solid rgba(23, 214, 198, 0.2); margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   Testimonials
   ========================================================= */
.quote {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 22px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.quote:hover { border-color: var(--border); transform: translateY(-4px); }
.quote-mark {
  font-family: "Plus Jakarta Sans"; font-size: 3.4rem; line-height: 0.5; height: 24px;
  color: var(--accent); opacity: 0.5;
}
.quote blockquote { color: var(--text-2); font-size: 1.03rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid rgba(23, 214, 198, 0.25);
  font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 0.82rem; color: var(--accent);
}
.quote figcaption > span { display: flex; flex-direction: column; }
.quote figcaption strong { font-family: "Plus Jakarta Sans"; font-weight: 600; }
.quote figcaption span span { color: var(--muted); font-size: 0.86rem; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border); border-radius: 28px;
  padding: 76px 32px; box-shadow: var(--shadow-md);
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(108, 139, 255, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(23, 214, 198, 0.18), transparent 70%);
  background-position: 22% 12%, 80% 92%; background-size: 60% 60%, 55% 60%; background-repeat: no-repeat;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.cta p { color: var(--text-2); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }

.email-link {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid rgba(23, 214, 198, 0.35); transition: border-color 0.2s var(--ease);
}
.email-link:hover { border-bottom-color: var(--accent); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 11px; width: fit-content; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 0.86rem; margin-top: 8px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px var(--gutter); margin-top: 0;
  border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 0.9rem;
}

/* =========================================================
   Scroll reveal
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: rgba(12, 17, 28, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 18px;
    transform: translateY(-130%); opacity: 0; visibility: hidden;
    transition: transform 0.32s var(--ease), opacity 0.32s var(--ease), visibility 0.32s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 92px 0 68px; }
  .section { padding: 76px 0; }
  .cta { padding: 56px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trusted-logos { gap: 30px; }
}
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   Sub pages (legal) + error page
   ========================================================= */
.subpage { padding: 72px 0 100px; }
.subpage .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-weight: 500; font-size: 0.92rem; margin-bottom: 32px;
  transition: color 0.2s var(--ease);
}
.subpage .back-link:hover { color: var(--accent); }
.subpage .back-link .icon { width: 16px; height: 16px; }

.legal { max-width: 760px; margin: 0 auto; }
.legal-header { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border-soft); }
.legal-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.legal-meta { color: var(--muted); font-size: 0.92rem; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p { color: var(--text-2); margin-bottom: 16px; }
.legal ul { display: grid; gap: 10px; margin: 0 0 16px; padding-left: 4px; }
.legal ul li { position: relative; padding-left: 22px; color: var(--text-2); }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { color: var(--accent); border-bottom: 1px solid rgba(23, 214, 198, 0.35); }
.legal a:hover { border-bottom-color: var(--accent); }

.error-page {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 74px);
  display: grid; place-items: center; text-align: center; padding: 40px 0;
}
.error-page .hero-bg { position: absolute; inset: 0; }
.error-inner { position: relative; max-width: 560px; padding: 0 var(--gutter); }
.error-code {
  font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1; letter-spacing: -0.04em;
}
.error-inner h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 8px 0 14px; }
.error-inner p { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; }

.footer-legal { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--text); }
.footer-legal a.email-link { color: var(--accent); }

/* =========================================================
   App shell — sidebar layout
   ========================================================= */
:root { --sidebar-w: 268px; }

.app { min-height: 100vh; }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w); z-index: 90;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-right: 1px solid var(--border-soft);
  padding: 26px 18px 22px;
}
.sidebar-head { padding: 4px 10px 22px; }
.sidebar-head .brand-logo { height: 38px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 13px; border-radius: var(--r-sm);
  color: var(--muted); font-weight: 500; font-size: 0.97rem;
  position: relative; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.side-nav a.active { color: var(--text); background: var(--grad-soft); }
.side-nav a.active::before {
  content: ""; position: absolute; left: -18px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: var(--accent);
}
.side-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-nav a.active .side-ico { stroke: var(--accent); }
.sidebar-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.btn-block { width: 100%; }
.sidebar-mail {
  display: flex; align-items: center; gap: 10px; padding: 0 4px;
  color: var(--muted); font-size: 0.85rem; word-break: break-all; transition: color 0.2s var(--ease);
}
.sidebar-mail:hover { color: var(--accent); }
.sidebar-mail .side-ico { width: 17px; height: 17px; stroke: var(--accent); }

.content { margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }

.topbar {
  display: none; position: sticky; top: 0; z-index: 80;
  align-items: center; justify-content: space-between; gap: 16px;
  height: 66px; padding: 0 var(--gutter);
  background: rgba(10, 14, 23, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease);
}
.topbar.scrolled { border-bottom-color: var(--border-soft); }
.brand-mobile .brand-logo { height: 34px; }

.sidebar-backdrop {
  position: fixed; inset: 0; z-index: 85; background: rgba(4, 8, 15, 0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.sidebar-backdrop.show { opacity: 1; visibility: visible; }

.app-footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px var(--gutter); border-top: 1px solid var(--border-soft);
  color: var(--muted); font-size: 0.9rem;
}

/* Page wrapper + heads */
.page { padding: 60px 0 84px; }
.page-head { max-width: 680px; margin: 0 0 48px; }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 1.1rem; }
.center-row { display: flex; justify-content: center; margin-top: 38px; }

/* =========================================================
   Contact + form
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.info-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 28px 26px;
}
.info-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.info-card p { color: var(--muted); margin-bottom: 16px; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.97rem; }
.info-list svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; padding: 4px; background: rgba(23, 214, 198, 0.12); border-radius: 50%; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px 32px; box-shadow: var(--shadow-md);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text-2); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.97rem; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field select { appearance: none; -webkit-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='%238b97b0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23, 214, 198, 0.18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #e2556b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: -2px; }
.form-note a { color: var(--accent); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.form-status { display: none; border-radius: var(--r-sm); padding: 14px 16px; font-size: 0.94rem; }
.form-status.show { display: block; }
.form-status.success { background: rgba(23, 214, 198, 0.12); border: 1px solid rgba(23, 214, 198, 0.4); color: #b8f4ee; }
.form-status.error { background: rgba(226, 85, 107, 0.12); border: 1px solid rgba(226, 85, 107, 0.4); color: #f3b6bf; }
.form-status a { color: inherit; text-decoration: underline; }

/* =========================================================
   App shell responsive
   ========================================================= */
@media (max-width: 980px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.32s var(--ease); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .content { margin-left: 0; }
  .topbar { display: flex; }
  .topbar .nav-toggle { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .topbar-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px 20px; }
  .app-footer { padding: 22px var(--gutter); }
}

/* =========================================================
   Personalization · 3D · Motion
   ========================================================= */

/* Animated aurora behind the hero */
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(38% 50% at 22% 30%, rgba(23, 214, 198, 0.20), transparent 60%),
    radial-gradient(40% 52% at 78% 28%, rgba(108, 139, 255, 0.18), transparent 60%),
    radial-gradient(45% 55% at 55% 70%, rgba(155, 139, 255, 0.16), transparent 60%);
  filter: blur(40px); opacity: 0.9;
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1);    }
  50%  { transform: translate3d(4%, 3%, 0)  scale(1.08);  }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.04);  }
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

/* Two-column hero */
.hero-inner.hero-split {
  max-width: var(--maxw); display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: 44px; align-items: center; text-align: left;
}
.hero-split .hero-sub { margin: 0 0 36px; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-split .hero-stats { margin-top: 52px; }

/* ---- CSS 3D scene ---- */
.hero-visual { display: grid; place-items: center; }
.scene { width: min(420px, 100%); aspect-ratio: 1 / 1; perspective: 1100px; }
.scene-3d {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.25s var(--ease);
}
.orbit {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid rgba(108, 139, 255, 0.22);
  transform-style: preserve-3d;
}
.orbit-1 { width: 86%; height: 86%; transform: translateZ(-30px) rotateX(72deg); animation: spin 14s linear infinite; border-color: rgba(23, 214, 198, 0.25); }
.orbit-2 { width: 64%; height: 64%; transform: translateZ(10px) rotateX(64deg) rotateZ(40deg); animation: spin 10s linear infinite reverse; }
@keyframes spin { to { transform: var(--t, rotateX(72deg)) rotateZ(360deg); } }
.orbit-1 { --t: translateZ(-30px) rotateX(72deg); }
.orbit-2 { --t: translateZ(10px) rotateX(64deg); }

.glass-card {
  position: absolute; border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.glass-main {
  inset: 0; margin: auto; width: 52%; height: 52%;
  display: grid; place-items: center; gap: 14px; grid-auto-flow: row;
  transform: translateZ(60px); animation: float-y 6s ease-in-out infinite;
  background: linear-gradient(150deg, rgba(23,214,198,0.18), rgba(108,139,255,0.12));
  border-color: rgba(23, 214, 198, 0.32);
}
.glass-logo {
  font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 3.2rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.glass-bars { display: flex; gap: 6px; align-items: flex-end; height: 26px; }
.glass-bars i { width: 7px; border-radius: 3px; background: var(--grad); display: block; }
.glass-bars i:nth-child(1) { height: 40%; animation: bar 1.6s ease-in-out infinite; }
.glass-bars i:nth-child(2) { height: 100%; animation: bar 1.6s ease-in-out infinite 0.2s; }
.glass-bars i:nth-child(3) { height: 64%; animation: bar 1.6s ease-in-out infinite 0.4s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }

.glass-chip { width: 64px; height: 64px; display: grid; place-items: center; }
.glass-chip svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { top: 6%; left: 4%; transform: translateZ(110px); animation: float-y 5s ease-in-out infinite 0.2s; }
.chip-b { bottom: 10%; left: 12%; transform: translateZ(90px); animation: float-y 5.6s ease-in-out infinite 0.5s; }
.chip-c { top: 16%; right: 2%; transform: translateZ(130px); animation: float-y 6.4s ease-in-out infinite 0.8s; }
.chip-b svg { stroke: var(--accent-2); }
.chip-c svg { stroke: var(--accent-3); }
@keyframes float-y { 0%, 100% { translate: 0 -8px; } 50% { translate: 0 8px; } }

.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(23,214,198,0.7); }
.spark-1 { top: 22%; right: 18%; transform: translateZ(80px); animation: twinkle 3s ease-in-out infinite; }
.spark-2 { bottom: 24%; right: 26%; background: var(--accent-2); box-shadow: 0 0 12px 2px rgba(108,139,255,0.7); transform: translateZ(60px); animation: twinkle 2.4s ease-in-out infinite 0.6s; }
.spark-3 { bottom: 30%; left: 6%; background: var(--accent-3); box-shadow: 0 0 12px 2px rgba(155,139,255,0.7); transform: translateZ(40px); animation: twinkle 3.4s ease-in-out infinite 1s; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; transform: translateZ(60px) scale(0.8); } 50% { opacity: 1; transform: translateZ(60px) scale(1.25); } }

/* ---- Pointer tilt + spotlight ---- */
.grid { perspective: 1200px; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(23, 214, 198, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease); z-index: 1;
}
[data-spot]:hover::after { opacity: 1; }
[data-spot] > * { position: relative; z-index: 2; }

/* ---- Marquee logo strip ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 1.22rem;
  color: #56627d; opacity: 0.85; white-space: nowrap; transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.marquee-track li:hover { color: var(--text-2); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Reduced motion: turn it all off ---- */
@media (prefers-reduced-motion: reduce) {
  .aurora, .orbit, .glass-main, .glass-bars i, .glass-chip, .spark, .marquee-track { animation: none !important; }
  .hero-canvas { display: none; }
  .scene-3d { transform: none !important; }
  [data-tilt] { transform: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner.hero-split { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-split .hero-sub { margin: 0 auto 36px; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-visual { order: 2; }
  .scene { width: min(340px, 86%); }
}
@media (max-width: 540px) {
  .hero-visual { display: none; }
}

/* =========================================================
   Peak styling — premium polish
   ========================================================= */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(23, 214, 198, 0.6); transition: width 0.1s linear;
}

/* Subtle film grain for depth */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor spotlight over the hero */
.hero-spotlight {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 30%), rgba(23, 214, 198, 0.10), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.hero:hover .hero-spotlight { opacity: 1; }

/* Headline gradient shimmer */
.text-grad {
  background: linear-gradient(100deg, #17d6c6, #4bb6ef, #9b8bff, #17d6c6);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 250% 0; } }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 140%; }

/* ---- 3D orb canvas ---- */
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.orb-glow {
  position: absolute; inset: 14%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(23, 214, 198, 0.22), rgba(108, 139, 255, 0.12) 60%, transparent 72%);
  filter: blur(12px); animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(0.94); opacity: 0.8; } 50% { transform: scale(1.06); opacity: 1; } }
.scene-3d { z-index: 2; }
.glass-main {
  width: 46%; height: 46%; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* animated conic ring on the floating brand card */
.glass-main::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 20%, var(--accent), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotate-border 4s linear infinite;
}
@keyframes rotate-border { to { --angle: 360deg; } }

/* ---- Premium animated card borders ---- */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle), transparent 25%, rgba(23, 214, 198, 0.9), rgba(108, 139, 255, 0.9), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s var(--ease); z-index: 0;
}
.card:hover::before { opacity: 1; animation: rotate-border 4s linear infinite; }

/* Reveal — add a touch of scale + depth */
[data-reveal] { opacity: 0; transform: translateY(26px) scale(0.985); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .text-grad, .orb-glow, .glass-main::before, .card:hover::before { animation: none !important; }
  .orb-canvas { display: none; }
  .scroll-progress { transition: none; }
}

/* =========================================================
   Layout hardening — desktop & mobile
   ========================================================= */
.content { max-width: 100%; }
.page { padding-inline: 0; }

/* Larger, more breathable desktop rhythm */
@media (min-width: 1280px) {
  .section { padding: 116px 0; }
  .page { padding: 68px 0 96px; }
}

@media (max-width: 980px) {
  .scene { width: min(360px, 78%); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .hero { padding: 84px 0 60px; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .hero-sub { font-size: 1.06rem; }
  .section { padding: 64px 0; }
  .page { padding: 40px 0 64px; }
  .page-head { margin-bottom: 36px; }
  .page-head h1 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
  .hero-stats { gap: 22px 16px; margin-top: 40px; padding-top: 30px; }
  .stat dt { font-size: 1.7rem; }
  .btn { padding: 13px 22px; }
  .topbar-cta { display: inline-flex; padding: 9px 16px; font-size: 0.9rem; }
}
@media (max-width: 540px) {
  /* keep the 3D orb on mobile — it's the centrepiece — just smaller */
  .hero-visual { display: grid; }
  .scene { width: min(300px, 84%); margin: 8px auto 0; }
  .hero-inner.hero-split { gap: 10px; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Interactive Features: Tech Stack, Timeline, Planner, Case Studies
   ========================================================= */

/* Case Studies Grid */
.case-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.case-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(23, 214, 198, 0.4);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(23, 214, 198, 0.05);
}
.case-img-placeholder {
  height: 180px; width: 100%; position: relative;
  background: linear-gradient(135deg, rgba(23, 214, 198, 0.08), rgba(108, 139, 255, 0.08));
  border-bottom: 1px solid var(--border-soft); display: grid; place-items: center;
}
.case-img-placeholder::after {
  content: "</>"; font-family: monospace; font-size: 2.2rem; font-weight: 700; color: var(--accent); opacity: 0.65;
}
.case-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-tag {
  background: rgba(255, 255, 255, 0.04); color: var(--muted);
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border-soft); transition: color 0.2s var(--ease);
}
.case-card:hover .case-tag { color: var(--text); border-color: rgba(23, 214, 198, 0.2); }
.case-info h3 { font-size: 1.25rem; margin-bottom: 8px; }
.case-info p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; flex: 1; }
.case-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--border-soft);
}
.metric-item { display: flex; flex-direction: column; }
.metric-val { font-family: "Plus Jakarta Sans"; font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.metric-lbl { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

/* Tech Stack Matrix */
.tech-matrix { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--border-soft); }
.tech-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.tech-tab {
  background: rgba(255, 255, 255, 0.02); color: var(--muted);
  border: 1px solid var(--border); padding: 10px 22px; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.tech-tab:hover, .tech-tab.active {
  color: var(--accent); border-color: var(--accent);
  background: rgba(23, 214, 198, 0.04);
}
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-sm); padding: 20px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.35s var(--ease); transform-origin: center;
}
.tech-card.hidden { opacity: 0; transform: scale(0.9) translateY(10px); pointer-events: none; position: absolute; width: 0; height: 0; padding: 0; margin: 0; border: none; overflow: hidden; }
.tech-card:hover {
  transform: translateY(-4px); border-color: rgba(108, 139, 255, 0.4);
  background: var(--surface-2);
}
.tech-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--grad-soft); border: 1px solid rgba(23, 214, 198, 0.15);
  display: grid; place-items: center; color: var(--accent);
}
.tech-card:hover .tech-icon-wrap { border-color: var(--accent); }
.tech-icon-wrap svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tech-card h4 { font-size: 1rem; font-weight: 600; }
.tech-tooltip {
  font-size: 0.78rem; color: var(--muted); opacity: 0; height: 0; overflow: hidden;
  transition: all 0.3s var(--ease); text-align: center; line-height: 1.4;
}
.tech-card:hover .tech-tooltip { opacity: 1; height: auto; margin-top: 6px; }

/* Process Timeline */
.timeline-container { position: relative; max-width: 800px; margin: 48px auto 0; padding: 20px 0; }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--border-soft); transform: translateX(-50%);
}
.timeline-line-filled {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(23, 214, 198, 0.6);
  transition: height 0.1s linear;
}
.timeline-item {
  position: relative; width: 50%; padding: 0 36px 36px 0; text-align: right;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.timeline-item:nth-child(even) { left: 50%; padding: 0 0 36px 36px; text-align: left; }
.timeline-badge {
  position: absolute; right: -13px; top: 4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border); z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease);
}
.timeline-badge::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  transition: all 0.35s var(--ease);
}
.timeline-item.active .timeline-badge {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(23, 214, 198, 0.5);
}
.timeline-item.active .timeline-badge::after {
  background: var(--accent);
}
.timeline-item:nth-child(even) .timeline-badge { left: -13px; right: auto; }
.timeline-content {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 24px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.timeline-item.active .timeline-content { border-color: rgba(23, 214, 198, 0.3); }
.timeline-content:hover { transform: translateY(-3px); }
.timeline-num {
  font-family: "Plus Jakarta Sans"; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.06em; margin-bottom: 6px; display: block;
}
.timeline-content h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-content p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* Project Planner Stepper */
.planner-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.planner-header {
  padding: 32px 32px 20px; border-bottom: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.planner-header h3 { font-size: 1.25rem; }
.planner-steps { display: flex; gap: 8px; }
.planner-step-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border-soft);
  transition: all 0.3s var(--ease);
}
.planner-step-dot.active { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.planner-step-dot.completed { background: var(--accent-2); }
.planner-body { display: grid; grid-template-columns: 1.1fr 0.9fr; border-bottom: 1px solid var(--border-soft); }
.planner-panels { padding: 32px; min-height: 290px; position: relative; }
.planner-panel { display: none; }
.planner-panel.active { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.planner-panel h4 { font-size: 1.1rem; margin-bottom: 18px; color: var(--text); }
.planner-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.planner-panel[data-step="1"] .planner-options { grid-template-columns: repeat(2, 1fr); }
.planner-option-btn {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 16px; text-align: left; cursor: pointer;
  transition: all 0.25s var(--ease); display: flex; flex-direction: column; gap: 4px;
}
.planner-option-btn:hover { border-color: rgba(108, 139, 255, 0.4); background: var(--surface-2); }
.planner-option-btn.selected {
  border-color: var(--accent); background: rgba(23, 214, 198, 0.04);
  box-shadow: 0 0 0 1px var(--accent);
}
.planner-option-btn span { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.planner-option-btn small { font-size: 0.76rem; color: var(--muted); }
.planner-summary-panel {
  background: rgba(10, 14, 23, 0.4); border-left: 1px solid var(--border-soft);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.summary-widget { display: flex; flex-direction: column; gap: 20px; }
.summary-widget h4 { font-size: 0.88rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.08em; }
.summary-list { display: flex; flex-direction: column; gap: 12px; }
.summary-item { display: flex; justify-content: space-between; font-size: 0.9rem; }
.summary-item span { color: var(--muted); }
.summary-item strong { color: var(--text-2); font-weight: 500; }
.summary-price-box {
  background: var(--bg-alt); border: 1px solid var(--border-soft);
  border-radius: var(--r-sm); padding: 18px; margin-top: 14px; text-align: center;
}
.summary-price-box span { font-size: 0.78rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.summary-price { font-family: "Plus Jakarta Sans"; font-size: 1.8rem; font-weight: 800; color: var(--accent); margin-top: 4px; }
.planner-footer { padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; background: rgba(10, 14, 23, 0.2); }
.planner-nav { display: flex; gap: 10px; }

/* Responsive tweaks for new elements */
@media (max-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .planner-body { grid-template-columns: 1fr; }
  .planner-summary-panel { border-left: none; border-top: 1px solid var(--border-soft); }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-line { left: 24px; }
  .timeline-item { width: 100%; padding: 0 0 28px 48px; text-align: left; }
  .timeline-item:nth-child(even) { left: 0; padding: 0 0 28px 48px; }
  .timeline-badge { left: 11px !important; right: auto !important; }
  .planner-options { grid-template-columns: 1fr !important; }
  .planner-panels { padding: 20px; }
  .planner-summary-panel { padding: 20px; }
  .planner-header { padding: 20px; }
  .planner-footer { padding: 16px 20px; }
}
@media (max-width: 400px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UX-report remediation
   ========================================================= */

/* (1) CTA prominence — make the primary action visually dominant */
.btn-cta {
  padding: 18px 40px; font-size: 1.12rem; font-weight: 700;
  box-shadow: 0 12px 34px rgba(23, 214, 198, 0.42);
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.btn-cta .icon { width: 20px; height: 20px; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(23, 214, 198, 0.34); }
  50%      { box-shadow: 0 14px 44px rgba(23, 214, 198, 0.62); }
}
.hero-actions .btn-ghost { opacity: 0.92; }

/* (2) Contrast — lift low-contrast text to meet WCAG AA */
.marquee-track li, .trusted-logos li { color: var(--muted); opacity: 1; }
.marquee-track li:hover, .trusted-logos li:hover { color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.legal-meta, .footer-note, .form-note, .app-footer, .footer-legal a, .trusted-label { color: var(--muted); }

/* (3) Consistency — standardise component padding */
.card, .feature, .quote, .info-card { padding: 30px 28px; }
.grid { gap: 24px; }

/* (4) Form error states — clear, communicated friction handling */
.field-error {
  display: none; align-items: center; gap: 7px;
  color: #ff9aa6; font-size: 0.84rem; margin-top: 2px;
}
.field-error.show { display: flex; }
.field-error::before {
  content: "!"; display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(226, 85, 107, 0.2); color: #ff9aa6; font-weight: 700; font-size: 0.72rem; flex-shrink: 0;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e2556b; box-shadow: 0 0 0 3px rgba(226, 85, 107, 0.16); }

/* (7) Breathing room — reduce content crowding */
.section-head { margin-bottom: 64px; }
.hero-split .hero-sub { max-width: 540px; }

/* (5/6) Mobile hierarchy — bigger headings, dominant full-width CTA */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.3rem, 8.5vw, 3rem); line-height: 1.1; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .btn-cta { padding: 16px 28px; font-size: 1.05rem; }
  .topbar-cta { display: inline-flex; padding: 10px 18px; font-size: 0.92rem; font-weight: 700; }
  .page-head h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .section-head { margin-bottom: 44px; }
}

/* =========================================================
   Contact — magnified, no-cost planner/form
   ========================================================= */
.contact-grid { grid-template-columns: 0.68fr 1.32fr; gap: 48px; }
.planner-header { padding: 30px 36px 22px; }
.planner-header h3 { font-size: 1.45rem; }
.planner-body { grid-template-columns: 1.3fr 0.7fr; }
.planner-panels { padding: 40px; min-height: 392px; }
.planner-panel h4 { font-size: 1.35rem; margin-bottom: 24px; }
.planner-options { gap: 16px; }
.planner-option-btn { padding: 20px; gap: 6px; }
.planner-option-btn span { font-size: 1.02rem; }
.planner-option-btn small { font-size: 0.84rem; }

/* larger, clearer form inside the planner */
.planner-card .field { gap: 9px; }
.planner-card .field label { font-size: 0.98rem; }
.planner-card .field input,
.planner-card .field textarea {
  font-size: 1.02rem; padding: 15px 16px; border-radius: var(--r-sm);
}
.planner-card .field textarea { min-height: 124px; }
.planner-footer { padding: 24px 36px; }
.planner-footer .btn { padding: 14px 30px; font-size: 1rem; }

/* summary panel after price removal */
.planner-summary-panel { justify-content: flex-start; gap: 22px; padding: 40px 32px; }
.summary-item { font-size: 1rem; }
.summary-note {
  margin-top: 4px; font-size: 0.9rem; line-height: 1.6; color: var(--muted);
  padding-top: 18px; border-top: 1px solid var(--border-soft);
}

@media (max-width: 900px) {
  .planner-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .planner-panels { padding: 24px; min-height: 0; }
  .planner-panel h4 { font-size: 1.2rem; margin-bottom: 18px; }
  .planner-options { grid-template-columns: 1fr !important; }
  .planner-card .field input, .planner-card .field textarea { font-size: 1rem; }
}
