:root {
  --bg: #f4f0e5; /* page background */
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #05633f; /* primary (green) */
  --accent-2: #e9c04e; /* secondary (gold) */
  --glass: rgba(0, 0, 0, 0.04);
}
* {
  box-sizing: border-box;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
}
.body,
body {
  margin: 0;
  background: var(--bg);
  color: #0f1724;
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  background: transparent;
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand .logo {
  font-weight: 700;
  font-size: 20px;
}
.brand .tag {
  font-size: 12px;
  color: var(--muted);
}
.nav a {
  margin-left: 16px;
  color: #0f1724;
  text-decoration: none;
}
.nav a.btn-outline {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
}
/* pricing mobile styles removed */

/* Ensure cards still look nice on small tablets */
@media (min-width: 601px) and (max-width: 900px) {
  .pricing-grid {
    gap: 12px;
  }
}

.hero {
  padding: 52px 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}
.hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 34px;
  margin: 0 0 8px;
}
.lead {
  opacity: 0.95;
  margin: 0 0 18px;
}
.cta-row a {
  display: inline-block;
  margin: 0 8px 0 0;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-art {
  width: 320px;
  flex: 0 0 320px;
}
.mockphone {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
}
.mockscreen {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  height: 420px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.section-title {
  font-size: 22px;
  margin: 28px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
}
.feature h3 {
  margin: 0 0 6px;
}
.muted {
  color: var(--muted);
}

.pricing-sub {
  color: var(--muted);
  margin-bottom: 18px;
}
.pricing-grid {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
  padding: 6px 0;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}
.card {
  position: relative;
  cursor: pointer;
}
.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card .price {
  font-weight: 700;
  color: var(--accent-2);
}
.card-header h3 {
  margin: 0;
}

/* button-like card base for plan selection */
.card-button {
  border: none;
  background: var(--card);
  text-align: right;
  padding: 18px;
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 180px;
}
.card-button:focus {
  outline: 3px solid rgba(5, 99, 63, 0.12);
}
.card-button .check {
  display: none;
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* selected state: gradient background + visible check */
.card-button.selected,
.card-button.recommended.selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: translateY(-6px);
}
.card-button.selected .price {
  color: rgba(255, 255, 255, 0.95);
}
.card-button.selected .check {
  display: flex;
}

/* recommended card is visually prominent by default */
.card-button.recommended {
  box-shadow: 0 12px 32px rgba(5, 99, 63, 0.06);
  border: 2px solid rgba(5, 99, 63, 0.06);
}
.card-button.recommended .price {
  font-weight: 700;
}

.features-list {
  padding-left: 18px;
  margin: 12px 0 18px;
}
.features-list li {
  margin-bottom: 8px;
}
.card .btn-primary,
.card .btn-secondary,
.card .btn-outline {
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
}

/* small responsive tweak: stack cards on narrow screens but keep behavior */
@media (max-width: 600px) {
  .pricing-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px;
  }
  .card-button {
    min-width: 220px;
    flex: 0 0 auto;
  }
}
.card .btn-primary {
  background: var(--accent-2);
  color: #fff;
}
.card .btn-secondary {
  background: #eef2ff;
  color: var(--accent-2);
}
.card .btn-outline {
  border: 1px solid #e5e7eb;
  color: var(--accent-2);
  background: transparent;
}
.card.recommended {
  border: 2px solid rgba(5, 99, 63, 0.12);
}

/* recommended styling removed */

/* card selected state removed */

.contact {
  padding: 36px 0;
}
.site-footer {
  border-top: 1px solid #eef2ff;
  padding: 18px 0;
  background: transparent;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.small {
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-art {
    width: 100%;
    order: 2;
  }
  .hero-text {
    order: 1;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  /* Keep pricing cards in a horizontal row even on narrow screens */
  .pricing-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 6px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-grid .card-button {
    min-width: 200px;
    flex: 0 0 auto;
    font-size: 14px;
    padding: 14px;
  }
  .pricing-grid .card-button .price {
    font-size: 13px;
  }
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .nav a {
    margin-left: 8px;
  }
}

/* plan-details removed */
