/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #161616;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.1);
  --accent-glow: rgba(0, 229, 255, 0.3);
  --orange: #FF6B00;
  --orange-dim: rgba(255, 107, 0, 0.1);
  --text: #F0F0F0;
  --text-muted: #8A8A8A;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; }

/* === UTILITIES === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo strong { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  padding: 8px 18px;
}

.nav-links .nav-cta:hover {
  background: #33EAFF;
  color: var(--bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #33EAFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Laser beam animations */
.laser-beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  animation: laserSweep 6s ease-in-out infinite;
}

.beam-1 {
  width: 60%;
  top: 30%;
  left: -60%;
  animation-delay: 0s;
  box-shadow: 0 0 8px 2px var(--accent-glow);
}

.beam-2 {
  width: 40%;
  top: 55%;
  left: -40%;
  animation-delay: 2s;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 8px 2px rgba(255, 107, 0, 0.4);
}

.beam-3 {
  width: 50%;
  top: 70%;
  left: -50%;
  animation-delay: 4s;
  box-shadow: 0 0 8px 2px var(--accent-glow);
}

@keyframes laserSweep {
  0% { left: -60%; opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { left: 120%; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 34px;
  border: 2px solid var(--border);
  border-radius: 100px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 100px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 16px; }
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* === CARDS (Services) === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-dim), 0 0 0 1px var(--accent);
  transform: translateY(-4px);
}

.card-icon {
  width: 68px;
  height: 68px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === STATS (Why Us) === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.stat-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === USE CASES === */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.use-case {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: default;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.use-case:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-4px);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case span {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* === QUOTE FORM === */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%238A8A8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-actions { margin-top: 4px; }

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.form-success {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.form-success p { color: var(--accent); font-weight: 500; }

.form-error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
}

.form-error p { color: #FF5050; font-weight: 500; }

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 90px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg { flex-shrink: 0; margin-top: 2px; }

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-item a {
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--transition);
  line-height: 1.5;
}

.contact-item a:hover { color: var(--accent); }

.contact-firm {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  display: inline-flex;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info p,
.footer-info a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-info a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 20px 12px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  overflow: hidden;
  max-width: 56px;
}

.whatsapp-float span {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  max-width: 180px;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.whatsapp-float:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* === LOADING STATE === */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .form-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text);
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 { font-size: 2.2rem; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
