:root {
  --bg: #09090b;
  --bg-elevated: #131316;
  --surface: #18181c;
  --surface-hover: #1f1f24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --red: #e2172f;
  --red-bright: #ff2f47;
  --red-dim: #6e0f1c;
  --red-glow: rgba(226, 23, 47, 0.35);
  --text: #f3f3f5;
  --text-muted: #98989f;
  --text-faint: #5a5a62;
  --font-display: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1180px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

#scan-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.section-inner,
.header-inner,
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(9, 9, 11, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand-accent {
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 10px 18px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  border-color: var(--red);
  background: rgba(226, 23, 47, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  margin-bottom: 32px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--text);
  max-width: 900px;
}

.hero-title-accent {
  color: var(--red);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero-subtitle {
  margin-top: 28px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 30px var(--red-glow);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(3px);
}

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

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 72px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--text);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-faint);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-move 1.8s ease-in-out infinite;
}

@keyframes scroll-move {
  0% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0.3); transform-origin: bottom; }
}

.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text);
}

.section-text {
  margin-top: 22px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
}

.about {
  position: relative;
  z-index: 2;
  padding: 140px 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.about .section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-frame {
  position: relative;
  border: 1px solid var(--border-strong);
  padding: 16px;
  background: var(--bg-elevated);
}

.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.05);
}

.about-scan-line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red-bright), transparent);
  box-shadow: 0 0 16px var(--red-bright);
  animation: scan-vertical 4s ease-in-out infinite;
}

@keyframes scan-vertical {
  0% { top: 16px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 18px); opacity: 0; }
}

.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red);
}

.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.about-points {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-point {
  display: flex;
  gap: 20px;
}

.point-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  padding-top: 3px;
}

.about-point h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text);
}

.about-point p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.services {
  position: relative;
  z-index: 2;
  padding: 140px 0;
}

.services-head {
  max-width: 620px;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
}

.service-card:hover {
  background: var(--surface);
}

.service-card:hover .service-icon {
  border-color: var(--red);
  color: var(--red);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact {
  position: relative;
  z-index: 2;
  padding: 140px 0 160px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.contact-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

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

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-row input,
.form-row textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-faint);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--red);
  background: var(--surface);
}

.form-submit {
  align-self: flex-start;
  border: none;
  margin-top: 6px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  min-height: 18px;
}

.form-note.success {
  color: var(--red-bright);
}

.form-note.error {
  color: #ff5c5c;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-nav a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

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

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  color: var(--red-bright);
  border-color: var(--red);
  background: rgba(226, 23, 47, 0.08);
  transform: translateY(-2px);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.footer-legal {
  max-width: var(--container);
  margin: 20px auto 0;
  padding: 20px 32px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 12.5px;
  color: var(--text-faint);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--red);
}

.legal-dot {
  color: var(--text-faint);
  font-size: 12px;
}

@media (max-width: 640px) {
  .footer-legal {
    padding: 20px 20px 0;
  }
}

@media (max-width: 900px) {
  .about .section-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 9, 11, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 32px 24px;
  }

  .main-nav.open .nav-link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .section-inner,
  .header-inner,
  .footer-inner {
    padding: 0 20px;
  }

  .hero-stats {
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

.legal-main {
  position: relative;
  z-index: 2;
  padding: 160px 0 120px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text-faint);
  margin-bottom: 32px;
  transition: color 0.25s ease;
}

.legal-back:hover {
  color: var(--red);
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal-content .section-eyebrow {
  margin-bottom: 14px;
}

.legal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.5px;
  color: var(--text);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 14px;
}

.legal-body {
  margin-top: 56px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-top: 44px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.legal-body a:hover {
  border-color: var(--red);
}

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(226, 23, 47, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  z-index: -1;
  animation: wa-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-float:hover {
  background: var(--red-bright);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px var(--red-glow);
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
