/* Vilamarket AI — Corporate Landing Styles */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #0d7a4f;
  --color-primary-dark: #065f3c;
  --color-primary-deep: #04452b;
  --color-primary-soft: #e8f5ef;
  --color-primary-muted: #b7e0cb;
  --color-accent: #1a9b68;
  --color-bg: #f7faf8;
  --color-surface: #ffffff;
  --color-text: #15231c;
  --color-text-secondary: #4a5c53;
  --color-muted: #6b7c73;
  --color-border: #dce6e0;
  --color-border-soft: #eef3f0;
  --color-success: #0d7a4f;
  --color-warning: #9a6b1f;
  --shadow-sm: 0 1px 2px rgba(21, 35, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(21, 35, 28, 0.06);
  --shadow-lg: 0 18px 48px rgba(21, 35, 28, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1120px;
  --header-h: 72px;
  --font: "Vazirmatn", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(13, 122, 79, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text);
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 250, 248, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text);
  flex-shrink: 0;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle-bars {
  width: 18px;
  height: 12px;
  position: relative;
}

.menu-toggle-bars span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 5px; }
.menu-toggle-bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 122, 79, 0.22);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary-dark);
  border-color: rgba(13, 122, 79, 0.22);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--color-primary-deep);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(167, 243, 208, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(13, 122, 79, 0.08), transparent 50%),
    linear-gradient(165deg, #f4faf7 0%, #eaf5ef 42%, #f8fbf9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 122, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 122, 79, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.hero-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: clamp(2rem, 4vh, 3rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.78fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-wrap: balance;
  animation: rise-in 0.75s var(--ease) both;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: var(--color-text-secondary);
  margin-bottom: 1.6rem;
  animation: rise-in 0.75s var(--ease) 0.08s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise-in 0.75s var(--ease) 0.16s both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rise-in 0.85s var(--ease) 0.12s both;
}

.phone-mockup {
  position: relative;
  width: min(100%, 252px);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 62%;
  inset-inline-start: 11%;
  top: 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 122, 79, 0.12), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.phone-frame {
  position: relative;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #1c2420 0%, #0f1613 100%);
  box-shadow:
    0 14px 30px rgba(15, 35, 26, 0.1),
    0 4px 12px rgba(15, 35, 26, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 16px;
  border-radius: 999px;
  background: #0a0f0d;
  z-index: 2;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 23px;
  background: #eef3f0;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.tg-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1a2420;
}

.tg-statusbar-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.tg-signal,
.tg-wifi,
.tg-battery {
  display: block;
  background: #1a2420;
}

.tg-signal {
  width: 12px;
  height: 8px;
  clip-path: polygon(0 100%, 25% 60%, 25% 100%, 50% 35%, 50% 100%, 75% 15%, 75% 100%, 100% 0, 100% 100%, 0 100%);
}

.tg-wifi {
  width: 11px;
  height: 8px;
  border-radius: 50% 50% 0 0;
  background: transparent;
  border: 1.5px solid #1a2420;
  border-bottom: 0;
  box-sizing: border-box;
}

.tg-battery {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.2px #1a2420;
  background:
    linear-gradient(#1a2420, #1a2420) 1.5px 1.5px / 9px 5px no-repeat,
    transparent;
  position: relative;
}

.tg-battery::after {
  content: "";
  position: absolute;
  inset-inline-end: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: #1a2420;
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem 0.7rem;
  background: linear-gradient(180deg, #0d7a4f 0%, #0a6a44 100%);
  color: #fff;
}

.tg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tg-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.tg-status {
  font-size: 0.68rem;
  opacity: 0.85;
}

.tg-chat {
  flex: 1;
  padding: 0.85rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(13, 122, 79, 0.04), transparent 40%),
    #e8efeA;
}

.tg-bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(15, 35, 26, 0.05);
}

.tg-bubble-bot {
  align-self: flex-start;
  background: #fff;
  color: var(--color-text);
  border-start-start-radius: 4px;
}

.tg-bubble-user {
  align-self: flex-end;
  background: #0d7a4f;
  color: #fff;
  border-start-end-radius: 4px;
}

.tg-bubble-result {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tg-bubble-result strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.tg-bubble-result span {
  color: var(--color-muted);
  font-size: 0.7rem;
}

.tg-menu {
  display: grid;
  gap: 0.35rem;
  margin: 0.1rem 0 0.15rem;
}

.tg-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(13, 122, 79, 0.12);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 35, 26, 0.04);
}

.tg-menu-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.tg-composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem 0.7rem;
  background: #f7faf8;
  border-top: 1px solid rgba(13, 122, 79, 0.08);
}

.tg-composer-input {
  flex: 1;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.72rem;
}

.tg-composer-send {
  flex-shrink: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.feature-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-item:hover {
  border-color: var(--color-primary-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
}

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

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.feature-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.6rem 1.4rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step::before {
  counter-increment: step;
  content: counter(step, persian);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
}

/* Advisors */
.advisors {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.advisors-copy h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.advisors-copy p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.advisors-panel {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #0d7a4f 0%, #065f3c 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.advisors-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  inset-inline-end: -40px;
  top: -40px;
}

.advisors-panel h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
}

.advisors-list {
  display: grid;
  gap: 0.85rem;
  position: relative;
}

.advisors-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.advisors-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #a7f3d0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 1.25rem;
  justify-content: start;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.price-card:hover {
  box-shadow: var(--shadow-md);
}

.price-card.is-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md);
  background:
    linear-gradient(180deg, #f3faf6 0%, #ffffff 38%);
}

.price-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.price-card h3 {
  font-size: 1.35rem;
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
}

.price-features {
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
}

.price-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' stroke='%230d7a4f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat,
    var(--color-primary-soft);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.trust-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.trust-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-inline-end: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--color-text-secondary);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(167, 243, 208, 0.28), transparent 55%),
    linear-gradient(180deg, #eef7f2 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border-soft);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 40rem;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

.prose {
  max-width: 760px;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-text-secondary);
  margin-bottom: 0.85rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  list-style: disc;
}

.prose ol {
  list-style: persian;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.todo-note {
  display: block;
  margin: 0.75rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff8e8;
  border: 1px dashed #d4a84b;
  color: #6d5218;
  font-size: 0.95rem;
}

.contact-placeholders {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-item {
  padding: 1.2rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-item h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.contact-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #0b2f22;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.25rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.15rem;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-support {
  margin-top: 0.85rem;
}

.footer-support a {
  color: #fff;
  font-weight: 600;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.footer-support a:hover {
  color: #a7f3d0;
}

.contact-item a[href^="tel:"],
.contact-item a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.footer-col h2 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
  }

  .nav .btn {
    width: 100%;
  }

  .advisors,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    max-width: none;
  }

  .phone-mockup {
    width: min(100%, 270px);
  }

  .phone-screen {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-inner {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .phone-mockup {
    width: min(100%, 250px);
  }

  .phone-screen {
    min-height: 450px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
