* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F0F0F;
  color: #FFFFFF;
  line-height: 1.6;
}

.plans-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px;
}

/* Header - Base (desktop) */
.plans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #1A1A1A;
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #00FF99;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-placeholder {
  width: 42px;
  height: 42px;
  background-color: #1A1A1A;
  border-radius: 50%;
  border: 2px solid #00FF99;
}

/* Nav */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00FF99;
}

/* Auth button */
.auth-btn {
  color: #00FF99;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 20px;
  border: 2px solid #00FF99;
  border-radius: 25px;
  background: linear-gradient(90deg, rgba(0,255,153,0.1), rgba(0,204,128,0.1));
  transition: all 0.3s ease;
  white-space: nowrap;
}

.auth-btn:hover {
  background: linear-gradient(90deg, #00FF99, #00CC80);
  color: #0F0F0F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,255,153,0.3);
}

/* ────────────────────────────────────────────────
   MOBILE ONLY (max-width: 768px) - Your exact request
───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .plans-header {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    gap: 12px;
  }

  /* Top row: TitanVaults (left) + Sign In (right) */
  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo {
    margin: 0;
  }

  .logo-placeholder {
    display: none; /* Remove circle on mobile */
  }

  .logo-text {
    font-size: 22px;
  }

  /* Sign In button on top row (right side) */
  .auth-section {
    margin: 0;
  }

  .auth-btn {
    font-size: 14px;
    padding: 7px 16px;
  }

  /* Bottom row: Nav links - horizontal, one line */
  .nav-menu {
    width: 100%;
  }

  .nav-menu ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    padding: 8px 0;
  }

  .nav-menu a {
    font-size: 14px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
}

/* Extra small screens - still horizontal, tighter */
@media (max-width: 480px) {
  .logo-text {
    font-size: 20px;
  }

  .auth-btn {
    font-size: 13px;
    padding: 6px 14px;
  }

  .nav-menu ul {
    gap: 8px;
    font-size: 13px;
  }
}



/* Hero */
.plans-hero {
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  color: #00FF99;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #aaa;
  max-width: 720px;
  margin: 0 auto;
}

/* Rest of your original CSS (hero, plans-grid, cards, footer, etc.) remains unchanged */
/* Plans Section */
.plans-section {
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.plan-card {
  background: #1A1A1A;
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,255,153,0.12);
  border-color: #00FF99;
}

.plan-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, #111, #1a1a1a);
  border-bottom: 1px solid #333;
  position: relative;
}

.plan-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.beginner { background: #2a4a2a; color: #9fff9f; }
.popular-badge { background: #00FF99; color: #0F0F0F; font-weight: 700; }
.premium { background: #3a2a4a; color: #d4a5ff; }

.plan-price {
  padding: 32px 28px 20px;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #00FF99;
}

.plan-price .currency {
  font-size: 28px;
  vertical-align: top;
  margin-right: 4px;
}

.plan-price .period {
  display: block;
  font-size: 16px;
  color: #888;
  margin-top: 8px;
  font-weight: 400;
}

.plan-features ul {
  list-style: none;
  padding: 0 28px 28px;
}

.plan-features li {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #ddd;
}

.plan-features i {
  color: #00FF99;
}

.plan-cta {
  display: block;
  margin: 0 28px 32px;
  padding: 16px;
  background: linear-gradient(90deg, #00FF99, #00CC80);
  color: #0F0F0F;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.plan-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,255,153,0.35);
}

/* Featured & Popular styling */
.featured {
  border-color: #00FF99;
  box-shadow: 0 0 30px rgba(0,255,153,0.15);
}

.popular {
  transform: scale(1.06);
  z-index: 2;
  border-color: #00FF99;
}

.popular .plan-cta {
  background: linear-gradient(90deg, #00CC80, #00FF99);
}

/* Disclaimer */
.plans-disclaimer {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 30px;
  background: #1A1A1A;
  border-radius: 12px;
  border: 1px solid #333;
  font-size: 14px;
  color: #aaa;
}

.plans-disclaimer strong {
  color: #FF5555;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 30px 20px;
  text-align: center;
  background: #1A1A1A;
  border-top: 1px solid #333;
}

.footer-legal {
  font-size: 13px;
  color: #888;
}

