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

:root {
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --teal-soft: #ecfdf5;
  --teal-muted: #99f6e4;
  --bg: #fafaf7;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(20, 184, 166, 0.08);
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

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

/* soft background blobs — like Rahna hero */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--teal-muted);
  opacity: 0.25;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-blob-2 {
  width: 400px;
  height: 400px;
  background: #a7f3d0;
  opacity: 0.18;
  bottom: -100px;
  right: -80px;
}

/* header */
.header {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.brand img {
  display: block;
}

/* main hero — centered like Rahna landing */
.main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
}

.hero {
  width: min(640px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fade-in 0.8s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* typography */
h1 {
  font-size: clamp(1.75rem, 5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.brand-word {
  display: block;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.85;
}

/* logo */
.logo-area {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  margin: 0.5rem 0;
}

.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(20, 184, 166, 0.15);
  border-top-color: var(--teal);
  animation: spin 3s linear infinite;
}

.logo-shine {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
}

.logo-img {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* feature pills — Rahna style trust row */
.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding: 0;
}

.features li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.features svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

/* CTA button — Rahna primary style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--teal);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

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

/* footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .features {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .logo-area {
    width: 140px;
    height: 140px;
  }

  .logo-img {
    width: 80px;
    height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
