:root {
  --purple: #7c3aed;
  --orange: #f97316;
  --pink: #ec4899;
  --green: #22c55e;
  --blue: #3b82f6;
  --ink: #0f172a;
  --muted: #64748b;
  --surface: rgba(255, 255, 255, 0.72);
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(59, 130, 246, 0.06), transparent),
    linear-gradient(180deg, #fafbff 0%, #ffffff 40%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.25rem 2rem;
  overflow-x: hidden;
}

/* Decorative wing shapes inspired by the logo */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.wing {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.wing-1 {
  width: 280px;
  height: 120px;
  top: 8%;
  left: 10%;
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  animation-delay: 0s;
}

.wing-2 {
  width: 220px;
  height: 100px;
  top: 14%;
  right: 12%;
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  animation-delay: -4s;
}

.wing-3 {
  width: 200px;
  height: 90px;
  top: 28%;
  left: 35%;
  background: linear-gradient(135deg, var(--pink), #f472b6);
  animation-delay: -8s;
}

.wing-4 {
  width: 240px;
  height: 110px;
  bottom: 30%;
  right: 8%;
  background: linear-gradient(135deg, var(--green), #86efac);
  animation-delay: -12s;
}

.wing-5 {
  width: 300px;
  height: 130px;
  bottom: 10%;
  left: 5%;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to   { transform: translate(24px, -16px) rotate(4deg) scale(1.05); }
}

.hero,
.apps,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(59, 130, 246, 0.18));
  margin-bottom: 0.75rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

.apps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: var(--radius) 0 0 var(--radius);
  opacity: 0.9;
}

.app-eczane::before  { background: linear-gradient(180deg, var(--purple), #a78bfa); }
.app-airport::before { background: linear-gradient(180deg, var(--blue), #60a5fa); }
.app-fly::before     { background: linear-gradient(180deg, var(--orange), #fbbf24); }
.app-voip::before    { background: linear-gradient(180deg, var(--green), #86efac); }

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.12);
}

.app-card:active {
  transform: translateY(-1px);
}

.app-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px var(--border);
}

.app-body {
  flex: 1;
  min-width: 0;
}

.app-body h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.app-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.app-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: var(--muted);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.app-card:hover .app-arrow {
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  transform: translateX(-4px);
}

.site-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  body {
    padding-top: 1.75rem;
  }

  .app-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .app-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
}
