:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #f0f4ff;
  --text: #14213d;
  --muted: #5e6b85;
  --accent: #1766ff;
  --accent-2: #3d8bff;
  --border: rgba(20, 33, 61, 0.08);
  --shadow: 0 14px 40px rgba(20, 33, 61, 0.08);
}

body.dark {
  --bg: #07111f;
  --surface: #0f1b33;
  --surface-soft: #13243f;
  --text: #f7f9fc;
  --muted: #a9b5c8;
  --accent: #6da9ff;
  --accent-2: #3c7dff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  line-height: 1.7;
  transition: background 0.25s ease, color 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23, 102, 255, 0.08), transparent 40%), var(--surface);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  pointer-events: none;
  animation: drift 10s ease-in-out infinite alternate;
}

.hero::before {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -60px;
  background: linear-gradient(135deg, #ff8a1f, #ffb347);
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: -80px;
  background: linear-gradient(135deg, #2a8cff, #16c784);
  animation-duration: 12s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a,
.nav-links button {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.hero h1,
.inner-hero h1,
.section h2,
.service-section h2,
.product-card h3,
.feature-card h3,
.contact-card h2 {
  background: linear-gradient(90deg, #ff7a1a 0%, #2a8cff 48%, #16c784 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description,
p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 30px rgba(23, 102, 255, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
}

.hero-image-card,
.info-box,
.product-card,
.step-card,
.faq-item,
.stat-card,
.service-section,
.contact-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-image-card {
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.section {
  padding: 5rem 0;
}

.intro-grid,
.process-grid,
.footer-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.info-box,
.step-card,
.faq-item,
.stat-card,
.contact-card,
.feature-card {
  padding: 1.35rem;
}

.info-box ul {
  padding-left: 1rem;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.secondary-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.product-card,
.feature-card,
.stat-card,
.service-section,
.contact-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover,
.feature-card:hover,
.stat-card:hover,
.service-section:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(23, 102, 255, 0.16);
}

.product-card {
  overflow: hidden;
  padding-bottom: 1rem;
}

.product-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.product-card h3,
.product-card p,
.product-card a {
  margin: 0.8rem 1rem 0;
}

.product-card a {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.process-steps {
  display: grid;
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.faq-toggle {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0.6rem 0 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-form input {
  flex: 1 1 220px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
}

.contact-form button {
  border: 0;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.contact-methods {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-methods li + li {
  margin-top: 0.6rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  background: var(--surface);
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.inner-hero {
  min-height: 70vh;
}

.inner-hero-content {
  padding: 3rem 0 4rem;
  max-width: 780px;
}

.service-page {
  padding: 2.5rem 0 4rem;
}

.service-section {
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1rem;
}

.service-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1rem;
}

.service-visual .visual-content {
  padding: 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(23, 102, 255, 0.06), rgba(22, 199, 132, 0.1));
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: 0;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.contact-note {
  margin-top: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 16px 30px rgba(18, 140, 126, 0.28);
  text-decoration: none;
  z-index: 50;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(20px, -25px, 0) scale(1.08);
  }
}

@media (max-width: 900px) {
  .hero-content,
  .intro-grid,
  .process-grid,
  .footer-grid,
  .contact-grid,
  .product-grid,
  .stats-grid,
  .service-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    min-width: 220px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .form-grid,
  .service-visual {
    grid-template-columns: 1fr;
  }
}
