:root {
  --green-deep: #0E6B4F;
  --green-mid: #1F9D6C;
  --green-bright: #38C989;
  --green-tint: #EAF8F1;
  --green-line: #CFEEDD;
  --ink: #123527;
  --ink-soft: #4B6B5E;
  --white: #FFFFFF;
  --shadow: 0 20px 45px -20px rgba(14, 107, 79, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'IRANYekan', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
}

/* English-language text (URLs, phone numbers, etc.) */
.lang-en {
  font-family: Arial, Helvetica, sans-serif;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Header ===== */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--green-line);
}

.header-inner {
  display: flex;
  align-items: center;
}

.logo {
  height: 44px;
  width: auto;
}

/* ===== Hero ===== */
.hero {
  background: radial-gradient(circle at 85% 15%, var(--green-tint) 0%, var(--white) 55%);
  padding: 64px 0 40px;
}

.hero-banner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--green-line);
  margin-bottom: 36px;
}

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

/* ===== Site URL under hero image ===== */
.site-url {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 18px auto 36px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--green-deep);
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  animation: url-rise 0.7s ease-out 0.3s forwards, url-glow 2.6s ease-in-out 1.2s infinite;
}

.site-url-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
  animation: dot-pulse 1.6s ease-in-out infinite;
}

.site-url:hover {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

@keyframes url-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes url-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 201, 137, 0.0); }
  50% { box-shadow: 0 0 0 8px rgba(56, 201, 137, 0.12); }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--green-deep);
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--green-deep);
}

.lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 auto 28px;
  max-width: 480px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--green-line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 auto 30px;
  max-width: 480px;
  text-align: right;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-mid);
  white-space: nowrap;
}

.stat-text {
  font-size: 14px;
  color: var(--ink-soft);
}

.cta-inline {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-inline:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

/* ===== Gifts ===== */
.gifts {
  padding: 70px 0 60px;
  text-align: center;
}

.gifts h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--green-deep);
  margin: 0 0 8px;
}

.path-line {
  width: 60px;
  height: 4px;
  background: var(--green-bright);
  border-radius: 4px;
  margin: 0 auto 44px;
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.gift-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  border-radius: 16px;
  padding: 24px;
}

.check {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.gift-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}

.gift-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Signup — cinematic 3D stage ===== */
.signup-stage {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 50% 0%, #14503C 0%, #0a2e22 55%, #061c15 100%);
  perspective: 1400px;
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.stage-glow-a {
  width: 480px;
  height: 480px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 201, 137, 0.55) 0%, rgba(56, 201, 137, 0) 70%);
  animation: glow-sway 7s ease-in-out infinite;
}

.stage-glow-b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  right: 8%;
  background: radial-gradient(circle, rgba(31, 157, 108, 0.45) 0%, rgba(31, 157, 108, 0) 70%);
  animation: glow-sway 9s ease-in-out infinite reverse;
}

@keyframes glow-sway {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-45%, 20px) scale(1.12); }
}

.stage-spotlight {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 200deg at 50% -10%, rgba(255,255,255,0.10), rgba(255,255,255,0) 35%);
  animation: spotlight-sweep 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes spotlight-sweep {
  0% { opacity: 0.5; transform: rotate(0deg); }
  50% { opacity: 0.9; }
  100% { opacity: 0.5; transform: rotate(360deg); }
}

.stage-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.signup-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.signup-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 32px 40px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 90px -10px rgba(56, 201, 137, 0.35);
  transform: rotateX(3deg);
  transform-style: preserve-3d;
  animation: box-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes box-rise {
  from { opacity: 0; transform: translateY(40px) rotateX(3deg) scale(0.96); }
  to { opacity: 1; transform: translateY(0) rotateX(3deg) scale(1); }
}

/* ===== Owl mascot ===== */
.owl-perch {
  position: absolute;
  top: -78px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  z-index: 2;
}

.owl-shadow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 70px;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 72%);
  animation: shadow-pulse 3.4s ease-in-out infinite;
}

.owl {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 20px rgba(6, 40, 28, 0.45));
  animation: owl-float 3.4s ease-in-out infinite;
  transform-origin: 50% 100%;
}

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

@keyframes shadow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.35; }
}

.owl-wing-left {
  transform-origin: 66px 122px;
  animation: wing-wave-left 3.2s ease-in-out infinite;
}

.owl-wing-right {
  transform-origin: 154px 122px;
  animation: wing-wave-right 3.2s ease-in-out infinite 0.2s;
}

@keyframes wing-wave-left {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-9deg); }
}

@keyframes wing-wave-right {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(9deg); }
}

.owl-pupil {
  animation: pupil-look 4.5s ease-in-out infinite;
}

@keyframes pupil-look {
  0%, 15% { transform: translate(0, 0); }
  25%, 35% { transform: translate(-3px, 1px); }
  50%, 60% { transform: translate(3px, -2px); }
  75%, 100% { transform: translate(0, 0); }
}

.owl-lid {
  transform-origin: 50% 0%;
  transform: scaleY(0);
  animation: owl-blink 4.5s ease-in-out infinite;
}

.owl-lid-right {
  animation-delay: 0.05s;
}

@keyframes owl-blink {
  0%, 92%, 100% { transform: scaleY(0); }
  95% { transform: scaleY(1); }
}

.owl-bubble {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.35);
  white-space: nowrap;
  animation: bubble-pop 3.4s ease-in-out infinite;
}

.owl-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@keyframes bubble-pop {
  0%, 12% { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.9); }
  20%, 70% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  85%, 100% { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.9); }
}

@media (max-width: 520px) {
  .owl-perch {
    width: 118px;
    top: -60px;
  }
  .owl-bubble {
    font-size: 11px;
    top: -26px;
  }
  .signup-box {
    padding-top: 46px;
  }
}

.signup-box h2 {
  font-size: 24px;
  color: var(--green-deep);
  margin: 0 0 8px;
}

.signup-box > p {
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-size: 14px;
}

.signup-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signup-box input[type="tel"] {
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid var(--green-line);
  border-radius: 10px;
  text-align: center;
  direction: ltr;
  background: var(--green-tint);
}

.signup-box input[type="tel"]:focus {
  outline: none;
  border-color: var(--green-mid);
}

.signup-box button {
  padding: 14px;
  font-size: 17px;
  font-weight: 700;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.signup-box button:hover {
  background: var(--green-deep);
}

#message {
  margin: 16px 0 0;
  font-size: 14px;
  min-height: 20px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--green-line);
}

.logo-footer {
  margin: 0 auto 10px;
}

.site-footer p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .gift-list {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 30px;
  }
  .stat-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
