:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-soft: #fff7e6;
  --text: #1d2433;
  --muted: #687386;
  --gold: #c9962c;
  --gold-dark: #9f6f13;
  --navy: #16233b;
  --emerald: #16805d;
  --border: rgba(29, 36, 51, 0.1);
  --shadow: 0 24px 70px rgba(22, 35, 59, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(201, 150, 44, 0.16), transparent 34%), var(--bg);
  line-height: 1.8;
}

body.dark {
  --bg: #0f1728;
  --surface: #151f33;
  --surface-soft: #1d2a43;
  --text: #f7f4ed;
  --muted: #b7c0cf;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.section-padding {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.dark .site-header {
  background: rgba(15, 23, 40, 0.82);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 12px 30px rgba(201, 150, 44, 0.35);
}

.brand-text {
  font-size: 1.35rem;
  color: var(--navy);
}

.dark .brand-text {
  color: var(--text);
}

.brand-text span {
  color: var(--gold);
}

.nav-links,
.nav-actions,
.hero-actions,
.footer-content,
.footer-content div,
.strip-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--gold-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 16px 35px rgba(201, 150, 44, 0.35);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-light {
  color: var(--navy);
  background: white;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 15px 30px;
}

.btn-xl {
  padding: 18px 34px;
  font-size: 1.08rem;
}

.theme-toggle,
.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.trial-card span {
  display: inline-flex;
  color: var(--gold-dark);
  background: rgba(201, 150, 44, 0.14);
  border: 1px solid rgba(201, 150, 44, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.14;
  letter-spacing: -1.8px;
  color: var(--navy);
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--text);
}

.hero-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.24rem;
  margin-bottom: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.trust-row div,
.feature-card,
.why-item,
.contact-form,
.screenshot-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(22, 35, 59, 0.08);
}

.dark .trust-row div,
.dark .feature-card,
.dark .why-item,
.dark .contact-form,
.dark .screenshot-card {
  background: rgba(21, 31, 51, 0.82);
}

.trust-row div {
  padding: 16px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: linear-gradient(135deg, rgba(201, 150, 44, 0.28), rgba(22, 35, 59, 0.14));
  border-radius: 45px;
  transform: rotate(-4deg);
}

.dashboard-card {
  position: relative;
  padding: 26px;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dashboard-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.dashboard-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #263b64);
}

.dashboard-header small,
.dashboard-header strong {
  display: block;
}

.dashboard-header strong {
  font-size: 2rem;
}

.growth {
  color: #dff8ee;
  background: rgba(22, 128, 93, 0.9);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.metric-grid div {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.metric-grid span,
.metric-grid strong {
  display: block;
}

.metric-grid span {
  color: var(--muted);
}

.metric-grid strong {
  font-size: 1.45rem;
}

.chart-bars {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 13px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(201, 150, 44, 0.08), rgba(201, 150, 44, 0.18));
}

.chart-bars i {
  flex: 1;
  min-height: 34px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.logos-strip {
  padding: 24px 0;
  background: var(--navy);
  color: white;
}

.strip-content {
  justify-content: center;
  flex-wrap: wrap;
}

.strip-content span {
  opacity: 0.72;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-start {
  margin-inline: 0;
  text-align: start;
}

.section-heading h2,
.trial-card h2 {
  margin: 14px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.25;
}

.section-heading p,
.feature-card p,
.why-item p,
.trial-card p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  font-size: 1.65rem;
}

.why {
  background: linear-gradient(135deg, rgba(22, 35, 59, 0.05), rgba(201, 150, 44, 0.1));
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 22px;
}

.why-item b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--emerald);
  border-radius: 50%;
}

.gallery-shell {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 22px;
  overflow: hidden;
}

.screenshot-card {
  padding: 16px;
}

.screenshot-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.screenshot-card h3 {
  margin: 18px 8px 6px;
}

.gallery-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 2rem;
  cursor: pointer;
}

.gallery-btn.prev {
  right: -18px;
}

.gallery-btn.next {
  left: -18px;
}

.trial-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 46px;
  border-radius: 34px;
  color: white;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 28%), linear-gradient(135deg, var(--navy), var(--gold-dark));
  box-shadow: var(--shadow);
}

.trial-card h2,
.trial-card p,
.trial-card span {
  color: white;
}

.trial-card span {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-grid {
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-info a {
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 150, 44, 0.15);
}

.site-footer {
  padding: 28px 0;
  color: white;
  background: #101929;
}

.footer-content {
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  opacity: 0.78;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.38);
  font-size: 1.9rem;
  font-weight: 900;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.sales-section {
  background: linear-gradient(180deg, rgba(184, 132, 31, 0.08), rgba(255, 255, 255, 0));
}

.stats-grid,
.problems-grid,
.use-cases-grid,
.pricing-grid,
.security-grid,
.testimonials-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problems-grid,
.use-cases-grid,
.security-grid,
.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.stat-card,
.problem-card,
.use-case-card,
.price-card,
.security-card,
.testimonial-card,
.video-card,
.comparison-card {
  background: var(--surface);
  border: 1px solid rgba(20, 40, 80, 0.1);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: #b8841f;
}

.problem-card b,
.security-card b {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  color: #b8841f;
  background: rgba(184, 132, 31, 0.12);
  border-radius: 50%;
}

.price-card.featured {
  border: 2px solid #b8841f;
  transform: translateY(-4px);
}

.price {
  margin: 0.5rem 0;
  color: #b8841f;
  font-size: 2.2rem;
  font-weight: 900;
}

.price small {
  color: inherit;
  font-size: 0.9rem;
  opacity: 0.8;
}

.price-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.price-list li::before {
  margin-left: 0.45rem;
  color: #b8841f;
  font-weight: 900;
  content: "✓";
}

.pricing-note {
  max-width: 760px;
  padding: 16px 22px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
  background: rgba(184, 132, 31, 0.08);
  border: 1px solid rgba(184, 132, 31, 0.18);
  border-radius: 18px;
}

.comparison-table {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 18px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid rgba(20, 40, 80, 0.1);
}

.comparison-table th {
  background: rgba(184, 132, 31, 0.1);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  color: #fff;
  font-size: 3rem;
  background: linear-gradient(135deg, #102a43, #b8841f);
  border-radius: 18px;
}

.final-cta {
  padding: 3rem 1.5rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #102a43, #b8841f);
  border-radius: 28px;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.video-responsive {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #0f2742;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-kicker {
  margin-bottom: 20px;
  text-align: center;
}

.video-kicker span {
  display: inline-block;
  padding: 12px 25px;
  color: #7a5514;
  font-weight: 700;
  background: #f8f4ea;
  border-radius: 12px;
}

.badge {
  padding: 10px 18px;
  color: #b8841f;
  font-weight: 700;
  background: #f8f4ea;
  border: 1px solid rgba(184, 132, 31, 0.2);
  border-radius: 50px;
}

.video-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .stats-grid,
  .problems-grid,
  .use-cases-grid,
  .pricing-grid,
  .security-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links {
    top: 82px;
  }

  .nav-actions {
    top: 286px;
  }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .gallery-track {
    grid-template-columns: 1fr 1fr;
  }

  .trial-card {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-actions,
  .trust-row,
  .features-grid,
  .gallery-track,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .gallery-btn {
    display: none;
  }

  .contact-form label,
  .contact-form .full {
    grid-column: 1;
  }

  .trial-card {
    padding: 30px;
  }
}
