/* =========================================================
   POCKET AI — Landing Page Stylesheet
   Design: Dark editorial, sharp contrast, monospace accents
   ========================================================= */

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #090b10;
  --bg-2: #0f1218;
  --bg-3: #161b24;
  --bg-card: #111620;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);

  --text-primary: #f0f4ff;
  --text-secondary: #8892a4;
  --text-muted: #5a6378;

  --accent: #5b8df6;
  --accent-2: #8b5cf6;
  --accent-glow: rgba(91, 141, 246, 0.25);

  --green: #22c55e;
  --orange: #f97316;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --nav-h: 68px;
  --font: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --section-pad: 100px;
  --container: 1160px;
}

html { scroll-behavior: smooth; }

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

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

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

/* ── Gradient Text ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Shared ─────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  font-size: 15px;
}
.btn-primary:hover {
  background: #4a7ee8;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 20px;
  font-size: 15px;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  font-size: 14px;
}
.btn-nav:hover { background: #4a7ee8; }

.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-xlarge { padding: 20px 44px; font-size: 17px; }
.btn-form { width: 100%; justify-content: center; padding: 14px; font-size: 15px; border-radius: var(--radius); }

.apple-icon { width: 20px; height: 20px; }

/* ── Tags ───────────────────────────────────────────────── */
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-3);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.tag--available { background: rgba(34, 197, 94, 0.12); color: var(--green); border-color: rgba(34,197,94,0.2); }
.tag--soon { background: rgba(249, 115, 22, 0.12); color: var(--orange); border-color: rgba(249,115,22,0.2); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text { color: var(--text-primary); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-3); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
}
.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border: none; margin-top: 8px; }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(91,141,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(91,141,246,0.1);
  border: 1px solid rgba(91,141,246,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); }
}

.hero-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* Phone Mockup */
.hero-phone { display: flex; justify-content: center; align-items: center; position: relative; }

.phone-mockup {
  position: relative;
  width: 280px;
}

.phone-frame {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 16px 12px 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 80px rgba(0,0,0,0.5);
}

.phone-notch {
  width: 80px; height: 26px;
  background: var(--bg);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}

.chat-ui {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chat-header {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.chat-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--accent);
  background: rgba(91,141,246,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.model-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.chat-messages {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}
.chat-msg {
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 8px 12px;
}
.chat-msg.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  max-width: 85%;
  border-bottom-right-radius: 4px;
}
.chat-msg.assistant {
  background: var(--bg-3);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-style: italic;
}
.typing-line { display: block; }
.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.chat-meta {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--mono);
  text-align: right;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}
.chat-input-mock {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-3);
  border-radius: 20px;
  padding: 7px 12px;
}
.send-btn {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.send-btn svg { color: #fff; }

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: var(--accent);
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
}

/* Hero scroll hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-sub, .section-sub { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phone { display: none; }
  .hero-scroll-hint { display: none; }
}

/* =========================================================
   FEATURES / PILLARS
   ========================================================= */
.features {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.25s ease;
}
.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.pillar-card--featured {
  background: linear-gradient(145deg, rgba(91,141,246,0.08), rgba(139,92,246,0.06));
  border-color: rgba(91,141,246,0.2);
}

.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-icon--offline { background: rgba(91,141,246,0.12); color: var(--accent); }
.pillar-icon--private { background: rgba(139,92,246,0.12); color: var(--accent-2); }
.pillar-icon--free { background: rgba(34,197,94,0.12); color: var(--green); }

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.pillar-list { display: flex; flex-direction: column; gap: 8px; }
.pillar-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.pillar-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .section-sub { margin-bottom: 40px; }
}

/* =========================================================
   DEVICE COMPATIBILITY
   ========================================================= */
.compat { background: var(--bg); }

.compat-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.device-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  margin-top: 32px;
}
.device-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 8px;
}
.device-row:last-child { border-bottom: none; }
.device-row--header {
  background: var(--bg-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.device-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-primary);
}
.device-emoji { font-size: 16px; }
.device-model { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.device-speed { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.speed-fast { color: var(--green); }
.speed-med { color: #eab308; }
.speed-good { color: var(--orange); }

.compat-visual { display: flex; align-items: center; justify-content: center; }

.compat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 360px;
}
.compat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.2s;
}
.compat-card:hover { border-color: var(--border-hover); transform: scale(1.02); }
.cc-icon { font-size: 28px; margin-bottom: 10px; }
.cc-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.cc-sub { font-size: 12px; color: var(--text-muted); }

/* offset cards for visual interest */
.compat-card--1 { transform: translateY(-8px); }
.compat-card--3 { transform: translateY(-8px); }
.compat-card--1:hover, .compat-card--3:hover { transform: translateY(-10px) scale(1.02); }

@media (max-width: 900px) {
  .compat-inner { grid-template-columns: 1fr; gap: 48px; }
  .compat-visual { display: none; }
}

/* =========================================================
   MODELS
   ========================================================= */
.models {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s;
}
.model-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.model-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.model-logo--qwen { background: rgba(91,141,246,0.15); color: var(--accent); }
.model-logo--llama { background: rgba(249,115,22,0.15); color: var(--orange); }
.model-logo--gemma { background: rgba(34,197,94,0.15); color: var(--green); }
.model-logo--deepseek { background: rgba(139,92,246,0.15); color: var(--accent-2); }

.model-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.model-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.model-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.model-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--mono);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: inline-block;
  margin: 0 auto;
  display: block;
}

@media (max-width: 640px) {
  .models-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg); }

.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-header { position: sticky; top: 100px; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] { color: var(--accent); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer p, .faq-answer ol {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer ol {
  list-style: none;
  counter-reset: faq-counter;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-answer ol li {
  counter-increment: faq-counter;
  padding-left: 28px;
  position: relative;
}
.faq-answer ol li::before {
  content: counter(faq-counter) '.';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 768px) {
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-header { position: static; }
}

/* =========================================================
   DOWNLOAD CTA
   ========================================================= */
.download {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.download-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4), 0 8px 24px rgba(0,0,0,0.3);
}

.download-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.download-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.download-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.download-compat {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   CONTACT / FEEDBACK FORM
   ========================================================= */
.contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.channel-link:hover { border-color: var(--border-hover); transform: translateX(4px); }

.channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg { width: 20px; height: 20px; color: var(--accent); }

.channel-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.channel-desc { font-size: 13px; color: var(--text-muted); }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,141,246,0.12);
}
.form-group select {
  appearance: none;
  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='%235a6378' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: var(--bg-2); }

.form-error {
  font-size: 12px;
  color: #f87171;
  min-height: 16px;
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #f87171;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row--two { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 240px; }
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
}

/* =========================================================
   ANIMATIONS — fade-in on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
