/* --- GLOBAL VARIABLES --- */
:root {
  --bg-dark: #020617;
  --bg-card: #0f172a;
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --border: #1e293b;
  --purple: #6366f1;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- NAVBAR --- */
.navbar {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(15px);
  height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}

.nav-buttons {
  display: flex;
  align-items: center;
}
.btn-filled-sm {
  background: var(--primary);
  color: #000;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: 0.3s;
}
.btn-filled-sm:hover {
  background: var(--primary-dark);
}

/* Mobile Button (Hidden on Desktop) */
.mobile-login-btn {
  display: none;
}

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0 60px;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}
.hero-text {
  flex: 1;
}

.badge-new {
  background: rgba(99, 102, 241, 0.1);
  color: var(--purple);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}
.text-gradient {
  background: linear-gradient(90deg, #06b6d4, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-gray);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

.btn-group {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}
.btn-filled {
  background: var(--primary);
  color: #020617;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-filled:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}
.btn-outline {
  border: 1px solid var(--border);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.trust-badges {
  display: flex;
  gap: 20px;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 500;
}
.badge-item i {
  color: var(--green);
  margin-right: 5px;
}

.hero-image {
  flex: 1;
  position: relative;
}
.main-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(6, 182, 212, 0.15);
  border: 1px solid var(--border);
}

/* Floating Stats (Cards over image) */
.floating-stat {
  position: absolute;
  background: var(--bg-card);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.stat-1 {
  top: 20px;
  right: -20px;
  color: var(--red);
}
.stat-2 {
  bottom: 30px;
  left: -20px;
  color: var(--primary);
}

/* --- STATS STRIP --- */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  background: rgba(15, 23, 42, 0.5);
  margin-top: 50px;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.stat-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}
.stat-box p {
  color: var(--text-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- DEEP FEATURES (Zig Zag Layout) --- */
.deep-features {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}
.section-header p {
  color: var(--text-gray);
  font-size: 16px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}
.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.icon-circle.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
}
.icon-circle.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}
.icon-circle.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.feature-text h3 {
  font-size: 28px;
  margin-bottom: 15px;
}
.feature-text p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px;
}
.feature-text strong {
  color: white;
}

.check-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 14px;
}
.check-list i {
  color: var(--primary);
}

.feature-img {
  flex: 1;
}
.feature-img img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

/* --- MINI GRID --- */
.grid-features {
  padding: 50px 0 100px;
  background: #0b1120;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.mini-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: 0.3s;
}
.mini-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}
.mini-card i {
  font-size: 30px;
  color: var(--purple);
  margin-bottom: 20px;
}
.mini-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}
.mini-card p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.5;
}

/* --- PRICING SECTION --- */
.pricing-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}
.pricing-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}
.pricing-header p {
  color: var(--text-gray);
  font-size: 16px;
}

/* GRID SETUP FOR 4 CARDS */
.pricing-grid {
  display: grid;
  /* Desktop: 4 Equal Columns */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: flex-start;
}

/* CARD STYLING */
.price-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  position: relative;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

/* Highlight Cards */
.popular-card {
  border: 1px solid var(--primary);
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.05) 0%,
    var(--bg-card) 100%
  );
  transform: scale(1.05);
  z-index: 2;
}
.best-value-card {
  border: 1px solid var(--purple);
}

/* Text Styles */
.plan-name {
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.active-text {
  color: var(--primary);
}

.price {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}
.price span {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 400;
}

.bill-cycle {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 15px;
  font-weight: 500;
  min-height: 20px;
}

.price-card hr {
  border: 0;
  border-top: 1px dashed var(--border);
  margin: 15px 0;
}

/* Features List */
.features-list {
  padding: 0;
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: left;
}
.features-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li i {
  color: var(--primary);
  font-size: 14px;
}

/* Tags (Popular / Best Value) */
.tag-popular,
.tag-best {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-popular {
  background-color: var(--primary);
}
.tag-best {
  background-color: var(--purple);
  color: white;
}

/* Buttons */
.btn-price {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin-top: auto;
}
.btn-outline-card {
  background: transparent;
  border: 1px solid var(--border);
  color: white;
}
.btn-outline-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-filled-card {
  background: var(--primary);
  border: none;
  color: #0f172a;
}
.btn-filled-card:hover {
  background: var(--primary-dark);
}

/* --- FAQ --- */
.faq-section {
  padding: 80px 0;
  background: #0b1120;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}
.faq-item {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.faq-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: white;
  display: flex;
  gap: 10px;
  align-items: center;
}
.faq-item p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-left: 28px;
}

/* --- CTA STRIP --- */
.cta-strip {
  background: linear-gradient(90deg, #06b6d4, #6366f1);
  padding: 60px 0;
  margin-top: 50px;
}
.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-content h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}
.btn-white {
  background: white;
  color: #0f172a;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* --- FOOTER --- */
footer {
  background: #020617;
  padding: 80px 0 20px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 15px;
}
.footer-brand span {
  color: var(--primary);
}
.footer-brand p {
  color: var(--text-gray);
  max-width: 300px;
  margin-bottom: 20px;
}
.socials a {
  color: var(--text-gray);
  font-size: 20px;
  margin-right: 15px;
  transition: 0.3s;
}
.socials a:hover {
  color: var(--primary);
}

.footer-contact h4 {
  color: white;
  margin-bottom: 20px;
}
.footer-contact p {
  color: var(--text-gray);
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact i {
  color: var(--primary);
  width: 20px;
}
.copyright {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: #475569;
  font-size: 13px;
}

/* ==================================================
   MOBILE & TABLET RESPONSIVENESS (BREAKPOINTS)
   ================================================== */

/* TABLET (1024px and down) */
@media (max-width: 1024px) {
  /* Fix Pricing to 2 Columns */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .popular-card {
    transform: none; /* Tablet par scale effect hataya */
  }

  /* Adjust Hero Text */
  .hero-content {
    gap: 30px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .feature-row {
    gap: 30px;
  }
}

/* MOBILE (768px and down) */
@media (max-width: 768px) {
  /* --- NAVBAR --- */
  .nav-links,
  .nav-buttons {
    display: none;
  } /* Hide Desktop Menu */
  .navbar {
    justify-content: space-between;
    padding: 0 15px;
  }

  /* Mobile Login Button Visible */
  .mobile-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
  }

  /* --- HERO --- */
  .hero {
    padding: 40px 0;
  }
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    margin: 0 auto 30px auto;
  }
  .btn-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .btn-group a {
    width: 100%;
    text-align: center;
  }

  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  .floating-stat {
    display: none;
  } /* Hide floating cards on mobile */

  /* --- STATS STRIP --- */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2x2 Grid */
    gap: 30px;
  }

  /* --- DEEP FEATURES (Zig Zag fix) --- */
  .feature-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
  }
  .feature-row.reverse {
    flex-direction: column;
  } /* Don't reverse on mobile */
  .feature-text {
    order: 2;
  }
  .feature-img {
    order: 1;
    width: 100%;
  }
  .icon-circle {
    margin: 0 auto 20px auto;
  }
  .check-list li {
    justify-content: center;
  }

  /* --- PRICING FIX (Crucial) --- */
  .pricing-grid {
    grid-template-columns: 1fr; /* 1 Column Stack */
    gap: 20px;
  }
  .price-card {
    width: 100%; /* Full Width */
  }

  .faq-item {
  width: 85%;
}

  /* --- CTA STRIP --- */
  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-strip h2 {
    font-size: 24px;
  }
  .btn-white {
    width: 100%;
    text-align: center;
  }

  /* --- FOOTER --- */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-brand p {
    margin: 0 auto 20px auto;
  }
  .socials {
    justify-content: center;
    display: flex;
  }
  .footer-contact p {
    justify-content: center;
  }
}
