/*
  Trendy Menu — marketing landing page styles.
  Plain CSS, mobile-first, no animation/transform keyframes.
*/

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/landing/fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/landing/fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-900: #1a1f2b;
  --navy-800: #262c3a;
  --navy-700: #3a4152;
  --navy-100: #e7e9ed;
  --green-700: #056029;
  --green-600: #077934;
  --green-500: #0d9146;
  --green-50: #eaf7ee;
  --gray-50: #f7f9fb;
  --gray-100: #eef1f4;
  --gray-200: #e2e6ea;
  --gray-400: #9aa3b2;
  --gray-500: #64748b;
  --white: #ffffff;
  --text: #262c3a;
  --text-muted: #5b6472;
  --radius: 10px;
  --container-width: 1140px;
  --shadow-card: 0 1px 3px rgba(26, 31, 43, 0.08), 0 1px 2px rgba(26, 31, 43, 0.06);
  --border: 1px solid var(--gray-200);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
}

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

h1, h2, h3 {
  color: var(--navy-900);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-100);
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  padding: 10px 16px;
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-block {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
}

.site-nav a:hover {
  color: var(--green-600);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  border-top: var(--border);
  padding: 14px 0 18px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.mobile-panel nav a {
  padding: 10px 4px;
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-panel .header-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hero */

.hero {
  background: var(--gray-50);
  padding: 48px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 640px;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-ctas .btn {
  width: 100%;
}

.hero-demo-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-200);
}

.hero-demo-link:hover {
  color: var(--green-700);
}

.hero-visual {
  width: 100%;
  max-width: 240px;
}

/* Hero product screenshot */

.hero-device-img {
  width: 100%;
  height: auto;
}

/* Value strip */

.value {
  padding: 40px 0;
  border-bottom: var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-item strong {
  display: block;
  font-size: 15px;
  color: var(--navy-900);
}

/* Feature highlight (single, large screenshot) */

.highlight {
  background: var(--white);
}

.highlight-inner {
  text-align: center;
}

.highlight-shot {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(26, 31, 43, 0.18);
}

/* Showcase (scroll-driven feature walkthrough) */

.showcase {
  background: var(--gray-50);
  border-top: var(--border);
  border-bottom: var(--border);
}

.showcase-grid {
  display: block;
}

.showcase-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.showcase-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.showcase-step p {
  color: var(--text-muted);
  font-size: 15px;
}

.showcase-step-media {
  margin-top: 18px;
}

.showcase-shot {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(26, 31, 43, 0.2));
  margin: 0 auto;
}

.showcase-shot-flat {
  border-radius: 16px;
  filter: none;
  box-shadow: 0 14px 28px rgba(26, 31, 43, 0.16);
}

.showcase-visual {
  display: none;
}

/* Shared "mock" UI card used for Variants / Performance */

.variants-mock,
.perf-mock {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  border: var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.popup-mock-image {
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 14px;
  background: var(--green-50);
  margin-bottom: 6px;
}

.popup-mock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.popup-mock-price {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 16px;
}

.popup-mock-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.variants-mock-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-900);
}

.variants-mock-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-pill {
  border: var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.variant-pill em {
  font-style: normal;
  color: var(--gray-400);
  font-size: 11px;
}

.variant-pill.is-selected {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}

.variant-pill.is-selected em {
  color: var(--green-700);
}

.perf-mock {
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  gap: 6px;
}

.perf-mock-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.perf-mock-icon svg {
  width: 26px;
  height: 26px;
}

.perf-mock-stat {
  font-size: 34px;
  color: var(--navy-900);
  font-weight: 700;
}

.perf-mock-stat small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-inline-start: 6px;
}

.perf-mock-label {
  color: var(--text-muted);
  font-size: 14px;
}

/* Screenshot grid (secondary features) */

.grid-section {
  background: var(--gray-50);
  border-top: var(--border);
  border-bottom: var(--border);
}

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.grid-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.grid-card-icon svg {
  width: 22px;
  height: 22px;
}

.grid-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.grid-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.grid-card-shot picture,
.grid-card-shot img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* Pricing */

.pricing {
  background: var(--gray-50);
  border-top: var(--border);
  border-bottom: var(--border);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 36px;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.is-active {
  background: var(--navy-800);
  color: var(--white);
}

.toggle-save {
  background: var(--green-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.price-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border: 2px solid var(--green-600);
  position: relative;
}

.price-badge {
  align-self: flex-start;
  background: var(--green-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.price-card .price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.price-amount .amount {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy-900);
}

.price-amount .period {
  color: var(--text-muted);
  font-size: 14px;
}

.price-note {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: -14px;
  margin-bottom: 16px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-800);
  list-style: none;
}

.price-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green-600);
  margin-top: 2px;
}

/* Final CTA */

.final-cta {
  background: var(--navy-800);
  color: var(--white);
}

.final-cta-inner {
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--navy-100);
  max-width: 560px;
  margin: 0 auto 26px;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.final-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.final-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */

.site-footer {
  background: var(--gray-50);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}

.footer-brand .brand-logo {
  height: 30px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col .footer-link {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--green-600);
}

.office {
  margin-bottom: 16px;
}

.office strong {
  display: block;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.office span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.office a {
  display: inline-block;
  padding: 0;
  font-size: 13px;
  color: var(--green-700);
  direction: ltr;
}

.office a + a {
  margin-inline-start: 10px;
}

.footer-bottom {
  border-top: var(--border);
  padding: 18px 0;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 13px;
  text-align: center;
}

/* Tablet and up */

@media (min-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .site-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-panel {
    display: none !important;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-inner {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .hero-content {
    text-align: right;
    max-width: 520px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .hero-ctas .btn {
    width: auto;
  }

  .hero-visual {
    max-width: 280px;
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-item {
    flex-direction: column;
    text-align: center;
  }

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .final-cta-actions {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero h1 {
    font-size: 42px;
  }

  /* Showcase becomes a sticky, scroll-driven two-column layout on desktop */

  .showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .showcase-steps {
    gap: 0;
    padding-block: 12vh;
  }

  .showcase-step {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.2s ease;
  }

  .showcase-step.is-active {
    opacity: 1;
  }

  .showcase-step-media {
    display: none;
  }

  .showcase-visual {
    display: block;
    position: sticky;
    top: 96px;
  }

  .showcase-visual-inner {
    position: relative;
    width: min(360px, 100%);
    height: 420px;
    margin: 0 auto;
  }

  .showcase-frame {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(6px);
  }

  .showcase-frame.is-active {
    opacity: 1;
    transform: translateY(0);
  }
}
