/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --dark-bg: #0f172a;
  --surface-bg: #1e293b;
  --page-bg: #0b0f19;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --accent-green: #10b981;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
}

body { 
  background-color: var(--page-bg); 
  color: var(--text-main); 
  line-height: 1.6; 
  overflow-x: hidden;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #ffffff;
  text-align: center;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   3. FLOATING GLASS HEADER & NAVIGATION
   ========================================================================== */
header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 1200px;
  margin: 15px auto;
  padding: 12px 28px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 15px;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}
.logo span {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo span small {
  display: block;
  font-size: 10px;
  color: #38bdf8;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* Navigation Links */
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
nav a:hover {
  color: #ffffff;
}

/* Header Button */
.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.mobile-only { display: none; }
.desktop-only { display: inline-block; }

/* Mobile Menu Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger to X Animation */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero { 
  background: radial-gradient(circle at top, #1e3a8a 0%, #0f172a 70%); 
  color: white; 
  padding: 80px 8% 70px 8%; 
  text-align: center; 
}
.hero h1 { 
  font-size: 40px; 
  font-weight: 800; 
  margin-bottom: 18px; 
  letter-spacing: -0.5px; 
  line-height: 1.25; 
}
.hero p { 
  font-size: 18px; 
  color: #93c5fd; 
  max-width: 720px; 
  margin: 0 auto 30px auto; 
}

.cta-btn { 
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)); 
  color: white; 
  padding: 12px 30px; 
  border-radius: 8px; 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 15px; 
  display: inline-block; 
  transition: all 0.25s ease; 
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.cta-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   5. PRICING CARDS SECTION
   ========================================================================== */
.section-title { 
  text-align: center; 
  font-size: 32px; 
  font-weight: 800; 
  margin: 60px 0 30px 0; 
  color: #ffffff; 
}

.pricing-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 30px; 
  padding: 0 8% 50px 8%; 
}

.card { 
  background: var(--surface-bg); 
  border-radius: 16px; 
  padding: 35px 28px; 
  border: 1px solid var(--border-color); 
  position: relative; 
  text-align: center; 
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover { 
  transform: translateY(-6px); 
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5); 
}
.card.popular { 
  border: 2px solid var(--primary); 
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}
.badge { 
  position: absolute; 
  top: -14px; 
  right: 24px; 
  background: var(--primary); 
  color: white; 
  padding: 4px 14px; 
  font-size: 11px; 
  border-radius: 20px; 
  text-transform: uppercase; 
  font-weight: 800; 
}

.price { 
  font-size: 38px; 
  font-weight: 800; 
  color: #ffffff; 
  margin: 15px 0; 
}
.price span { 
  font-size: 14px; 
  color: var(--text-muted); 
  font-weight: 500; 
}

.features { 
  list-style: none; 
  text-align: left; 
  margin: 20px 0 30px 0; 
}
.features li { 
  padding: 10px 0; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
  font-size: 14px; 
  color: #cbd5e1; 
}
.features li::before { 
  content: "✓"; 
  color: var(--accent-green); 
  font-weight: 800; 
  margin-right: 8px; 
}

/* ==========================================================================
   6. STATIC PAGES & FORM LAYOUT (Details / Checkout / Policies)
   ========================================================================== */
.page-container { 
  background: var(--surface-bg); 
  max-width: 850px; 
  margin: 50px auto; 
  padding: 40px; 
  border-radius: 16px; 
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.page-container h1 { color: #ffffff; margin-bottom: 20px; font-weight: 800; }
.page-container h2 { color: #38bdf8; margin-top: 25px; margin-bottom: 10px; font-size: 20px; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer { 
  background: var(--dark-bg); 
  color: var(--text-muted); 
  text-align: center; 
  padding: 40px 8%; 
  font-size: 14px; 
  margin-top: 60px; 
  border-top: 1px solid var(--border-color); 
}
footer a { color: #e2e8f0; text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--primary); }

/* ==========================================================================
   8. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
  header {
    width: 92%;
    padding: 12px 20px;
    border-radius: 30px;
  }

  .menu-toggle { display: flex; }
  .desktop-only { display: none; }
  .mobile-only { display: inline-block; margin-top: 10px; text-align: center; }

  /* Mobile Dropdown Menu */
  nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero h1 { font-size: 28px; }
  .pricing-grid { padding: 0 4% 40px 4%; }
  .page-container { padding: 25px; width: 90%; }
}
