@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0d0d0d;
  --bg2: #111827;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --accent: #3b82f6;
  --accent-glow: rgba(59,130,246,0.3);
  --text: #f9fafb;
  --muted: #9ca3af;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

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

/* ── Scroll Animations ── */
/* Default: visible (Googlebot-safe). JS adds the hidden state after load. */
.animate-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-up.js-ready {
  opacity: 0;
  transform: translateY(28px);
}
.animate-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
nav.scrolled { background: rgba(13,13,13,0.98); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%;
  gap: 16px;
}

.logo, a.logo, a.logo:visited, a.logo:hover { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; color: var(--text); }
.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #2563eb; box-shadow: 0 0 24px var(--accent-glow); }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 5%; width: 100%; }
  .nav-burger { display: flex; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 820px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.28);
  color: var(--accent);
  font-size: 0.78rem; font-weight: 700;
  padding: 7px 18px; border-radius: 100px;
  margin-bottom: 28px; letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
h1 .highlight { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.trust-row {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
}
.trust-icon { font-size: 1rem; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 5%;
}
.stats-bar-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 32px; gap: 3px;
}
.stat-item strong { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.stat-item span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── SECTIONS ── */
section { padding: 96px 5%; }

.section-label {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

/* ── SERVICES ── */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); }

.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
}

.services-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.service-price {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}
.service-price strong {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ── HOW IT WORKS ── */
#how-it-works { background: var(--bg); }

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}

.step {
  text-align: center;
  padding: 34px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  width: 50px; height: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px var(--accent-glow);
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--bg2); }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.testimonial-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); }

.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  color: var(--text); font-size: 0.95rem; line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

/* ── FAQ ── */
#faq { background: var(--bg); }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--surface);
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: none; border: none; color: var(--text);
  font-size: 0.98rem; font-weight: 600; font-family: inherit;
  cursor: pointer; text-align: left; gap: 16px;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }

.faq-icon {
  font-size: 1.3rem; font-weight: 300;
  color: var(--accent); flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--muted); font-size: 0.92rem; line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }
.faq-a strong { color: var(--text); }

/* ── QUOTE FORM ── */
#quote { background: var(--bg2); }

.quote-wrap { max-width: 700px; margin: 0 auto; }

.quote-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 48px;
}

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

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

label { font-size: 0.83rem; font-weight: 600; color: #d1d5db; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
input::placeholder, textarea::placeholder { color: rgba(156,163,175,0.6); }
select option { background: #1f2937; color: #fff; }
textarea { resize: vertical; min-height: 120px; }

.checkbox-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.checkbox-label {
  display: flex; align-items: center; gap: 9px;
  cursor: pointer; font-size: 0.88rem; color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.15s;
}
.checkbox-label:hover { border-color: rgba(59,130,246,0.3); color: var(--text); }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.checkbox-label:has(input:checked) {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.08);
  color: var(--text);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px var(--accent-glow);
  margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover:not(:disabled) { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { color: rgba(156,163,175,0.5); font-size: 0.78rem; text-align: center; margin-top: 12px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.success-icon { font-size: 3.5rem; margin-bottom: 18px; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }
.btn-success-back {
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 10px 22px; border-radius: 8px;
  cursor: pointer; font-size: 0.85rem; font-family: inherit;
  transition: all 0.2s;
}
.btn-success-back:hover { border-color: var(--accent); color: var(--accent); }

.form-error {
  color: #f87171; font-size: 0.85rem;
  margin: 4px 0 8px;
  padding: 10px 14px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 7px;
  display: none;
}

/* ── FOOTER ── */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 44px 5%;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.footer-left p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: rgba(156,163,175,0.5); font-size: 0.78rem; }

/* ── SERVICE LIST ── */
.service-list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.service-list li::marker { content: ''; }

/* ── WHY WRKBUILT ── */
#why { background: var(--bg2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.why-icon { font-size: 1.8rem; margin-bottom: 12px; }
.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  section { padding: 72px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .quote-card { padding: 26px; }
  .stats-bar-inner { gap: 0; }
  .stat-item { padding: 8px 16px; }
  .stat-divider { display: none; }
  footer { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .why-grid { grid-template-columns: 1fr; }
}
