/* ===================================================
   SN Global — Dark Theme CSS
   =================================================== */

:root {
  --bg:           #080c14;
  --bg-alt:       #0f1520;
  --surface:      #141d2e;
  --surface-hov:  #1a2539;
  --card:         rgba(20, 29, 46, 0.85);
  --border:       rgba(255,255,255,0.08);
  --border-hov:   rgba(255,255,255,0.16);
  --text:         #f1f5f9;
  --muted:        #94a3b8;
  --muted-2:      #64748b;
  --primary:      #6366f1;
  --primary-lt:   #818cf8;
  --primary-dk:   #4f46e5;
  --accent:       #f97316;
  --cyan:         #22d3ee;
  --green:        #10b981;
  --shadow:       0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 40px rgba(99,102,241,0.2);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-full:  999px;
}

[data-theme="light"] {
  --bg:         #f4f7fb;
  --bg-alt:     #e8edf7;
  --surface:    #ffffff;
  --surface-hov:#f0f4ff;
  --card:       rgba(255,255,255,0.92);
  --border:     rgba(0,0,0,0.09);
  --border-hov: rgba(0,0,0,0.18);
  --text:       #0f172a;
  --muted:      #475569;
  --muted-2:    #64748b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

/* ==========================
   AMBIENT BACKGROUND
   ========================== */
.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}
.orb-1 { width: 600px; height: 600px; top: -200px; left: -100px; background: radial-gradient(circle, #6366f1, transparent 70%); animation: floatOrb 14s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; top: 25%; right: -150px; background: radial-gradient(circle, #22d3ee, transparent 70%); animation: floatOrb 18s ease-in-out infinite reverse; }
.orb-3 { width: 450px; height: 450px; bottom: 5%; left: 25%; background: radial-gradient(circle, #f97316, transparent 70%); opacity: 0.15; animation: floatOrb 22s ease-in-out infinite 5s; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
}

[data-theme="light"] .orb { opacity: 0.08; }
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.1); }
  66%      { transform: translate(-20px,20px) scale(0.95); }
}

/* ==========================
   HEADER
   ========================== */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 100;
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(8,12,20,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s;
}

[data-theme="light"] .site-header { background: rgba(244,247,251,0.85); }

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.brand-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.15);
  color: var(--primary-lt);
  border: 1px solid rgba(99,102,241,0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
[data-theme="light"] .main-nav a:hover { background: rgba(0,0,0,0.05); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text); background: rgba(255,255,255,0.06); }
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.05); }

.admin-login-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: .35rem .65rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.admin-login-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
}
[data-theme="light"] .admin-login-link:hover { background: rgba(0,0,0,0.04); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================
   BUTTONS
   ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 36px rgba(99,102,241,0.55); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--border-hov); }
[data-theme="light"] .btn-outline:hover { background: rgba(0,0,0,0.04); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.84rem; }
.btn-full { width: 100%; justify-content: center; font-size: 1rem; padding: 0.85rem; }

/* ==========================
   LAYOUT
   ========================== */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 6rem 0; }

.section-heading { text-align: center; margin-bottom: 3.5rem; }
.section-heading.align-left { text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 0.7rem;
}
.eyebrow-wrap { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 4px var(--primary); }
  50%      { box-shadow: 0 0 16px var(--primary), 0 0 30px rgba(99,102,241,0.4); }
}

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
  margin: 0.7rem auto 0;
}
.section-heading.align-left .section-sub { margin-left: 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-lt), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================
   HERO
   ========================== */
.hero { padding: 2.5rem 0 1.5rem; position: relative; }

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(99,102,241,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 62vh;
}

.hero-content { max-width: 560px; }
.hero h1 { margin-bottom: 1.1rem; }

/* Typing animation */
.typed-cursor {
  display: inline-block;
  color: var(--primary-lt);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-copy {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.hero-cards-float { position: relative; width: 100%; height: 460px; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  background: rgba(20,29,46,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  min-width: 175px;
  animation: floatCard 6s ease-in-out infinite;
}
.fc-1 { top: 6%; left: 4%; animation-delay: 0s; }
.fc-2 { top: 56%; right: 2%; animation-delay: 2s; }
.fc-3 { bottom: 4%; left: 12%; animation-delay: 4s; }
@keyframes floatCard { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

.fc-icon {
  display: grid;
  place-items: center;
  width: 2.3rem; height: 2.3rem;
  border-radius: 9px;
  flex-shrink: 0;
}
.fc-icon--blue   { background: rgba(99,102,241,0.15); color: var(--primary-lt); }
.fc-icon--purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.fc-icon--cyan   { background: rgba(34,211,238,0.15); color: var(--cyan); }
.fc-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.fc-value { font-size: 1.15rem; font-weight: 700; color: var(--text); font-family: "Sora", sans-serif; }

/* AI Core Rings */
.hero-ai-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.22);
  animation: rotateSlow linear infinite;
}
.ai-ring--outer { width: 240px; height: 240px; animation-duration: 22s; border-style: dashed; }
.ai-ring--mid   { width: 178px; height: 178px; animation-duration: 16s; animation-direction: reverse; }
.ai-ring--inner { width: 118px; height: 118px; animation-duration: 10s; border-color: rgba(34,211,238,0.28); }
@keyframes rotateSlow { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.ai-center {
  position: relative;
  z-index: 2;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg,rgba(99,102,241,0.2),rgba(34,211,238,0.2));
  border: 1px solid rgba(99,102,241,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-lt);
  box-shadow: 0 0 30px rgba(99,102,241,0.3);
}
.ai-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.n1 { top: 2%; left: 50%; transform: translateX(-50%); }
.n2 { top: 24%; right: 3%; }
.n3 { bottom: 24%; right: 3%; }
.n4 { bottom: 2%; left: 50%; transform: translateX(-50%); background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.n5 { bottom: 24%; left: 3%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.n6 { top: 24%; left: 3%; }

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(20,29,46,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  padding: 1.4rem 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stat-item {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 0.2rem 0.5rem;
}
.stat-num {
  font-family: "Sora", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-suffix {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-lt);
}
.stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 500;
}
.stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; align-self: center; }

/* ==========================
   SERVICES
   ========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card[data-service="marketing"]::before { background: linear-gradient(135deg,rgba(99,102,241,0.07),transparent); }
.service-card[data-service="social"]::before    { background: linear-gradient(135deg,rgba(34,211,238,0.07),transparent); }
.service-card[data-service="webdev"]::before    { background: linear-gradient(135deg,rgba(249,115,22,0.07),transparent); }
.service-card[data-service="huma"]::before      { background: linear-gradient(135deg,rgba(16,185,129,0.07),transparent); }
.service-card:hover { border-color: var(--border-hov); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }

.sc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.sc-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 11px; }
.sc-icon--indigo { background: rgba(99,102,241,0.12); color: var(--primary-lt); border: 1px solid rgba(99,102,241,0.2); }
.sc-icon--cyan   { background: rgba(34,211,238,0.12); color: var(--cyan);       border: 1px solid rgba(34,211,238,0.2); }
.sc-icon--orange { background: rgba(249,115,22,0.12);  color: var(--accent);    border: 1px solid rgba(249,115,22,0.2); }
.sc-icon--green  { background: rgba(16,185,129,0.12);  color: var(--green);     border: 1px solid rgba(16,185,129,0.2); }
.sc-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 0.22rem 0.58rem; border-radius: var(--radius-full); border: 1px solid var(--border);
}
.service-card h3 { font-size: 1.28rem; margin-bottom: 0.55rem; }
.service-card p  { color: var(--muted); font-size: 0.91rem; line-height: 1.65; margin-bottom: 1.15rem; }

.sc-list { list-style: none; display: flex; flex-direction: column; gap: 0.38rem; margin-bottom: 1.4rem; }
.sc-list li { font-size: 0.86rem; color: var(--muted); padding-left: 1.15rem; position: relative; }
.sc-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary-lt); font-size: 0.78rem; }

.sc-ai-chip {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.71rem;
  color: var(--muted-2);
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.12);
  width: fit-content;
}
.sc-ai-chip svg { color: var(--primary); flex-shrink: 0; }

/* ==========================
   AI ENGINE TABS
   ========================== */
.ai-section {
  background: linear-gradient(135deg,rgba(99,102,241,0.04),rgba(34,211,238,0.03));
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 5rem 3rem;
}
.ai-tabs { margin-top: 2.5rem; }

.ai-tab-nav {
  display: flex;
  gap: 0.15rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.ai-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.ai-tab-btn:hover { color: var(--text); }
.ai-tab-btn.active { color: var(--primary-lt); border-bottom-color: var(--primary); }

.ai-tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ai-tab-panel.active { display: grid; }

.tab-text h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
.tab-text p  { color: var(--muted); line-height: 1.75; margin-bottom: 1.15rem; }
.tab-text ul { list-style: none; display: flex; flex-direction: column; gap: 0.48rem; }
.tab-text ul li { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; }
.tab-text ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.tab-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.tab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tab-img:hover img { transform: scale(1.04); }

/* ==========================
   USE CASES
   ========================== */
.cases-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--border-hov); box-shadow: var(--shadow); }
.case-img { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) saturate(1.15); transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.22rem 0.65rem; border-radius: var(--radius-full);
  background: rgba(99,102,241,0.85); color: #fff;
  backdrop-filter: blur(4px);
}
.case-body { padding: 1.4rem; }
.case-body h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.case-body p  { color: var(--muted); font-size: 0.86rem; line-height: 1.65; margin-bottom: 0.45rem; }
.case-challenge { color: var(--muted-2) !important; }
.case-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.7rem; margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.metric { text-align: center; }
.metric span  { display: block; font-family:"Sora",sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--primary-lt); }
.metric small { font-size: 0.71rem; color: var(--muted); }

/* ==========================
   PROCESS
   ========================== */
.process-timeline {
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
}
.process-step { flex: 1; text-align: center; padding: 0 1rem; }
.ps-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--primary),var(--primary-dk));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
}
.ps-body h3 { font-size: 0.98rem; margin-bottom: 0.38rem; }
.ps-body p  { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.process-connector {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  flex-shrink: 0;
  margin-top: 1.55rem;
  opacity: 0.38;
}

/* ==========================
   TESTIMONIALS
   ========================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover { border-color: var(--border-hov); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 0.9rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
  margin-bottom: 1.4rem;
  border: none; padding: 0;
}
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.testimonial-author strong { display: block; font-size: 0.88rem; }
.testimonial-author span  { font-size: 0.76rem; color: var(--muted); }

/* ==========================
   FAQ
   ========================== */
.faq-section .section-heading,
.faq-section { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; }
.faq-list { display: flex; flex-direction: column; gap: 0.45rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--border-hov); }
.faq-q {
  width: 100%; padding: 1.15rem 1.4rem;
  background: transparent; border: none;
  color: var(--text); font-family: inherit;
  font-weight: 600; font-size: 0.93rem; text-align: left;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--muted); flex-shrink: 0; transition: transform 0.3s, color 0.2s; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--primary-lt); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 1.4rem 1.15rem; color: var(--muted); font-size: 0.88rem; line-height: 1.72; }
.faq-item.open .faq-a { max-height: 220px; }

/* ==========================
   CONTACT
   ========================== */
.contact-section {
  background: linear-gradient(135deg,rgba(99,102,241,0.06),rgba(249,115,22,0.04));
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 5rem 3rem;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-copy h2 { margin-bottom: 0.9rem; }
.contact-copy > p { color: var(--muted); line-height: 1.72; margin-bottom: 1.4rem; }
.contact-features { display: flex; flex-direction: column; gap: 0.55rem; }
.cf-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--muted); }
.cf-item svg { color: var(--green); flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 0.9rem; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-field { display: flex; flex-direction: column; gap: 0.38rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.68rem 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
    appearance: none;
}
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea { background: rgba(0,0,0,0.03); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-field select option { background: #141d2e; color: var(--text); }
[data-theme="light"] .form-field select option { background: #fff; }

.form-privacy { font-size: 0.73rem; color: var(--muted-2); text-align: center; }
.form-error   { font-size: 0.82rem; color: #f87171; text-align: center; margin: 0; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.22);
  color: var(--green);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-success.visible { display: flex; }

/* ==========================
   FOOTER
   ========================== */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); margin-top: 6rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; line-height: 1.65; margin: 0.7rem 0 1.2rem; }
.footer-socials { display: flex; gap: 0.45rem; }
.footer-socials a {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-socials a:hover { color: var(--text); border-color: var(--border-hov); background: rgba(255,255,255,0.05); }
[data-theme="light"] .footer-socials a:hover { background: rgba(0,0,0,0.04); }

.footer-nav { display: flex; gap: 3rem; }
.fn-col { display: flex; flex-direction: column; gap: 0.55rem; }
.fn-col strong { font-size: 0.77rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 0.2rem; }
.fn-col a { color: var(--muted); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.fn-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted-2); }
.version-tag {
  font-size: 0.7rem;
  color: var(--muted-2);
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* ==========================
   RESPONSIVE
   ========================== */
/* ==========================
   MOBILE & TABLET RESPONSIVE
   ========================== */

/* iPad & Tablet (1024px) */
@media (max-width: 1024px) {
  main { padding: 0 1.2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .hero h1, .hero-copy, .hero-actions { text-align: center; }
  .hero-actions { justify-content: center; }
  .trust-badges { justify-content: center; }
  .eyebrow-wrap { justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-tab-panel.active { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { max-width: none; }
  .ai-section { padding: 3.5rem 2rem; }
  .contact-section { padding: 3.5rem 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  html { font-size: 15px; }
  main { padding: 0 1rem; }
  
  .site-header {
    top: 0.5rem;
    margin: 0.5rem 0.5rem 0 0.5rem;
    padding: 0.6rem 1rem;
    gap: 1rem;
  }
  .brand-text { font-size: 0.95rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  .brand-tag { display: none; }
  
  .main-nav {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(8,12,20,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 99;
    padding: 2rem;
  }
  .main-nav.open { display: flex !important; }
  .main-nav.open a { font-size: 1.3rem; font-weight: 600; padding: 1rem; }
  
  .menu-btn { display: flex !important; min-height: 44px; min-width: 44px; }
  .menu-btn span { width: 22px; }
  .header-actions .btn-sm { display: none; }
  .admin-login-link span { display: none; }
  .theme-toggle { min-height: 44px; min-width: 44px; }
  
  h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
  h3 { font-size: 1rem; }
  
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.5rem; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  
  .ai-tab-panel.active { grid-template-columns: 1fr; }
  
  .process-timeline { flex-direction: column; align-items: center; }
  .process-connector { width: 2px; height: 40px; margin: 0; }
  .process-step { padding: 1.5rem 1rem; }
  
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1.4rem; }
  
  .faq-q { padding: 1rem 1.2rem; }
  .faq-a p { padding: 0 1.2rem 1rem; }
  
  .contact-section { padding: 2.5rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-field input, .form-field select, .form-field textarea {
    min-height: 44px;
    padding: 0.8rem 1rem;
    font-size: 16px;
  }
  
  .ai-section { padding: 2.5rem 1.5rem; }
  .hero-stats { padding: 1rem 1.2rem; }
  .stat-divider { display: none; }
  
  .footer-inner { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 2rem; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  
  .btn { min-height: 44px; padding: 0.75rem 1.2rem; }
  .btn-sm { min-height: 44px; }
  .btn-full { padding: 1rem 1.2rem; }
  
  .section { padding: 3.5rem 0; }
  .section-heading { margin-bottom: 2.5rem; }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  html { font-size: 14px; }
  main { padding: 0 1rem; }
  
  .site-header {
    margin: 0.3rem 0.3rem 0 0.3rem;
    padding: 0.5rem 0.8rem;
    gap: 0.8rem;
  }
  .brand-mark { width: 1.8rem; height: 1.8rem; font-size: 0.72rem; }
  .brand-text { font-size: 0.9rem; }
  
  .menu-btn { min-height: 40px; min-width: 40px; gap: 4px; }
  .menu-btn span { width: 18px; height: 1.5px; }
  .theme-toggle, .btn-icon { min-height: 40px; min-width: 40px; }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 0.95rem; }
  
  .hero { padding: 1rem 0 0.5rem; }
  .hero-copy { font-size: 0.95rem; margin-bottom: 1.2rem; }
  .hero-actions { gap: 0.5rem; margin-bottom: 1rem; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.6rem 0.9rem; }
  .trust-badges { gap: 0.3rem; }
  .badge { font-size: 0.7rem; padding: 0.2rem 0.55rem; }
  
  .service-grid { gap: 0.8rem; }
  .service-card { padding: 1.2rem; }
  .service-card h3 { font-size: 1.1rem; }
  
  .cases-grid { gap: 0.8rem; }
  .case-body { padding: 1rem; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  
  .ai-tab-btn { padding: 0.5rem 0.9rem; font-size: 0.75rem; }
  .tab-text h3 { font-size: 1.2rem; }
  
  .process-step { padding: 1.2rem 0.8rem; }
  .ps-num { width: 2.5rem; height: 2.5rem; }
  .process-connector { height: 35px; }
  
  .testimonial-card { padding: 1.1rem; }
  .testimonial-author img { width: 38px; height: 38px; }
  
  .faq-q { padding: 0.9rem 1rem; font-size: 0.88rem; }
  
  .contact-section { padding: 1.8rem 1.2rem; }
  .form-field input, .form-field select, .form-field textarea {
    min-height: 44px;
    padding: 0.8rem 1rem;
    font-size: 16px;
  }
  
  .ai-section { padding: 1.8rem 1.2rem; }
  .hero-stats { padding: 0.9rem 1rem; margin-top: 1.5rem; }
  .stat-num { font-size: 1.5rem; }
  
  .footer-inner { padding: 1.8rem 1rem; }
  .footer-bottom { padding: 1rem 1rem; }
  
  .btn { min-height: 44px; padding: 0.7rem 1rem; }
  .btn-sm { min-height: 40px; padding: 0.5rem 0.8rem; }
  
  .section { padding: 2.5rem 0; }
}

/* Extra small mobile (320px) */
@media (max-width: 360px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-socials a { width: 38px; height: 38px; }
}
