:root {
  --bg-dark: #0c0e12;
  --bg-dark-2: #12151c;
  --bg-dark-3: #1a1e28;
  --bg-light: #ffffff;
  --bg-muted: #f5f7f9;
  --green: #2fd15a;
  --green-dark: #22b34a;
  --green-soft: rgba(47, 209, 90, 0.12);
  --text: #0f1218;
  --text-muted: #5c6575;
  --text-on-dark: #f4f6f8;
  --text-dim: #9aa3b2;
  --border: #e6eaef;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(12, 14, 18, 0.08);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --container: 1180px;
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.85rem 1.45rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #06240f;
  box-shadow: 0 8px 24px rgba(47, 209, 90, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
}

.btn-white:hover {
  background: #f0fff4;
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 14, 18, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-phone i {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 130;
}

.nav-toggle:hover {
  background: rgba(47, 209, 90, 0.12);
  border-color: rgba(47, 209, 90, 0.4);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

body.menu-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  width: 0;
}

body.menu-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sağdan açılan mobil drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 8, 12, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(340px, 88vw);
  height: 100%;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(47, 209, 90, 0.16), transparent 55%),
    linear-gradient(180deg, #12151c 0%, #0c0e12 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.75rem;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-head .logo img {
  height: 42px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.drawer-close:hover {
  background: rgba(47, 209, 90, 0.15);
  border-color: rgba(47, 209, 90, 0.45);
  transform: rotate(90deg);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(28px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.mobile-drawer.is-open .mobile-drawer-nav a {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.08s + var(--i, 0) * 0.055s);
}

.mobile-drawer-nav a i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(47, 209, 90, 0.1);
  color: var(--green);
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mobile-drawer-nav a:hover i {
  transform: scale(1.08);
  background: rgba(47, 209, 90, 0.2);
}

.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.25s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mobile-drawer.is-open .mobile-drawer-foot {
  opacity: 1;
  transform: none;
}

.drawer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.drawer-phone i {
  color: var(--green);
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(47, 209, 90, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(47, 209, 90, 0.06), transparent 45%),
    linear-gradient(145deg, #0a0c10 0%, #12151c 45%, #0e1218 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  max-width: 14ch;
}

.hero h1 .accent {
  color: var(--green);
}

.hero-lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.85rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  animation: floatY 5.5s ease-in-out 1s infinite;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-pill i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.9rem;
}

/* Sections common */
.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.section-muted {
  background: var(--bg-muted);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 209, 90, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  background: var(--green-soft);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  font-weight: 750;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Modules */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}

.module-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.module-item:hover {
  background: var(--bg-muted);
}

.module-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.15rem;
}

.module-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.module-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Hardware */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.hardware-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.hardware-card:hover {
  transform: translateY(-3px);
}

.hardware-card i {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.85rem;
}

.hardware-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.hardware-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--green);
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(47, 209, 90, 0.18);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #06240f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.25rem;
}

.price-card .price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.price-card ul {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #374151;
}

.price-card li i {
  color: var(--green);
  margin-top: 0.2rem;
}

/* Stats */
.stats {
  background: var(--bg-dark-2);
  padding: 3.25rem 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item i {
  color: var(--green);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.stat-item span {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  padding: 4rem 0 1rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(120deg, #1f9e45 0%, #2fd15a 50%, #3adf6a 100%);
  color: #fff;
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: 1.4fr auto 0.7fr;
  gap: 1.5rem;
  align-items: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  max-width: 22ch;
}

.cta-copy p {
  opacity: 0.92;
  font-size: 0.95rem;
  max-width: 46ch;
}

.cta-art img {
  width: min(180px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
  animation: floatY 4.5s ease-in-out infinite;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-dark-2);
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.contact-list i {
  color: var(--green);
  margin-top: 0.2rem;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
  color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 209, 90, 0.18);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-dim);
  padding: 4rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
  max-width: 30ch;
  line-height: 1.7;
}

.footer-brand .logo img {
  height: 52px;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #06240f;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--green);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #06240f;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 209, 90, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  overflow: hidden;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 92dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.28s ease;
  scrollbar-width: thin;
}

.modal-dialog h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.modal-dialog .modal-lead {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.modal-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -0.15rem 0 1rem;
  padding-bottom: 0.85rem;
  background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid var(--border);
}

.modal-dialog .form-group {
  margin-bottom: 0.75rem;
}

.modal-dialog .form-group label {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.modal-dialog .form-group input,
.modal-dialog .form-group select {
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.modal-dialog .form-hint {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-muted);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.demo-result {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.1rem;
  margin-top: 0.5rem;
}

.demo-result.is-visible {
  display: block;
}

.demo-result.error {
  background: #fef2f2;
  border-color: #fecaca;
}

.demo-result h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.demo-result p {
  font-size: 0.92rem;
  color: #374151;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-loading .btn-text {
  opacity: 0;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 640px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog {
    width: 100%;
    max-height: min(88vh, 88dvh);
    border-radius: 18px 18px 0 0;
    padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    animation: modalSheetIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .modal-dialog h2 {
    font-size: 1.15rem;
  }

  .modal-dialog .modal-lead {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .modal-dialog .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-dialog .form-group {
    margin-bottom: 0.65rem;
  }

  .modal-dialog .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@keyframes modalSheetIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Button shine */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-shine:hover::after {
  animation: shineSweep 0.75s ease;
}

@keyframes shineSweep {
  to {
    left: 140%;
  }
}

/* Hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.hero-visual.hero-anim {
  transform: translateY(36px) scale(0.96);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(47, 209, 90, 0.18);
  top: 12%;
  right: 8%;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(47, 209, 90, 0.1);
  bottom: 10%;
  left: 5%;
  animation-delay: -3s;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.hero-pill {
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-pill:hover {
  transform: translateY(-3px);
  color: #fff;
}

.hero-pill:hover i {
  animation: iconPop 0.45s ease;
}

@keyframes iconPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.feature-card,
.hardware-card,
.price-card,
.module-item {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    background 0.3s ease;
}

.feature-card:hover .feature-icon,
.hardware-card:hover i,
.module-item:hover .module-icon {
  animation: iconPop 0.5s ease;
}

.feature-card:hover {
  box-shadow: 0 18px 40px rgba(12, 14, 18, 0.12);
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.stat-item strong {
  background: linear-gradient(90deg, #fff, var(--green), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-item.is-in strong {
  animation: textShine 2.4s ease;
}

@keyframes textShine {
  0% {
    background-position: 0% center;
    color: #fff;
  }
  50% {
    -webkit-text-fill-color: transparent;
    background-position: 100% center;
  }
  100% {
    -webkit-text-fill-color: #fff;
    color: #fff;
    background-position: 0% center;
  }
}

.cta-panel {
  animation: ctaGlow 4.5s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 16px 40px rgba(47, 209, 90, 0.25);
  }
  50% {
    box-shadow: 0 20px 55px rgba(47, 209, 90, 0.45);
  }
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-anim {
    opacity: 1;
    transform: none;
  }

  .mobile-drawer {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .feature-grid,
  .module-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hardware-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0.5rem;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-copy h2,
  .cta-copy p {
    max-width: none;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero-pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .module-grid,
  .pricing-grid,
  .hardware-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 1.75rem 1.35rem;
  }

  .nav-actions .btn {
    display: none;
  }
}
