/* ============================================
   GiftCard HN — Sections
   ============================================ */

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0.75rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  white-space: nowrap;
}

.navbar__brand-icon {
  font-size: 1.6rem;
}

.navbar__brand-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.navbar__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.navbar__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.navbar__mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.navbar__mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  z-index: var(--z-sticky);
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease;
}

.navbar__mobile-menu.active {
  display: flex;
}

.navbar__mobile-link {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.navbar__mobile-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__mobile-toggle {
    display: flex;
  }

  .navbar__actions .btn {
    display: none;
  }
}

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Floating Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.15);
  top: 10%;
  left: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.12);
  top: 50%;
  right: -50px;
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: rgba(245, 158, 11, 0.1);
  bottom: 10%;
  left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold-light);
  margin-bottom: var(--space-xl);
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__cards-stack {
  position: relative;
  width: 380px;
  height: 260px;
}

.hero__floating-card {
  position: absolute;
  width: 340px;
  height: 210px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero__floating-card--1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: 0;
  left: 0;
  z-index: 3;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero__floating-card--2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  top: 20px;
  left: 25px;
  z-index: 2;
  animation: floatSlow 8s ease-in-out infinite 0.5s;
  opacity: 0.7;
}

.hero__floating-card--3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  top: 40px;
  left: 50px;
  z-index: 1;
  animation: floatSlow 8s ease-in-out infinite 1s;
  opacity: 0.4;
}

.hero__floating-card-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero__floating-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.hero__floating-card-amount {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
}

.hero__floating-card-store {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__cards-stack {
    width: 300px;
    height: 220px;
  }

  .hero__floating-card {
    width: 280px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero__cards-stack {
    width: 260px;
    height: 200px;
  }

  .hero__floating-card {
    width: 250px;
    height: 160px;
  }
}

/* ============ STORES SECTION ============ */
.stores {
  background: var(--bg-secondary);
  position: relative;
}

.stores::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.stores__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.stores__header-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .stores__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  position: relative;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.how-it-works__header-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold), var(--accent-emerald));
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.step__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  transition: all var(--transition-base);
}

.step:nth-child(1) .step__icon {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
}

.step:nth-child(2) .step__icon {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.step:nth-child(3) .step__icon {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.step__number {
  position: absolute;
  top: -10px;
  right: calc(50% - 60px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.step__description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
}

@media (max-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .how-it-works__steps::before {
    display: none;
  }
}

/* ============ TESTIMONIALS / TRUST ============ */
.trust {
  background: var(--bg-secondary);
  position: relative;
}

.trust__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.trust__counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: var(--space-3xl);
}

.trust__badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .trust__counters {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============ FAQ ============ */
.faq {
  position: relative;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq__header-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

.faq__list {
  max-width: 750px;
  margin: 0 auto;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.footer__brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__about {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.footer__link {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent-blue-light);
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ SECTION DIVIDER ============ */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin: var(--space-md) auto 0;
}

/* ============ TRUST / PAYMENT BADGES ============ */
.trust-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 25, 50, 0.8) 50%, var(--bg-primary) 100%);
  position: relative;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.trust-section__title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.trust-section__lock {
  font-size: 1.2rem;
}

/* Payment network badges (Visa, MC, Amex, etc.) */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

.payment-badge {
  width: 90px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.payment-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(102, 126, 234, 0.15);
}

.payment-badge__svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Security certification badges */
.trust-security {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.trust-security__badge {
  width: 100px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: default;
  opacity: 0.7;
}

.trust-security__badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-security__badge svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .payment-badges {
    gap: 0.6rem;
  }

  .payment-badge {
    width: 72px;
    height: 46px;
    padding: 6px;
  }

  .trust-security__badge {
    width: 80px;
    height: 36px;
  }
}
