:root {
  --bg: #0b0f19;
  --bg-alt: #11172a;
  --surface: #161d33;
  --text: #f4f6fb;
  --text-muted: #9aa3b8;
  --accent: #4285f4;
  --accent-2: #34d399;
  --gradient: linear-gradient(135deg, #4285f4, #34a853);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #06110a;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.35);
}

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

.btn--ghost:hover {
  background: var(--surface);
}

.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav__link:hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 110px 0 80px;
  background:
    radial-gradient(600px circle at 80% -10%, rgba(66, 133, 244, 0.25), transparent 60%),
    radial-gradient(500px circle at 0% 20%, rgba(52, 168, 83, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.5) 0%, rgba(11, 15, 25, 0.75) 45%, rgba(11, 15, 25, 0.96) 75%, var(--bg) 100%),
    url("../images/360-dark.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat;
}

.hero__inner { text-align: center; }

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero__subtitle {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stats strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-2);
}

.hero__stats span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section helpers */
.section__eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
}

/* Stats */
.stats { padding: 70px 0; }

.stats__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.stats__card {
  flex: 1 1 320px;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}

.stats__counter {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats__label { font-weight: 600; margin: 8px 0 4px; }

.stats__sublabel { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.stats__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: 0.9rem;
  margin: 16px 0 0;
}

.stats__source {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 10px 0 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.clock {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.clock__face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--accent);
  box-shadow: 0 0 30px rgba(66, 133, 244, 0.3);
}

.clock__hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  border-radius: 3px;
}

.clock__hand--hour {
  width: 4px;
  height: 28px;
  margin-left: -2px;
  background: var(--text);
  animation: spin 43200s linear infinite;
}

.clock__hand--minute {
  width: 3px;
  height: 40px;
  margin-left: -1.5px;
  background: var(--text);
  animation: spin 3600s linear infinite;
}

.clock__hand--second {
  width: 2px;
  height: 46px;
  margin-left: -1px;
  background: var(--accent-2);
  animation: spin 60s linear infinite;
}

.clock__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Services */
.services { padding: 90px 0; background: var(--bg-alt); }

.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  flex: 1 1 220px;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

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

.service-card__icon { font-size: 1.8rem; margin-bottom: 16px; }

.service-card h3 { font-size: 1.1rem; margin: 0 0 10px; }

.service-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* About */
.about { padding: 90px 0; }

.about__inner { max-width: 720px; margin: 0 auto; text-align: center; }

.about__text p { color: var(--text-muted); font-size: 1.05rem; }

.about__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.about__list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
}

.about__list li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }

/* Portfolio */
.portfolio { padding: 90px 0; background: var(--bg-alt); text-align: center; }

.portfolio__subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: -16px auto 36px;
}

.portfolio__card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.portfolio__card p { color: var(--text-muted); margin: 0 0 24px; }

/* FAQ */
.faq { padding: 90px 0; }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
  font-weight: 700;
}

.faq__item[open] summary::after { content: "−"; }

.faq__item p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 90px 0;
  text-align: center;
  background: var(--gradient);
  color: #06110a;
}

.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }

.cta p { margin: 0 0 28px; opacity: 0.85; }

.cta .btn--primary {
  background: #06110a;
  color: #fff;
}

.cta .btn--primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.3); }

/* Footer */
.footer { padding: 56px 0 24px; }

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer__inner p { color: var(--text-muted); margin: 10px 0 0; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.footer__contact a { color: var(--text-muted); transition: color 0.15s ease; }

.footer__contact a:hover { color: var(--accent-2); }

.footer__copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 24px 0 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 99;
  transition: transform 0.15s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .service-card { flex: 1 1 45%; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .btn--header { display: none; }
  .nav__toggle { display: flex; }

  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .service-card { flex: 1 1 100%; max-width: 100%; }
  .footer__inner { flex-direction: column; }
  .eyebrow { font-size: 0.75rem; padding: 6px 14px; white-space: normal; }
}
