/**
 * Landing page — section system & UX polish
 * Loaded on front page and marketing pages (no Tailwind build required).
 */

.hero-name__role {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-top: 0.5rem;
  font-weight: 700;
  opacity: 0.92;
}

/* ── Section shell (landing) ─────────────────────────────── */
.arashpro-home-section,
#services,
#how,
#pricing,
#testimonials {
  position: relative;
  z-index: 1;
  padding: 0;
}

.arashpro-section-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.arashpro-home-section--alt {
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.025) 40%, transparent);
}

.arashpro-home-section--cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(0, 229, 255, 0.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04));
}

.section-divider {
  height: 1px;
  max-width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.35), rgba(124, 58, 237, 0.25), transparent);
  opacity: 0.7;
}

/* ── Section headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 760px;
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--c-text);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-desc {
  color: var(--c-muted);
  font-size: clamp(0.92rem, 2vw, 1rem);
  margin-top: 0.9rem;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.9;
}

.section-desc a {
  color: var(--c-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Service cards (links) ───────────────────────────────── */
a.service-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-title {
  color: var(--c-text);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--c-accent);
  transition: gap 0.2s ease;
}

.service-card-link:hover .service-card__cta {
  gap: 0.6rem;
}

/* ── Hero CTA links ──────────────────────────────────────── */
.hero-actions a.btn-primary,
.hero-actions a.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ── Steps ───────────────────────────────────────────────── */
.steps-container {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.15);
}

.step-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
}

.step-title {
  color: var(--c-text);
  font-weight: 800;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-card {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95), rgba(8, 12, 22, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

.testimonial-text {
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.95;
}

.author-name {
  color: var(--c-text);
}

/* ── CTA block (home) ────────────────────────────────────── */
.arashpro-inline-cta--home {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(0, 229, 255, 0.12), transparent 42%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.1), transparent 40%),
    linear-gradient(165deg, rgba(17, 24, 39, 0.98), rgba(8, 12, 22, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow:
    0 28px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.arashpro-inline-cta__glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 68%);
  pointer-events: none;
}

.arashpro-inline-cta__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--c-success);
  font-size: 0.78rem;
  font-weight: 800;
}

.arashpro-inline-cta--home h2 {
  position: relative;
  z-index: 1;
  color: var(--c-text);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.arashpro-inline-cta--home p {
  position: relative;
  z-index: 1;
  color: rgba(226, 232, 240, 0.82);
  margin-top: 1rem;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.95;
  font-size: 0.98rem;
}

.arashpro-inline-cta--home p a {
  color: var(--c-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.arashpro-inline-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.85rem;
}

.arashpro-inline-cta__actions .btn-primary,
.arashpro-inline-cta__actions .btn-secondary {
  min-width: min(100%, 200px);
}

.arashpro-inline-cta__trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.arashpro-inline-cta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.arashpro-inline-cta__trust span::before {
  content: "✓";
  color: var(--c-success);
  font-weight: 900;
}

/* ── Generic inline CTA (service pages) ──────────────────── */
.arashpro-inline-cta:not(.arashpro-inline-cta--home) {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.98), rgba(8, 12, 22, 0.94));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.2);
}

.arashpro-inline-cta:not(.arashpro-inline-cta--home) h2 {
  color: var(--c-text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
}

.arashpro-inline-cta:not(.arashpro-inline-cta--home) p {
  color: var(--c-muted);
  margin-top: 0.85rem;
  line-height: 1.9;
}

/* ── Fade-up fallback (visible without JS) ───────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ── Light theme ─────────────────────────────────────────── */
[data-theme="light"] .arashpro-home-section--alt {
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.04) 40%, transparent);
}

[data-theme="light"] .arashpro-home-section--cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(14, 165, 233, 0.07), transparent 70%),
    linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.03));
}

[data-theme="light"] .section-label {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  color: #0284c7;
}

[data-theme="light"] .section-title,
[data-theme="light"] .service-title,
[data-theme="light"] .step-title,
[data-theme="light"] .author-name,
[data-theme="light"] .arashpro-inline-cta--home h2,
[data-theme="light"] .arashpro-inline-cta:not(.arashpro-inline-cta--home) h2 {
  color: #0f172a;
}

[data-theme="light"] .steps-container {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 50px rgba(148, 163, 184, 0.12);
}

[data-theme="light"] .step-content {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .testimonial-card {
  background: linear-gradient(165deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.12);
}

[data-theme="light"] .testimonial-text,
[data-theme="light"] .arashpro-inline-cta--home p {
  color: #475569;
}

[data-theme="light"] .arashpro-inline-cta--home,
[data-theme="light"] .arashpro-inline-cta:not(.arashpro-inline-cta--home) {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 42%),
    linear-gradient(165deg, #ffffff, #f1f5f9);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 28px 60px rgba(148, 163, 184, 0.16);
}

[data-theme="light"] .arashpro-inline-cta__eyebrow {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

[data-theme="light"] .arashpro-inline-cta__trust {
  border-top-color: rgba(148, 163, 184, 0.18);
}

@media (max-width: 640px) {
  .arashpro-section-shell {
    width: min(1180px, calc(100% - 1.5rem));
    padding: 3.5rem 0;
  }

  .arashpro-inline-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .arashpro-inline-cta__actions .btn-primary,
  .arashpro-inline-cta__actions .btn-secondary {
    width: 100%;
  }
}
