/**
 * Xprees GiftCard — Landing Page & Auth Styles
 */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
}
.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
}
.nav-links a { transition: color var(--dur-fast); }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-pill {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 2px;
  font-size: 11px;
}
.lang-pill a {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: var(--mut);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-pill a.on { background: var(--inv); color: var(--invfg); }

/* Hero */
.hero-sec {
  position: relative;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  margin: 0;
  position: relative;
  overflow: hidden;
  animation: xgc-rise 0.9s var(--ease-rise) both;
}
.hero-title em { display: block; font-style: italic; color: var(--fg-soft); }
.hero-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  animation: xgc-sweep 1.8s 0.7s var(--ease-sweep) forwards;
  pointer-events: none;
}
.hero-desc {
  max-width: 540px;
  margin: 0;
  color: var(--mut);
  font-size: 15.5px;
  line-height: 1.75;
  animation: xgc-rise 0.9s 0.18s var(--ease-rise) both;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  animation: xgc-rise 0.9s 0.32s var(--ease-rise) both;
}
.g-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  flex: none;
}

/* Phone Mockup in Hero */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  animation: xgc-rise 1s 0.25s var(--ease-rise) both;
}
.phone-bezel {
  width: min(306px, 84vw);
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 11px;
  background: #060606;
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--sh-lg);
  position: relative;
  animation: xgc-float 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 18px;
  border-radius: 99px;
  background: #000;
  z-index: 15;
  border: 1px solid #1e1e1e;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #0d0d0d;
  border: 1px solid #1d1d1d;
}

/* Sections */
.sec { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin-bottom: 44px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

/* Features Grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur-med) var(--ease-pop), border-color var(--dur-fast);
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--fg); }
.feat-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  display: grid;
  place-items: center;
}
.feat-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.feat-card p { margin: 0; color: var(--mut); font-size: 13.5px; line-height: 1.65; }

/* 3 Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--mut);
  line-height: 1;
}
.step-card h3 { margin: 0; font-size: 16px; font-weight: 400; letter-spacing: 0.04em; }
.step-card p { margin: 0; color: var(--mut); font-size: 13.5px; }

/* Example Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ex-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-fast), transform var(--dur-med) var(--ease-pop);
}
.ex-card:hover { border-color: var(--fg); transform: translateY(-3px); }
.ex-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 0);
  background-size: 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.ex-thumb strong { font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.ex-meta {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--mut);
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  min-height: 54px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 400;
}
.faq-q svg { transition: transform var(--dur-fast); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease-pop);
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--mut); font-size: 13.5px; }

/* Final CTA & Footer */
.cta-sec { padding: 84px 0; text-align: center; }
.cta-box {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-xl);
  padding: 54px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 40px); font-weight: 400; margin: 0; }
.cta-box p { margin: 0; color: var(--mut); max-width: 480px; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--mut);
  font-size: 12.5px;
}
.site-foot .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Auth / Login Centered Card */
.auth-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}
.auth-card {
  width: min(440px, 100%);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  box-shadow: var(--sh-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: xgc-pop 0.45s var(--ease-pop);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
}
.auth-card p { margin: 0; color: var(--mut); font-size: 13.5px; }
.auth-alert {
  width: 100%;
  border: 1px dashed var(--fg);
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg);
  text-align: left;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { align-items: center; }
  .feat-grid, .steps-grid, .gallery-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
