:root {
  --primary: #0ea5e9;
  --secondary: #14b8a6;
  --dark: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,.85);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  max-height: 46px;
  width: auto;
  display: block;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.desktop-menu a:hover,
.desktop-menu a.active {
  color: var(--primary);
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 14px 23px;
  font-weight: 900;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 16px 38px rgba(14,165,233,.28);
}

.btn-white {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn.small {
  min-height: 44px;
  padding: 11px 18px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
}

.language-switcher a {
  color: var(--muted);
}

.language-switcher a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 15px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  margin: 6px 0;
  transition: .25s;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  background: #fff;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
}

.mobile-language {
  display: flex;
  gap: 12px;
  padding: 16px 0 4px;
}

.mobile-language a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mobile-language a.active {
  background: var(--primary);
  color: #fff;
}

.hero,
.page-hero {
  position: relative;
  padding: 95px 0 85px;
  overflow: hidden;
}

.page-hero {
  text-align: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(14,165,233,.18), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(20,184,166,.16), transparent 32%);
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(14,165,233,.20), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(20,184,166,.18), transparent 32%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 20px;
}

.eyebrow.light {
  background: rgba(255,255,255,.18);
  color: #fff;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin: 0 0 24px;
}

.hero-content p,
.section-head p,
.split p {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--muted);
  font-weight: 800;
}

.hero-points span::before,
.check-list span::before,
.price-card li::before {
  content: "✓";
  color: var(--secondary);
  margin-right: 8px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.dashboard-mockup {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}

.mockup-header {
  height: 58px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}

.mockup-header span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: #cbd5e1;
}

.mockup-body {
  padding: 26px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.stats div,
.appointment-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
}

.stats strong {
  display: block;
  font-size: 25px;
}

.stats span,
.appointment-item span {
  color: var(--muted);
  font-size: 14px;
}

.appointment-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}

.appointment-item b {
  color: #0369a1;
}

.chart-bars {
  height: 135px;
  display: flex;
  gap: 13px;
  align-items: end;
  padding-top: 18px;
}

.chart-bars i {
  flex: 1;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  animation: grow 1.4s ease both;
}

@keyframes grow {
  from { height: 10%; }
}

.floating-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  margin-bottom: 5px;
}

.floating-card span {
  color: var(--muted);
  font-size: 14px;
}

.top-card {
  top: 20px;
  left: -24px;
}

.bottom-card {
  right: -20px;
  bottom: 34px;
  animation-delay: .7s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section {
  padding: 88px 0;
}

.soft {
  background: #fff;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.split h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  margin: 0 0 16px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.price-card,
.glass-card,
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(15,23,42,.05);
}

.feature-card {
  transition: .25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 900;
  margin-bottom: 20px;
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.feature-card p,
.price-card p {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 13px;
}

.check-list span {
  padding: 16px 18px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 17px;
  font-weight: 800;
}

.glass-card {
  background:
    linear-gradient(135deg, rgba(14,165,233,.12), rgba(20,184,166,.10)),
    #fff;
}

.glass-card h3 {
  font-size: 27px;
  margin-top: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.summary-row strong {
  color: var(--dark);
}

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.popular {
  background: var(--dark);
  color: #fff;
  transform: scale(1.035);
}

.price-card.popular p,
.price-card.popular li {
  color: rgba(255,255,255,.75);
}

.popular-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
}

.price {
  font-size: 43px;
  font-weight: 900;
  margin: 22px 0;
}

.price small {
  font-size: 16px;
  opacity: .7;
}

.price-card ul {
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  display: grid;
  gap: 13px;
  color: var(--text);
}

.price-card .btn {
  margin-top: auto;
}

.form-card {
  display: grid;
  gap: 12px;
}

.form-card label {
  font-weight: 900;
  color: var(--dark);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  background: #fff;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 14px;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 21px 24px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--primary);
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--text);
  line-height: 1.7;
}

.cta-section {
  padding-top: 40px;
}

.cta {
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 38px;
  padding: clamp(38px, 6vw, 70px);
}

.cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.88);
  font-size: 19px;
  line-height: 1.7;
}

.footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 34px;
}

.footer-logo {
  max-height: 44px;
  margin-bottom: 18px;
}

.footer h4 {
  color: #fff;
  margin: 0 0 16px;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.brand-owner {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.brand-owner img {
  max-height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay {
  transition-delay: .18s;
}

@media (max-width: 1100px) {
  .desktop-menu {
    gap: 14px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.popular {
    transform: none;
  }

  .top-card,
  .bottom-card {
    position: static;
    margin: 14px 0;
  }
}

@media (max-width: 860px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: block;
  }

  .brand img {
    max-height: 40px;
  }

  .hero,
  .page-hero {
    padding: 58px 0 64px;
  }

  h1 {
    letter-spacing: -1.5px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .dashboard-mockup {
    transform: none;
    border-radius: 26px;
  }

  .stats,
  .feature-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .appointment-item {
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .price-card,
  .glass-card,
  .form-card {
    padding: 24px;
  }

  .cta {
    border-radius: 26px;
  }
}