/* ═══════════════════════════════════════════════════════════════
   Redrip Solutions — Global Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #0a0a0f;
  --bg-alt:      #0e0e18;
  --bg-card:     #12121e;
  --bg-card-h:   #17172a;
  --border:      rgba(139, 92, 246, 0.15);
  --border-h:    rgba(139, 92, 246, 0.4);

  --purple:      #8b5cf6;
  --purple-dark: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --green:       #10b981;
  --green-glow:  rgba(16, 185, 129, 0.2);

  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-subtle: #64748b;

  --radius:      12px;
  --radius-sm:   8px;
  --font:        'Inter', system-ui, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;
  --transition:  0.2s ease;
  --header-h:    68px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: #a78bfa; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.alt-bg  { background: var(--bg-alt); }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.inline-link {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { color: #a78bfa; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  box-shadow: 0 0 24px var(--purple-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--purple-glow);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(139, 92, 246, 0.06);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--purple), var(--green));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  color: #fff;
}
.logo-text { color: #fff; }
.logo-accent { color: var(--purple); margin-left: 2px; }

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.site-nav .nav-cta:hover { color: #fff; opacity: 0.9; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

/* main offset */
main { padding-top: var(--header-h); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-heading {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Stats ──────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ── Cards ──────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover,
.card-glow:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 0 32px var(--purple-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--purple);
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
}
.card-link:hover { color: #a78bfa; }

/* ── Why Section ─────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-text h2 { margin-bottom: 1.25rem; }
.why-text p  { color: var(--text-muted); margin-bottom: 1rem; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.check-icon {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Code window */
.code-window {
  background: #0d0d1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.code-window-bar {
  background: #16162a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.code-window-bar > span:not(.code-window-title) {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3a3a5c;
}
.code-window-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: var(--mono);
}
.code-block {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}
.c-purple { color: #c084fc; }
.c-green  { color: var(--green); }
.c-orange { color: #fb923c; }
.c-comment{ color: #4a5568; }

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(109,40,217,0.15) 0%, rgba(16,185,129,0.08) 100%);
  border-top: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p  { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-inner .hero-actions { justify-content: center; }

/* ── Page Hero ───────────────────────────────────────────────────── */
.page-hero {
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(139,92,246,0.05) 0%, transparent 100%);
}
.page-hero h1 { margin: 0.5rem 0 1rem; }
.page-hero p  { color: var(--text-muted); max-width: 600px; font-size: 1.05rem; }

/* ── Prose ───────────────────────────────────────────────────────── */
.prose-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.prose-block h2 { margin-bottom: 1rem; font-size: 1.6rem; }
.prose-block p  { color: var(--text-muted); margin-bottom: 1rem; }

.mission-card {
  background: var(--bg-card);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
}
.mission-card p { color: var(--text-muted); margin-bottom: 0.75rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.value-icon {
  color: var(--purple);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
}
.value-item h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-item p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

.styled-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
}
.styled-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.styled-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

/* ── Services Page ───────────────────────────────────────────────── */
.service-section { padding: 80px 0; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-block-reverse { direction: rtl; }
.service-block-reverse > * { direction: ltr; }

.service-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.service-text h2 { margin-bottom: 1rem; }
.service-text p  { color: var(--text-muted); margin-bottom: 1.5rem; }

.service-icon-large {
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px var(--purple-glow);
}
.service-icon-large svg {
  width: 80px;
  height: 80px;
  color: var(--purple);
  opacity: 0.8;
}

/* ── Contact Page ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
  color: var(--purple);
}
.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-item strong { font-size: 0.85rem; color: var(--text-subtle); font-weight: 500; }
.contact-item a, .contact-item span { font-size: 0.95rem; color: var(--text); }
.contact-item a:hover { color: var(--purple); }

.contact-support-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.required { color: var(--purple); }
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--purple); }
.form-group textarea { resize: vertical; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.75rem;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(16,185,129,0.12);
  border: 1px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--green);
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p  { color: var(--text-muted); }

.form-error-banner {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #f87171;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ── Support Page ────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.support-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
}
.support-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.support-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--purple);
}
.support-card h3 { margin-bottom: 0.75rem; }
.support-card p  { color: var(--text-muted); font-size: 0.9rem; }

/* ── Legal Pages ─────────────────────────────────────────────────── */
.legal-prose {
  max-width: 780px;
  margin: 0 auto;
}
.legal-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.legal-prose h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-prose h3 {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 1.25rem 0 0.5rem;
}
.legal-prose p  { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.legal-prose ul {
  padding-left: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-prose ul li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.legal-prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-subtle);
}
.legal-prose address {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  margin: 1rem 0;
  line-height: 1.9;
}

/* ── Portfolio Page ──────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition);
}
.portfolio-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 0 36px var(--purple-glow);
}

.portfolio-card-header {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.app-icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-icon-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.app-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.app-category {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 500;
}
.app-platforms {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}
.platform-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.platform-badge.ios {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.platform-badge.android {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.app-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}
.app-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.app-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.app-store-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.store-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.store-btn-apple {
  background: rgba(139, 92, 246, 0.08);
  color: #d8b4fe;
  border-color: rgba(139, 92, 246, 0.25);
}
.store-btn-apple:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
  border-color: var(--purple);
}
.store-btn-google {
  background: rgba(16, 185, 129, 0.08);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.25);
}
.store-btn-google:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
  border-color: var(--green);
}

.portfolio-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.portfolio-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* ── 404 Page ────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - var(--header-h) - 300px);
  display: flex;
  align-items: center;
}
.error-inner {
  text-align: center;
  padding: 80px 0;
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.error-inner h1 { margin-bottom: 1rem; }
.error-inner p  { color: var(--text-muted); font-size: 1.05rem; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 24px;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-subtle);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.footer-reg {
  font-size: 0.8rem;
  color: var(--text-subtle);
}
.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--purple); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 24px;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-subtle);
}
.footer-legal-links a {
  color: var(--text-subtle);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--text-muted); }

/* ── Honeypot (bot trap — must stay invisible to humans) ────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.6s ease both; }
.hero-badge   { animation: fadeUp 0.5s ease 0.1s both; }

/* ── Cookie banner ───────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #1a1a2e;
  border: 1px solid var(--border-h);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  max-width: 680px;
  width: calc(100% - 3rem);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(12px);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  min-width: 200px;
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid        { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; gap: 3rem; }
  .service-block,
  .service-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .contact-grid      { grid-template-columns: 1fr; }
  .support-grid      { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; flex-direction: column; position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(10,10,15,0.97); border-bottom: 1px solid var(--border);
    padding: 1.5rem; gap: 1rem; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav-toggle { display: flex; }

  .contact-form .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
}
