/* ================= GLOBAL ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #333;
}

a {
  text-decoration: none;
  color: #fff; /* 👈 all links white */
}

/* ================= HEADER ================= */
header {
  display: flex;
  padding: 1rem 2rem;
  background: #000;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 3rem;
}

.header-inner {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .header-inner {
    width: 90%;
  }
}

/* ================= NAV ================= */
.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

header nav a {
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.nav-menu .login-btn {
  background: #2563eb;
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #0c0c0c;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}
/* =========================
   MOBILE NAV HEIGHT FIX
   ========================= */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 64px; /* height of header */
    left: 0;
    width: 100%;
    padding-bottom: 1.25rem;
  }
}


/* ================= HERO ================= */
.hero-split {
  width: 100%;
}

.hero-inner {
  display: flex;
  gap: 3rem;
}

.hero-full {
  width: 100%;
  margin-top: 3rem;
}

.hero-full-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }
}

/* ================= HERO MOBILE FIX ================= */
@media (max-width: 768px) {

  .hero-split {
    padding: 0 1rem;
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 12px;
    overflow: visible;
  }

  .hero-left {
    padding: 2rem 1.25rem;
  }

  .hero-left p {
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-right {
    width: 100%;
    min-height: 240px;
  }

  .hero-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ================= HERO LIST ================= */
.hero-benefits {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
  font-weight: 600;
}

.hero-benefits li {
  margin-bottom: 0.5rem;
}

/* ================= SECTIONS ================= */
.section {
  padding: 3rem 2rem;
}

.section-inner {
  width: 60%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .section-inner {
    width: 90%;
  }
}

/* ================= GRID ================= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ================= CARDS ================= */
.card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-header {
  background: #000;
  padding: 0.75rem 1rem;
}

.card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.card-content {
  padding: 1rem;
}

.card-content p {
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

.card-content ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0.75rem;
}

.card-content li {
  margin-bottom: 0.35rem;
}

/* ================= CARD GALLERY ================= */
.card-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.card-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .card-gallery {
    grid-template-columns: 1fr;
  }

  .card-gallery img {
    height: 200px;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-inner {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .footer-inner {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
/* ==================================================
   DASHBOARD ONLY – HEADER NORMALISATION
   (Does NOT affect other pages)
   ================================================== */

header .header-inner {
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}

header .logo img {
  display: block;       /* removes baseline spacing */
  margin: 0;
}

header .nav-menu a {
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}
/* =========================
   MOBILE HEADER – FORCE FULL BLACK
   ========================= */
@media (max-width: 768px) {
  header {
    padding-left: 0;
    padding-right: 0;
    background-color: #000;
  }

  .header-inner {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =========================
   HERO TEXT CLIPPING FIX
   ========================= */
.hero-inner {
  align-items: stretch;
}

.hero-left {
  overflow: visible;
}

@media (max-width: 768px) {
  .hero-inner {
    height: auto;
  }

  .hero-left {
    min-height: auto;
    padding-bottom: 2rem;
  }
}
/* =========================
   ACCOUNT TYPE SELECTOR
   ========================= */
.plan-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.plan-card {
  position: relative;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
  border-color: #758171;
}

.plan-card.active {
  border-color: #758171;
  box-shadow: 0 0 0 2px rgba(117,129,113,0.2);
}

.plan-card input {
  position: absolute;
  top: 1rem;
  right: 1rem;
  accent-color: #758171;
}

.plan-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 600px) {
  .plan-select {
    grid-template-columns: 1fr;
  }
}
/* =========================
   HERO CTA BUTTON
   ========================= */
.hero-cta {
  margin-top: 1.4rem;
}

.hero-action-btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  background: #2563eb; /* SAME as login button */
  color: #fff;
  transition: background 0.15s ease, transform 0.1s ease;
}

.hero-action-btn:hover {
  background: #1e40af;
}

.hero-action-btn:active {
  transform: translateY(1px);
}

