/* =========================================================
   Survey Data Converter Pro — Landing Page
   Dark professional theme matching the app branding
   ========================================================= */

:root {
  --bg: #14161a;
  --bg-alt: #101216;
  --surface: #1a1d24;
  --surface-2: #1e2024;
  --border: #282c35;
  --text: #f1f5f9;
  --text-dim: #cbd5e1;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #2563eb;
  --gold: #f5c542;
  --green: #2ecc71;
  --whatsapp: #25d366;
  --facebook: #1877f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-accent: 0 12px 40px -12px rgba(56, 189, 248, 0.45);
  --container: 1200px;
  --font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.container-narrow { max-width: 820px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -12px rgba(56, 189, 248, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: rgba(20, 22, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(20, 22, 26, 0.94);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.7);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: 0.2px; }
.brand-text small {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 9px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.hero-glow-1 {
  width: 520px; height: 520px;
  top: -160px; inset-inline-end: -120px;
  background: radial-gradient(circle, var(--accent-2), transparent 65%);
}
.hero-glow-2 {
  width: 420px; height: 420px;
  bottom: -180px; inset-inline-start: -140px;
  background: radial-gradient(circle, #7c3aed, transparent 65%);
  opacity: 0.25;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 30px;
}
.hero-badge strong { color: #fff; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.hero-icon-wrap {
  position: relative;
  margin-bottom: 26px;
}
.hero-icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  z-index: 1;
}
.hero-icon-ring {
  position: absolute;
  inset: -16px;
  border-radius: 40px;
  background: conic-gradient(from 0deg, var(--accent), var(--gold), #7c3aed, var(--accent));
  opacity: 0.55;
  filter: blur(14px);
  animation: ring-rotate 8s linear infinite;
}
@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}
.title-en {
  font-size: clamp(34px, 6vw, 62px);
  background: linear-gradient(120deg, #fff 10%, #a5f3fc 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}
.title-pro {
  font-size: clamp(16px, 2.4vw, 24px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
}
.hero-desc {
  max-width: 760px;
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-desc b { color: var(--text-dim); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-dev-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: start;
}
.dev-avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
}
.dev-chip-text { display: flex; flex-direction: column; line-height: 1.35; }
.dev-chip-text span { font-size: 12px; color: var(--muted); }
.dev-chip-text strong { font-size: 16px; font-weight: 800; }
.dev-chip-text small { font-size: 12.5px; color: var(--accent); }
.dev-chip-link {
  margin-inline-start: 10px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.25s ease;
}
.dev-chip-link:hover { background: rgba(56, 189, 248, 0.22); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin-top: 54px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(26, 29, 36, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: -8px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-plus { font-size: 22px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 1;
}
.scroll-hint span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Formats marquee ---------- */
.formats-strip {
  padding: 26px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(50%); }
}
.format-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.format-chip:hover { border-color: var(--accent); color: var(--text); }
.format-chip img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.feature-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 50% -20%, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags span {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

/* ---------- Split / Multi-zone ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.split-text .section-tag { margin-bottom: 14px; }
.split-text .section-title { text-align: start; }
.split-text .section-lead { text-align: start; margin-bottom: 30px; }

.zone-list { display: flex; flex-direction: column; gap: 18px; }
.zone-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.zone-list li:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateX(-4px); }
.zone-num {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}
.zone-list h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 4px; }
.zone-list p { font-size: 14px; color: var(--muted); }

.split-visual { position: relative; }
.visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.visual-img {
  width: 100%;
  transition: transform 0.6s ease;
}
.visual-card:hover .visual-img { transform: scale(1.04); }
.visual-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.92), transparent);
}
.visual-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

/* ---------- Formats grid ---------- */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.format-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-lg);
}
.format-card img {
  width: 58px; height: 58px;
  object-fit: contain;
  margin-bottom: 6px;
}
.format-card h4 { font-size: 17px; font-weight: 800; }
.format-card p { font-size: 13px; color: var(--muted); min-height: 42px; }
.badge {
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.badge-io {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: var(--green);
}
.badge-partial {
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.35);
  color: var(--gold);
}

/* ---------- Timeline / What's new ---------- */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}
.timeline-item {
  display: flex;
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.timeline-item:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateX(-4px); }
.timeline-marker {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 24px;
  position: relative;
  z-index: 1;
}
.timeline-body h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.timeline-body p { font-size: 14.5px; color: var(--muted); }

.release-links {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Download ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.download-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: var(--shadow-lg);
}
.download-icon {
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent);
  margin: 0 auto 18px;
}
.download-icon svg { width: 30px; height: 30px; }
.download-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.download-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.download-meta {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-dim);
}

.requirements {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(26, 29, 36, 0.7);
  border: 1px solid var(--border);
  text-align: center;
}
.requirements h4 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.req-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  text-align: start;
  margin-bottom: 18px;
}
.req-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.req-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}
.req-note {
  font-size: 13.5px;
  color: var(--accent);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* ---------- Developer ---------- */
.dev-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.dev-card-main { display: flex; gap: 24px; align-items: flex-start; }
.dev-card-avatar {
  flex: 0 0 110px;
  width: 110px; height: 110px;
  border-radius: 26px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
}
.dev-card-info h3 { font-size: 23px; font-weight: 900; margin-bottom: 4px; }
.dev-name-en {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.4px;
  margin-inline-start: 6px;
}
.dev-role { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.dev-specs { display: flex; flex-direction: column; gap: 10px; }
.dev-specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13.5px;
}
.dev-specs span { color: var(--muted); }
.dev-specs b { color: var(--text); font-weight: 700; }

.dev-card-contact {
  padding-inline-start: 34px;
  border-inline-start: 1px solid var(--border);
}
.dev-contact-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dim);
}
.dev-contact-btns { display: flex; flex-direction: column; gap: 12px; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact-btn:hover { transform: translateX(-4px); }
.contact-btn img,
.contact-btn svg { width: 22px; height: 22px; }
.contact-whatsapp:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, 0.1); }
.contact-facebook:hover { border-color: var(--facebook); background: rgba(24, 119, 242, 0.1); }
.contact-github:hover { border-color: var(--accent); background: rgba(56, 189, 248, 0.1); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(56, 189, 248, 0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg { flex: 0 0 auto; transition: transform 0.3s ease; color: var(--muted); }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--accent); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 14.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 50px;
  padding-block: 60px 40px;
}
.footer-tag {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 340px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover { color: var(--accent); transform: translateX(-3px); }

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

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .dev-card { grid-template-columns: 1fr; gap: 28px; }
  .dev-card-contact {
    padding-inline-start: 0;
    padding-top: 26px;
    border-inline-start: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 74px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(20, 22, 26, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 12px 14px; font-size: 15px; }
  .nav-link.active::after { display: none; }
  .nav-actions .btn { display: none; }

  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat:nth-child(2)::after { display: none; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .hero-dev-chip { flex-wrap: wrap; }
  .hero-cta .btn { width: 100%; }
  .dev-card { padding: 26px 20px; }
  .dev-card-main { flex-direction: column; align-items: center; text-align: center; }
  .dev-specs li { flex-direction: column; gap: 2px; text-align: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
}
