/* ============================================================
   Bluebook Growth — premium agency site
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-2: #080b16;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f9;
  --muted: #8b93a9;
  --muted-2: #626a80;

  --blue: #2f6bff;
  --blue-2: #1a4dff;
  --cyan: #24d3ee;
  --pink: #ff2d8f;
  --orange: #ff8a00;
  --purple: #a83cff;

  --brand-grad: linear-gradient(115deg, #ff8a00 0%, #ff2d8f 26%, #a83cff 52%, #2f6bff 78%, #24d3ee 100%);
  --blue-grad: linear-gradient(120deg, #2f6bff, #24d3ee);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-blue: 0 20px 60px -18px rgba(47, 107, 255, 0.55);

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, h4, .brand-name { font-family: "Sora", "Inter", sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

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

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ============ Ambient background ============ */
.bg-ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.orb-1 { width: 620px; height: 620px; top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(47,107,255,0.55), transparent 70%); animation: drift1 22s ease-in-out infinite; }
.orb-2 { width: 560px; height: 560px; top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(168,60,255,0.4), transparent 70%); animation: drift2 26s ease-in-out infinite; }
.orb-3 { width: 500px; height: 500px; bottom: -160px; left: 25%;
  background: radial-gradient(circle, rgba(36,211,238,0.35), transparent 70%); animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-70px, 40px); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -60px); } }

.grid-overlay {
  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: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}
.noise {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Cursor glow ============ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 400px; height: 400px; z-index: -1;
  background: radial-gradient(circle, rgba(47,107,255,0.13), transparent 65%);
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
}

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

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

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-name-accent { color: var(--blue); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; font-size: 0.94rem; font-weight: 500; color: var(--muted);
  border-radius: 10px; position: relative; transition: color 0.25s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--blue-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text) !important;
  font-weight: 600; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); background: rgba(47,107,255,0.16); box-shadow: 0 10px 30px -12px rgba(47,107,255,0.6); }

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

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 14px 26px; border-radius: 13px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, background 0.28s, border-color 0.28s;
}
.btn svg { transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--brand-grad); opacity: 0;
  transition: opacity 0.35s; z-index: -1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -18px rgba(47,107,255,0.8); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--blue); }
.btn-block { width: 100%; }

/* ============ Hero ============ */
.hero { position: relative; padding: 168px 0 90px; min-height: 100svh; display: flex; align-items: center; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 50px; align-items: center; width: min(var(--maxw), 92%); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title { font-size: clamp(2.6rem, 6vw, 4.35rem); font-weight: 800; margin: 22px 0 20px; }
.rotator { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.rotator-track { display: flex; flex-direction: column; animation: rotate 9s var(--ease) infinite; }
.rotator-word { height: 1.15em; line-height: 1.15em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rotate {
  0%, 27% { transform: translateY(0); }
  33%, 60% { transform: translateY(-1.15em); }
  66%, 93% { transform: translateY(-2.3em); }
  100% { transform: translateY(-3.45em); }
}

.hero-sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }

.hero-trust { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 0.9rem; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700; color: #fff; border: 2px solid var(--bg); margin-left: -10px;
  background: var(--blue-grad);
}
.trust-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, var(--orange), var(--pink)); }
.trust-avatars span:last-child { background: linear-gradient(135deg, var(--purple), var(--blue)); }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.visual-ring {
  position: relative; width: min(360px, 78%); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; will-change: transform;
}
.visual-ring::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--brand-grad); padding: 3px; opacity: 0.9;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ring-glow { position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.35), transparent 70%); filter: blur(24px); }
.visual-logo { width: 82%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; position: relative; z-index: 1;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 16px;
  background: rgba(12, 16, 28, 0.72); border: 1px solid var(--border-strong); border-radius: 15px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow); z-index: 2; animation: floatY 5s ease-in-out infinite;
}
.float-card .fc-icon { font-size: 1.4rem; }
.float-card strong { display: block; font-family: "Sora"; font-size: 1.05rem; }
.float-card span { font-size: 0.76rem; color: var(--muted); }
.fc-1 { top: 6%; left: -6%; animation-delay: 0.4s; }
.fc-2 { bottom: 12%; right: -8%; animation-delay: 1.2s; }
.fc-3 { bottom: -2%; left: 8%; animation-delay: 2s; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: 0.75rem;
}
.mouse { width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 6px; }
.mouse span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ============ Marquee ============ */
.marquee-band { padding: 26px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.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: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scrollX 40s linear infinite; }
.marquee-track span { font-family: "Sora"; font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 700; color: rgba(255,255,255,0.72); }
.marquee-track i { color: var(--blue); font-style: normal; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============ Stats ============ */
.stats { padding: 66px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 30px 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--brand-grad); opacity: 0.55; }
.stat-num { display: block; font-family: "Sora"; font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem);
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 0.92rem; margin-top: 4px; display: block; }

/* ============ Sections ============ */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.tag {
  display: inline-block; padding: 6px 15px; border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan);
  background: rgba(36,211,238,0.09); border: 1px solid rgba(36,211,238,0.22); margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ============ Cards / Services ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.spotlight::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(47,107,255,0.16), transparent 60%);
}
.card:hover.spotlight::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(145deg, rgba(47,107,255,0.18), rgba(36,211,238,0.08));
  border: 1px solid var(--border-strong); margin-bottom: 20px; transition: transform 0.4s var(--ease);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 18px; }
.card-tag { font-size: 0.8rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0.02em; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--cyan); transition: gap 0.25s var(--ease); }
.card-link:hover { gap: 11px; }
.card-featured { background: linear-gradient(160deg, rgba(47,107,255,0.14), rgba(168,60,255,0.06)); border-color: rgba(47,107,255,0.3); }
.ribbon {
  position: absolute; top: 16px; right: -30px; transform: rotate(45deg);
  background: var(--brand-grad); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 5px 36px;
  letter-spacing: 0.05em;
}

/* ============ Process / Timeline ============ */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--blue); }
.step-num {
  font-family: "Sora"; font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px; opacity: 0.9;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 0.95rem; }

/* ============ Why ============ */
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.why-copy .tag { margin-bottom: 20px; }
.why-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.why-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.why-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.why-list li { display: flex; align-items: center; gap: 13px; font-size: 1.02rem; }
.check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(36,211,238,0.14); color: var(--cyan); font-weight: 700; font-size: 0.85rem;
  border: 1px solid rgba(36,211,238,0.3);
}

.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.glass {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.mini-stat { padding: 26px 22px; border-radius: var(--radius); }
.mini-num { display: block; font-family: "Sora"; font-weight: 800; font-size: 2rem; margin-bottom: 4px; }
.mini-label { color: var(--muted); font-size: 0.88rem; }
.mini-stat.wide { grid-column: span 2; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-bottom: 14px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--blue-grad); opacity: 0.85;
  transform-origin: bottom; animation: growBar 1s var(--ease) backwards; }
.bars span:nth-child(1){animation-delay:.05s}.bars span:nth-child(2){animation-delay:.12s}
.bars span:nth-child(3){animation-delay:.19s}.bars span:nth-child(4){animation-delay:.26s}
.bars span:nth-child(5){animation-delay:.33s}.bars span:nth-child(6){animation-delay:.4s}.bars span:nth-child(7){animation-delay:.47s}
@keyframes growBar { from { transform: scaleY(0); opacity: 0; } }

/* ============ Portfolio ============ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 18px; }
.pf-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; cursor: pointer;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 22%, #0a0d18), color-mix(in srgb, var(--b) 16%, #070a12));
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.pf-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 40%, transparent), color-mix(in srgb, var(--b) 34%, transparent));
  transition: opacity 0.45s;
}
.pf-card > * { position: relative; z-index: 1; }
.pf-card:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 30px 70px -28px color-mix(in srgb, var(--b) 60%, #000); }
.pf-card:hover::after { opacity: 0.55; }
.pf-card.g2 { grid-row: span 1; }
.pf-emoji { font-size: 2.2rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.pf-cat { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.pf-meta h3 { font-size: 1.32rem; margin-top: 4px; }
.pf-metric {
  align-self: flex-start; margin-top: 12px; font-size: 0.82rem; font-weight: 600; padding: 5px 12px;
  border-radius: 100px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.16);
}

/* ============ Testimonials ============ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 30px 28px; border-radius: var(--radius-lg); }
.stars { color: #ffc93c; letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.quote blockquote { font-size: 1.04rem; line-height: 1.65; margin-bottom: 20px; color: #dfe4f0; }
.quote figcaption { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.q-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--blue-grad); font-family: "Sora"; }

/* ============ Subpage (hizmet sayfaları) ============ */
.subhero { position: relative; padding: 150px 0 60px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--muted-2); }
.subhero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; max-width: 15ch; }
.subhero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 620px; margin-bottom: 30px; }
.subhero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.03rem; }
.prose ul { list-style: none; display: grid; gap: 12px; margin: 8px 0 20px; }
.prose ul li { display: flex; gap: 12px; color: var(--muted); font-size: 1.02rem; }
.prose ul li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(36,211,238,0.13); color: var(--cyan); font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(36,211,238,0.3); }
.prose strong { color: var(--text); }

.cta-band { position: relative; margin-top: 20px; padding: 48px 40px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(150deg, rgba(47,107,255,0.16), rgba(168,60,255,0.08)); border: 1px solid rgba(47,107,255,0.28); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,0.25), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: var(--muted); margin-bottom: 24px; position: relative; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; position: relative; }
.related-links a { padding: 9px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: 0.9rem; font-weight: 500; transition: transform 0.25s var(--ease), border-color 0.25s; }
.related-links a:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--cyan); }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-family: "Sora"; font-weight: 600;
  font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 400; color: var(--cyan); background: rgba(36,211,238,0.1);
  border: 1px solid rgba(36,211,238,0.25); transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 0.99rem; line-height: 1.65; }
.faq-answer p { max-width: 66ch; }

/* ============ Contact ============ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 52px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.contact-wrap::before {
  content: ""; position: absolute; top: -60%; right: -20%; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.22), transparent 65%); pointer-events: none;
}
.contact-info .tag { margin-bottom: 18px; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; }
.contact-links { display: grid; gap: 12px; }
.c-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}
.c-link:hover { transform: translateX(6px); border-color: var(--blue); background: var(--surface-2); }
.c-ic { font-size: 1.3rem; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); flex-shrink: 0; }
.c-link span:last-child { display: flex; flex-direction: column; font-size: 0.86rem; color: var(--muted); }
.c-link strong { font-size: 0.98rem; color: var(--text); font-family: "Sora"; }

.contact-form { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: 0.96rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: rgba(47,107,255,0.06);
  box-shadow: 0 0 0 3px rgba(47,107,255,0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.select-wrap { position: relative; }
.select-wrap::after { content: "▾"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: #0c1120; color: var(--text); }
.form-note { font-size: 0.86rem; color: var(--cyan); min-height: 1em; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 62px 0 30px; background: rgba(255,255,255,0.012); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-nav h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; font-family: "Inter"; font-weight: 700; }
.footer-nav a { display: block; color: var(--text); opacity: 0.72; font-size: 0.94rem; padding: 5px 0; transition: opacity 0.2s, transform 0.2s; }
.footer-nav a:hover { opacity: 1; transform: translateX(3px); color: var(--cyan); }
.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.86rem; }

/* ============ To top ============ */
.to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 14px; z-index: 80;
  display: grid; place-items: center; font-size: 1.3rem; color: #fff;
  background: var(--blue); box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all 0.35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ============ Reveal animations ============ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.09s; }
[data-delay="2"] { transition-delay: 0.18s; }
[data-delay="3"] { transition-delay: 0.27s; }
[data-delay="4"] { transition-delay: 0.36s; }

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%); flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 6px; padding: 100px 24px 30px; background: rgba(8,11,22,0.96);
    backdrop-filter: blur(20px); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 85;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 130px; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 360px; order: -1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .timeline, .quotes { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 34px; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .cards, .timeline, .quotes, .portfolio-grid, .stats-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-auto-rows: 180px; }
  .float-card { padding: 9px 12px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .contact-wrap { padding: 26px 20px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .section-head { margin-bottom: 40px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
}

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