:root {
  /* ============================================================================
       SHIMMER CONTROL PANEL
       Set these to 'none' to disable, or keep default to enable
       ============================================================================ */
  --shimmer-global: global-shimmer 12s infinite ease-in-out;
  /* Background sweep */
  --shimmer-cards: none;
  /* Disabled per user request */
  --shimmer-rotate: rotate-metallic 30s linear infinite;
  /* Rotating texture */

  /* Colors - Metallic Silver Pro (Softer Edition) */
  --bg-page: #0a0a0b;
  --bg-surface: #121214;
  --bg-surface-hover: #1a1a1d;
  --bg-input: #1c1c1f;

  --border-color: rgba(255, 255, 255, 0.06);
  --border-highlight: rgba(255, 255, 255, 0.2);

  /* Silver Metallic Palette */
  --silver-main: #e2e2e2;
  --silver-bright: #ffffff;
  --silver-dark: #71717a;
  --silver-metallic: linear-gradient(
    135deg,
    #ffffff 0%,
    #d4d4d8 40%,
    #71717a 100%
  );

  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #52525b;
  --text-inverse: #000000;

  /* Decoration */
  --radius-pill: 9999px;
  --radius-card: 24px;

  /* Layout */
  --container-width: 1100px;
  --header-height: 80px;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ============================================================================
   STATIC BACKGROUND (Liquid Silver Shimmer)
   ============================================================================ */
.bg-gradient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: #0a0a0b;
  overflow: hidden;
  pointer-events: none;
}

/* Base metallic texture */
.bg-gradient-mesh::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    );
  filter: blur(80px);
  animation: var(--shimmer-rotate);
}

/* The sweeping silver shimmer */
.bg-gradient-mesh::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.03) 48%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 52%,
    transparent 55%
  );
  transform: rotate(-15deg);
  animation: var(--shimmer-global);
}

/* Subtle grain for brushed metal feel */
.bg-gradient-mesh-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes global-shimmer {
  0% {
    transform: translate(-30%, -30%) rotate(-15deg);
  }

  50% {
    transform: translate(10%, 10%) rotate(-15deg);
  }

  100% {
    transform: translate(-30%, -30%) rotate(-15deg);
  }
}

@keyframes rotate-metallic {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--silver-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary,
.btn-login-desktop {
  background: #ffffff;
  color: #000000 !important;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-primary::before,
.btn-login-desktop::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover::before,
.btn-login-desktop:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-login-desktop:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 5px 25px rgba(255, 255, 255, 0.4);
}

.btn-login {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.btn-large ion-icon {
  transition: transform 0.3s ease;
}

.btn-large:hover ion-icon {
  transform: translateX(4px);
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 968px) {
  .hero-cta-group {
    align-items: center;
  }

  .store-badges {
    justify-content: center;
  }
}

.store-btn {
  height: 48px;
  transition: transform 0.2s ease;
}

.store-btn:hover {
  transform: scale(1.05);
}

.store-btn img {
  height: 100%;
  opacity: 0.9;
}

.store-btn:hover img {
  opacity: 1;
}

/* ============================================================================
   NAVBAR & MOBILE MENU
   ============================================================================ */

/* Adjust Nav Transparency here:
   rgba(red, green, blue, alpha)
   - alpha = 0 is invisible, 1 is solid
*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 11, 0.3);
  /* Softer black with slight transparency */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 2000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Adjust Logo Size here: 
   Change height value (px) to make it larger or smaller
*/
.logo-img {
  height: 30px;
  /* Increased from 22px */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Standard 3-Line Toggle (Phone View) */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 2100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hamburger Active State: X transformation */
.menu-toggle.active .line-1 {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .line-2 {
  opacity: 0;
  transform: translateX(10px);
}

.menu-toggle.active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Floating Card (Appit Inspired) */
.mobile-overlay {
  position: fixed;
  top: 88px;
  right: 24px;
  width: 260px;
  padding: 32px;
  background: rgba(18, 18, 20, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.mobile-overlay a {
  font-size: 1.1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-overlay a:hover {
  color: var(--text-primary);
}

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

  .menu-toggle {
    display: flex;
  }
}

/* ============================================================================
   STATISTICS (Horizontal Endless Scroll)
   ============================================================================ */

.stats-section {
  padding: 120px 0;
  overflow: hidden;
}

.stats-scroll-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.stats-track {
  display: flex;
  gap: 80px;
  padding: 10px 0;
  animation: scroll-stats 25s linear infinite;
  white-space: nowrap;
}

.stat-item {
  flex-shrink: 0;
  width: 280px;
  text-align: center;
}

.stat-item h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: normal;
}

@keyframes scroll-stats {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 2));
  }
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.hero {
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 550px;
  margin-bottom: 40px;
}

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

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  animation: float 6s ease-in-out infinite;
}

.hero-mockup {
  width: 100%;
  height: auto;
  border-radius: 40px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  position: relative;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  filter: blur(60px);
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 968px) {
  .hero {
    padding: 120px 0 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero p {
    margin: 0 auto 32px;
  }

  .hero-visual {
    margin-top: -20px;
    z-index: 10;
  }

  .mockup-container {
    max-width: 500px;
    width: 110%;
    /* Break the container slightly */
    margin-left: -5%;
    animation: float-mobile 6s ease-in-out infinite;
  }

  @keyframes float-mobile {
    0%,
    100% {
      transform: translateY(0) scale(1);
    }

    50% {
      transform: translateY(-15px) scale(1.02);
    }
  }
}

.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-header .badge-pill {
  margin-bottom: 16px;
}

.stats-section {
  padding: 60px 0 100px;
  margin-top: -40px;
  /* Overlap with hero mockup */
  position: relative;
  z-index: 20;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.02);
  /* Near total transparency */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Global Shimmering Border Style - Removed per user request */
/* .bento-card::after, .price-card::after block was here */

.bento-card:hover,
.price-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  /* Subtle light hover instead of dark */
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 255, 255, 0.1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper ion-icon {
  font-size: 26px;
  color: #ffffff;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.price-card {
  background: rgba(255, 255, 255, 0.02);
  /* Near total transparency */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-card.featured {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  /* Drastically reduced featured background */
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.price-card.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

@media (max-width: 968px) {
  .price-card.featured {
    transform: scale(1);
  }

  .price-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

.popular-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e2e2 100%);
  color: #000000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes shimmer {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(30%, 30%) rotate(0deg);
  }
}

.price-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.price-tag {
  font-size: 3rem;
  font-weight: 800;
  margin: 24px 0;
}

.price-tag span {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.feature-list {
  margin-bottom: 40px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-item ion-icon {
  color: var(--text-secondary);
  font-size: 20px;
  flex-shrink: 0;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 24px;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-card {
    padding: 60px 32px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 24px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-credit a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--text-primary);
}

@media (max-width: 968px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   LOADING SPINNER
   ============================================================================ */
.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

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

/* ============================================================================
   DASHBOARD & MODALS
   ============================================================================ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 800px;
  padding: 60px;
  position: relative;
  border-radius: var(--radius-card);
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--text-primary);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.plan-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.plan-card.featured {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.plan-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 20px 0;
}

.plan-card .price span {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.plan-features {
  text-align: left;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features li ion-icon {
  color: #4ade80;
}

.select-plan-btn,
.buy-gem-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.select-plan-btn:hover,
.buy-gem-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Gems Grid */
.gems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gem-pack {
  background: rgba(0, 242, 255, 0.03);
  border: 1px solid rgba(0, 242, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.gem-pack:hover {
  background: rgba(0, 242, 255, 0.06);
  border-color: rgba(0, 242, 255, 0.3);
  transform: translateY(-5px);
}

.gem-pack img {
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.gem-pack h3 {
  margin-bottom: 8px;
}

.gem-pack .price {
  color: #00f2ff;
  font-weight: 700;
  margin-bottom: 20px;
}

.buy-gem-btn {
  background: #00f2ff;
  color: #000;
}

.hidden {
  display: none !important;
}

.glass-card {
  background: rgba(18, 18, 20, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}
