/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FIX CHOOSE PLAN BUTTON */
.choose-plan {
  display: block;
  margin: 18px auto 0 auto;
  padding: 12px 24px;
  width: fit-content;
  background: var(--accent);
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.2s;
  border: none;
  box-shadow: 0 0 15px rgba(142, 38, 239, 0.35);
}

.choose-plan:hover {
  background: #a044ff;
  box-shadow: 0 0 18px rgba(142, 38, 239, 0.55);
  transform: translateY(-2px);
}

:root {
  --bg: #050507;
  --text: #e7e7ee;
  --text2: #a1a1b5;
  --accent: #8e26ef;
  --card: #0d0d16;
  --border: rgba(255,255,255,0.08);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* UNIVERSAL CENTERING WRAPPER */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* NAVBAR */
.navbar {
  width: 100%;
  height: 78px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(5, 5, 12, 0.55);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-layout {
  width: 92%;
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  font-size: 20px;
  font-weight: 700;
}

/* NAV LINKS */
.nav-center {
  display: flex;
  gap: 26px;
}

.nav-link {
  text-decoration: none;
  color: var(--text2);
  font-size: 15px;
}

.nav-link.active,
.nav-link:hover {
  color: white;
}

/* 🔥 FIX NAV BUTTONS */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary-nav {
  padding: 9px 18px;
  background: var(--accent) !important;
  color: white !important;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-darkmode {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: white !important;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-darkmode i {
  color: white !important;
}

/* HERO SECTION */
.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: auto;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text2);
  margin-top: 14px;
}

/* HERO BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

/* HERO STATS */
.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 50px;
  justify-content: center;
}

/* SECTION TITLE */
.section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* SERVICES GRID */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.service-card {
  width: 260px;
  padding: 26px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
}

/* ----------- FIX PLANS ----------- */

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.tab-button {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

.tab-button.active {
  border-color: var(--accent);
  color: white;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.pricing-card {
  width: 280px;
  padding: 24px;
  min-height: 320px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  text-align: center;
}

.pricing-card ul {
  list-style: none !important;
  padding-left: 0;
  margin-top: 12px;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.team-card {
  width: 260px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}

.team-member-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

/* ----------- FIX NEWS (images not showing) ----------- */
.news-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.news-card {
  width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #0a0a12;
  border-bottom: 1px solid var(--border);
}

.news-card img:not([src]), 
.news-card img[src=""], 
.news-card img[src="undefined"] {
  display: none !important;
}

.news-content {
  padding: 18px;
}

/* PARTNERS */
.partners-grid {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.partner-card img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}

/* ----------- FIX FAQ ----------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.faq-item {
  width: 100%;
  max-width: 800px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
}

.faq-answer {
  margin-top: 10px;
  color: var(--text2);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* -------- FIX CONTACT --------- */
.contact-buttons {
  display: flex;
  justify-content: center;
}

/* Consistent spacing between all sections */
.section {
  padding: 120px 0 110px 0;   /* more breathing room */
}

/* Fix spacing above plans */
.pricing-tabs {
  margin-top: 30px;
}

/* Fix spacing below plan cards */
.pricing-cards {
  margin-top: 25px;
}

.contact-card {
  width: 260px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}

.contact-icon {
  font-size: 40px;
  color: var(--accent);
}
