/* =========================================================
   CALIFORNIA TARGET BOOK — CLONE STYLESHEET
   ========================================================= */

:root {
  /* Colors extracted from screenshot */
  --navy-900: #101c33;
  --navy-800: #152442;
  --navy-700: #1c3160;
  --navy-btn: #1c3a63;
  --blue-grad-start: #1e56d6;
  --blue-grad-end: #0a2f7a;
  --red-600: #d8454a;
  --red-700: #c52026;
  --red-800: #a91b21;
  --grey-100: #f4f4f4;
  --grey-150: #eeeeee;
  --grey-200: #e4e4e4;
  --grey-500: #8a8a8a;
  --grey-700: #5a5a5a;
  --text-dark: #28323e;
  --text-body: #5c6672;
  --white: #ffffff;

  --font-heading: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1180px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 10px 30px rgba(20, 30, 50, .08);
  --shadow-card-sm: 0 6px 18px rgba(20, 30, 50, .06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin: 0;
  font-weight: 700;
  line-height: 1em;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container-ctb {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons ------------------------------------------------- */
.btn-ctb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

a[class*="btn"]:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  text-decoration: none !important;
}

.btn-red {
  background: var(--red-700);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-800);
  color: #fff;
}

.btn-navy {
  background: var(--navy-btn);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .8);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .15);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-ctb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

.navbar-ctb.scrolled {
  background: rgba(16, 28, 51, .96);
  padding: 8px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 60px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.nav-logo .logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e6e9ee, #ffffff);
  border: 2px solid var(--red-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-900);
  overflow: hidden;
}

.nav-logo .logo-text {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 500;
  opacity: .92;
  position: relative;
  padding: 4px 0;
}

.nav-menu a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-menu a:focus-visible {
  border: none;
}


.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--red-700);
  transition: width .25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
}

.navbar-toggler-ctb {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(180deg, rgba(10, 16, 28, .55) 0%, rgba(10, 16, 28, .45) 45%, rgba(10, 16, 28, .75) 100%),
    url('https://ctb.epicenterconsulting.net/wp-content/smush-webp/2023/04/image1-scaled-1.jpg.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-content {
  max-width: 67%;
  margin: 0 auto;
}

.hero-content h1 {
  color: #fff;
  font-size: 6vw;
  font-weight: 300;
  text-transform: uppercase;
}

.hero-content .hero-sub {
  font-family: var(--font-heading);
  margin: 0 auto 36px;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 2vw;
  color: #FFFFFF;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.section-about {
  background: var(--grey-100);
  padding: 90px 0;
}

.about-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 50px 55px;
  display: flex;
  align-items: center;
  gap: 45px;
}

.about-logo {
  flex: 0 0 auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(160deg, #eef1f5, #fff);
  border: 3px solid var(--red-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 15px;
  text-align: center;
  overflow: hidden;
}

.about-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.about-text h2 {
  font-size: 30px;
  margin-bottom: 14px;
  color: var(--navy-900);
}

.about-text p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.85;
}

/* =========================================================
   ONLINE EDITION
   ========================================================= */
.section-online {
  padding: 100px 0;
  background: #fff;
}

.online-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.online-text h2 {
  font-size: 38px;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.online-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 460px;
}

.laptop-mock {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.laptop-screen {
  background: #1a1a1a;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 22px;
  box-shadow: 0 25px 50px rgba(20, 30, 50, .25);
}

.laptop-screen img {
  border-radius: 2px;
  width: 100%;
}

.laptop-base {
  height: 16px;
  background: linear-gradient(180deg, #2b2b2b, #0e0e0e);
  border-radius: 0 0 10px 10px;
  margin-top: -2px;
}

/* =========================================================
   HARD COPY
   ========================================================= */
.section-hardcopy {
  background: var(--grey-100);
  padding: 90px 0;
}

.hardcopy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 50px 55px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hardcopy-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(160deg, #eef1f5, #fff);
  border: 3px solid var(--red-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 13px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hardcopy-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.hardcopy-logo .pdf-tag {
  position: absolute;
  bottom: -6px;
  right: -10px;
  background: var(--red-700);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.hardcopy-text {
  flex: 1;
}

.hardcopy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.hardcopy-text h2 {
  font-size: 30px;
  color: var(--navy-900);
}

.hardcopy-text p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.section-services {
  padding: 95px 0;
  background: var(--grey-100);
}

.new-section-title {
  text-align: center;
  font-size: 47px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 55px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-sm);
  overflow: hidden;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-card .img-wrap {
  height: 170px;
  overflow: hidden;
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .card-body {
  padding: 26px 26px 32px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.section-testimonial {
  padding: 90px 0;
  background: #fff;
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--grey-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-sm);
  padding: 40px 50px;
  display: flex;
  align-items: center;
  gap: 26px;
  text-align: left;
}

.testimonial-card .avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 14px;
}

/* =========================================================
   EDITORIAL BOARD
   ========================================================= */
.section-board {
  padding: 27px;
  background: #fff;
}

.board-sub {
  text-align: center;
  font-size: 17px;
  font-weight: 400;
  margin-top: -38px;
  margin-bottom: 50px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-card-sm);
}

.staff-card .staff-photo {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
}

.staff-card .staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card .staff-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 2px;
  letter-spacing: .3px;
}

.staff-card .staff-info .role {
  font-size: 12.5px;
  color: var(--grey-500);
  margin-bottom: 10px;
  display: block;
}

.staff-card .staff-info .btn-see-more {
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--grey-150);
  color: var(--text-dark);
  border: 1px solid var(--grey-200);
  display: inline-block;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.section-newsletter {
  padding: 80px 0;
  background: #ffffff;
}

.newsletter-card-wrap {
  background: linear-gradient(135deg, var(--blue-grad-start), var(--blue-grad-end));
  border-radius: 8px;
  padding: 55px 40px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(10, 31, 102, 0.12);
}

.newsletter-card-wrap h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.newsletter-card-wrap .sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.newsletter-form {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  background: #ffffff;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-form button.btn-ctb.btn-red {
  width: 100%;
  padding: 14px 20px;
  border-radius: 4px;
  background: var(--red-700);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 0;
  display: block;
}

.newsletter-form button.btn-ctb.btn-red:hover {
  background: var(--red-800);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-ctb {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #c7cdd6;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-700);
  display: inline-block;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-brand .footer-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: #aab2bd;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #aab2bd;
}

.footer-contact-list a {
  color: #c7cdd6;
  transition: color .2s ease;
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-600);
}

.footer-icon svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #aab2bd;
  font-size: 14px;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-sub {
  font-size: 13.5px;
  line-height: 1.65;
  color: #8992a0;
  margin-bottom: 18px;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-color: rgba(200, 90, 84, .6);
  background: rgba(255, 255, 255, .08);
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: #7a8494;
}

.footer-contact-form .row-inline {
  display: flex;
  gap: 12px;
}

.footer-contact-form textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 180px;
  overflow: hidden;
}

.btn-footer-submit {
  width: 100%;
  padding: 13px 20px;
  margin-top: 4px;
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 13px;
  color: #7a8494;
}

.footer-bottom a {
  color: #aab2bd;
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px;
    gap: 22px;
    transition: right .3s ease;
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  .navbar-toggler-ctb {
    display: block;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .about-card,
  .hardcopy-card {
    flex-direction: column;
    text-align: center;
  }

  .hardcopy-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .online-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .hero-content .hero-sub {
    font-size: 14px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .hardcopy-card {
    padding: 34px 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact-form .row-inline {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================
   AUTH PAGES NAVBAR & FOOTER FIXES FOR LANDING-BODY
   ========================================================= */
body.landing-body .navbar-ctb {
  background: var(--navy-900) !important;
  position: sticky !important;
  top: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15) !important;
}

body.landing-body footer.footer-ctb {
  display: block !important;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%) !important;
  color: #c7cdd6 !important;
  padding: 64px 0 0 !important;
  border-top: none !important;
}

body.landing-body footer.footer-ctb a {
  color: #c7cdd6 !important;
}

body.landing-body footer.footer-ctb a:hover {
  color: #ffffff !important;
}

/* Ensure display: block override on has(.login-container-wrapper) body */
body:has(.login-container-wrapper) footer.footer-ctb,
main:has(.login-container-wrapper) footer.footer-ctb {
  display: block !important;
}

body.landing-body .login-container-wrapper {
  padding-top: 100px !important;
}

body.landing-body footer.footer-ctb .footer-nav,
body.landing-body footer.footer-ctb .footer-nav-group,
body.landing-body footer.footer-ctb .footer-col {
  background: transparent !important;
  background-color: transparent !important;
}

/* =========================================================
   SUBSCRIPTIONS PAGE STYLES (from index.blade.php)
   ========================================================= */

.sub-hero {
  padding: 80px 0 100px;
  background: #ffffff;
}

.sub-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.sub-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-image-wrapper::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(30, 86, 214, 0.2) 0%, rgba(30, 86, 214, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.sub-laptop-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.sub-content h1 {
  font-size: 42px;
  color: var(--navy-900);
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.sub-content p {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 30px;
}

.sub-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-sub-plan {
  flex: 1;
  min-width: 220px;
  padding: 16px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-sub-red {
  background: var(--red-700);
  color: #ffffff;
  border: 2px solid var(--red-700);
}

.btn-sub-red:hover {
  background: var(--red-800);
  border-color: var(--red-800);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sub-navy {
  background: var(--navy-btn);
  color: #ffffff;
  border: 2px solid var(--navy-btn);
}

.btn-sub-navy:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sub-plan .plan-price {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.9;
}

/* Alternating feature sections */
.feature-section-row {
  padding: 80px 0;
  background: #ffffff;
}

.feature-section-row:nth-child(even) {
  background: var(--grey-100);
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.feat-text h2 {
  font-size: 32px;
  color: var(--navy-900);
  margin-bottom: 20px;
  font-weight: 700;
}

.feat-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

.feat-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feat-img img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* Mobile responsiveness */
@media (max-width: 991px) {

  .sub-grid,
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feat-grid>div:nth-child(1) {
    order: 2;
  }

  .feat-grid>div:nth-child(2) {
    order: 1;
  }

  .sub-buttons {
    justify-content: center;
  }
}

/* Subscription Plans UI (Lovable Theme with CTB Colors) */
.subscription-plans {
  padding: 60px 0 100px;
  background: #f8fafc;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.plan-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.best-value-card {
  border: 2px solid var(--navy-900);
  box-shadow: 0 8px 20px rgba(16, 28, 51, 0.08);
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
}

.plan-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-tag.best-value {
  background: var(--navy-900);
  color: #ffffff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
}

.plan-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.plan-duration {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.plan-price-section {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
}

.price-suffix {
  font-size: 20px;
  font-weight: 600;
  color: #64748b;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

.feature-item i {
  color: #10b981;
  /* Green checkmark */
  font-size: 18px;
  margin-top: 2px;
}

.plan-action {
  text-align: center;
  margin-top: auto;
}

.btn-subscribe {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-subscribe-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.btn-subscribe-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-subscribe-solid {
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  color: #ffffff;
}

.btn-subscribe-solid:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

/* New text additions */
.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.pricing-header p {
  font-size: 16px;
  color: var(--primary-red);
  font-weight: 500;
  margin: 0;
}

.plan-card .plan-duration {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 0;
}

.plan-card .price-amount {
  font-size: 40px;
}

.plan-card .price-suffix {
  font-size: 16px;
  font-weight: 500;
}

.sign-in-link {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: #64748b;
}

.sign-in-link a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}

.sign-in-link a:hover {
  text-decoration: underline;
}

.addon-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px auto 0;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.addon-banner-content h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
}

.addon-banner-content p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.btn-addon-banner {
  background: #f1f5f9;
  color: var(--navy-900);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-addon-banner:hover {
  background: var(--navy-900);
  color: #ffffff;
}

@media (max-width: 768px) {
  .addon-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 32px 24px;
  }

  .best-value-card {
    margin-top: 20px;
  }
}