/* ================================
   ROQIA — Visual System
   Dark theme inspired by the logo
   ================================ */

:root {
  --bg: #05070d;
  --bg-elev: #0a0f1c;
  --bg-soft: #0e1525;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e8edf7;
  --muted: #9aa4b8;
  --muted-2: #6b7388;
  --brand: #1ea7ff;
  --brand-2: #5fd0ff;
  --brand-deep: #0a4ea8;
  --grad: linear-gradient(135deg, #5fd0ff 0%, #1ea7ff 40%, #0a4ea8 100%);
  --glow: 0 0 40px rgba(30, 167, 255, 0.35);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
}

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

.nav-logo {
  display: block;
  width: 260px;
  height: 64px;
  background-image: url('logo.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 360px auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta { font-size: 14px; padding: 10px 18px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(30, 167, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(30, 167, 255, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand-2); }

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 167, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(95, 208, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 10% 70%, rgba(10, 78, 168, 0.18), transparent 50%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(30, 167, 255, 0.08);
  border: 1px solid rgba(30, 167, 255, 0.2);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }

.hero-stats strong {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span { color: var(--muted); font-size: 14px; }

/* ============ STRIP ============ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 24px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.strip-inner > span {
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.strip ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  flex: 1;
}

.strip li {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; }

.section-dark { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 16px 0 16px;
}

.section-head p { color: var(--muted); font-size: 17px; }

/* ============ SERVICES ============ */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(30,167,255,.08), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.card:hover::before { opacity: 1; }

.card.highlight {
  background: linear-gradient(180deg, rgba(30,167,255,0.1), rgba(30,167,255,0.02));
  border-color: rgba(30, 167, 255, 0.35);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 167, 255, 0.12);
  color: var(--brand-2);
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(30, 167, 255, 0.2);
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.card p { color: var(--muted); font-size: 15px; }

/* ============ STATS ============ */
.grid-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}

.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color .25s, transform .25s;
}

.stat:hover {
  border-color: rgba(30, 167, 255, 0.4);
  transform: translateY(-3px);
}

.stat-num {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1px;
  line-height: 1;
}

.stat p { font-size: 15px; color: var(--text); }

.stat strong { color: var(--brand-2); font-weight: 600; }

.stat .source {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  line-height: 1.4;
}

.callout {
  background: linear-gradient(135deg, rgba(30,167,255,0.12), rgba(10,78,168,0.06));
  border: 1px solid rgba(30, 167, 255, 0.3);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.callout h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}

.callout p { color: var(--muted); max-width: 600px; }

/* ============ PROCESS ============ */
.grid-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color .25s, transform .25s;
}

.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.step-num {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 14px; }

/* ============ CTA / CONTACT ============ */
.section-cta {
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(30,167,255,.18), transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 80%, rgba(95,208,255,.12), transparent 60%),
    var(--bg);
  padding: 100px 0;
}

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

.cta-inner h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 16px 0 16px;
}

.cta-inner p { color: var(--muted); font-size: 17px; max-width: 480px; }

.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contact-form span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-soft);
}

.form-note { color: var(--muted-2); font-size: 13px; text-align: center; }

/* ============ FOOTER ============ */
.footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.footer-logo {
  width: 240px;
  height: 64px;
  background: url('logo.jpg') center / 350px auto no-repeat;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}

.footer-links a:hover { color: var(--brand-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-bottom span {
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom small {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
  max-width: 560px;
  text-align: right;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, .55);
  transition: transform .2s ease;
  animation: pulse 2.5s infinite;
}

.wa-float:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { box-shadow: 0 12px 32px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 12px 32px -8px rgba(37, 211, 102, .55), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 32px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom small { text-align: left; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 60px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .grid-services { grid-template-columns: 1fr; }
  .grid-stats { grid-template-columns: 1fr; }
  .grid-process { grid-template-columns: 1fr; }
  .callout { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
  .contact-form { padding: 24px; }
}
