:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #111111;
  --accent-red: #e50000;
  --accent-red-glow: #ff1a1a;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --card-bg: #1a1a1a;
  --border: rgba(229, 0, 0, 0.3);
  --container-width: min(1200px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(229, 0, 0, 0.14), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(229, 0, 0, 0.08), transparent 40%),
    linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.6s ease;
}

body.is-loading {
  opacity: 0;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1.6px;
  background: linear-gradient(180deg, #ffffff 0%, #ff5f5f 45%, #e50000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 16px rgba(229, 0, 0, 0.35);
}

.container {
  width: var(--container-width);
  margin-inline: auto;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 2rem;
  text-align: center;
}

.btn,
.lang-btn,
.nav-toggle {
  min-height: 44px;
  min-width: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  font-family: 'Rajdhani', sans-serif;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, #8b0000 100%);
  color: #fff;
  border-color: rgba(255, 85, 85, 0.45);
  box-shadow: 0 0 18px rgba(229, 0, 0, 0.48);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(229, 0, 0, 0.7);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #118145 100%);
  color: #fff;
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.58);
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.35);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.4rem;
}

.logo img {
  width: 188px;
  height: 64px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-right .nav-panel {
  order: 1;
}

.nav-right .lang-switch {
  order: 2;
}

.nav-right .nav-toggle {
  order: 3;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  padding: 0.6rem 0.85rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn.active {
  background: rgba(229, 0, 0, 0.2);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-panel a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-panel a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-red-glow));
  box-shadow: 0 0 10px rgba(229, 0, 0, 0.6);
  transition: transform 0.28s ease;
}

.nav-panel a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 78px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(229, 0, 0, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 10, 10, 0.84) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: clamp(3.3rem, 13vw, 9rem);
  letter-spacing: 3px;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.drop-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(-85px);
  animation: letterDrop 0.78s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.hero-subtitle {
  color: var(--text-secondary);
  letter-spacing: 2px;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  margin-bottom: 2.1rem;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 45px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.scroll-cue::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-red-glow);
  transform: translateX(-50%);
  animation: scrollCue 1.5s infinite;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-quote,
.about-content,
.service-card,
.pricing-card,
.founder-card,
.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(229, 0, 0, 0.12);
}

.about-quote {
  padding: 2.4rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.quote-mark {
  font-family: 'Bebas Neue', cursive;
  font-size: 6rem;
  line-height: 0.8;
  color: var(--accent-red);
  text-shadow: 0 0 20px rgba(229, 0, 0, 0.75);
}

.about-quote h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.5rem;
}

.about-content {
  padding: 2.3rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.counter-card {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(229, 0, 0, 0.28);
  border-radius: 16px;
  text-align: center;
  padding: 1rem 0.8rem;
}

.counter-value {
  display: block;
  font-family: 'Bebas Neue', cursive;
  font-size: 2.3rem;
  color: #fff;
  text-shadow: 0 0 14px rgba(229, 0, 0, 0.56);
  line-height: 1;
}

.counter-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.service-card {
  padding: 1.35rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 30, 30, 0.7);
  box-shadow: 0 0 24px rgba(229, 0, 0, 0.42);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  background: rgba(229, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(229, 0, 0, 0.24);
}

.service-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.02;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  padding: 1.45rem;
}

.pricing-card h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-bottom: 0.85rem;
}

.pricing-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.pricing-card thead th {
  text-align: left;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.5rem;
}

.pricing-card tbody td {
  padding: 0.62rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.pricing-card tbody td:last-child {
  color: #fff;
  font-weight: 700;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.founder-card {
  padding: 1.45rem;
  text-align: center;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 40, 40, 0.8);
  box-shadow: 0 0 26px rgba(229, 0, 0, 0.4);
}

.founder-photo-shell {
  width: 170px;
  height: 170px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #4e4e4e;
  position: relative;
  overflow: hidden;
}

.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.founder-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  z-index: 1;
}

.founder-photo-shell.loaded .founder-photo-placeholder {
  opacity: 0;
}

.founder-photo-shell.placeholder .founder-photo-img {
  display: none;
}

.founder-card h3 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.founder-role {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-red-glow);
}

.founder-card p:last-child {
  color: var(--text-secondary);
  margin-top: 0.65rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
}

.contact-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

form label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

form input,
form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  padding: 0.82rem 0.95rem;
  margin-bottom: 0.85rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: rgba(255, 50, 50, 0.78);
  box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.2);
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.6rem;
  font-weight: 600;
}

.form-status.success {
  color: #5aff9c;
}

.form-status.error {
  color: #ff7f7f;
}

.btn-whatsapp-large {
  width: 100%;
  margin-bottom: 1rem;
}

.contact-info {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-info strong {
  display: block;
  color: #fff;
}

.contact-info a,
.contact-info span {
  color: var(--text-secondary);
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
  background: linear-gradient(135deg, #25d366 0%, #118145 100%);
  color: #fff;
  border-radius: 999px;
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.48);
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  width: 132px;
  height: 48px;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-copy {
  color: #fff;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-85px);
  }
  60% {
    opacity: 1;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 17px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
