/* ==========================================================================
   gFinalExpense LANDING PAGE - PURE VANILLA CSS
   No Bootstrap, No Frameworks, No External CSS Dependencies
   Structure: public_html/ (Flat Layout)
   ========================================================================== */

:root {
  --primary-navy: #0B2545;
  --primary-navy-dark: #071930;
  --accent-green: #059669;
  --accent-green-hover: #047857;
  --accent-light-green: #d1fae5;
  --bg-ice: #F0F7FF;
  --bg-slate: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.12);
  --radius-lg: 16px;
  --radius-md: 12px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--accent-green) !important;
}

.text-navy {
  color: var(--primary-navy) !important;
}

.fw-bold {
  font-weight: 700;
}

.d-block {
  display: block;
}

.small {
  font-size: 0.88rem;
}

.mt-auto {
  margin-top: auto;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Section Pill Tag */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: var(--accent-light-green);
  color: var(--accent-green-hover);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Buttons */
.btn-skyline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-skyline-primary:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn-skyline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-ice);
  color: var(--primary-navy) !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(11, 37, 69, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-skyline-secondary:hover {
  background-color: #e0eeff;
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.25rem;
  padding: 1.05rem 2.2rem;
}

.btn-header-cta {
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
}

.btn-footer-cta {
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
}

.w-100 {
  width: 100%;
}

/* Header & Navigation */
.skyline-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  white-space: nowrap;
}

.brand-logo .brand-icon {
  width: 38px;
  height: 38px;
  background-color: var(--bg-ice);
  color: var(--accent-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: nowrap;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-green);
  background-color: rgba(5, 150, 105, 0.06);
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-navy);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 37, 69, 0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.trust-badge svg {
  color: var(--accent-green);
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-image-overlay-card .icon-box {
  width: 46px;
  height: 46px;
  background-color: var(--accent-light-green);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Plan Features Section */
.features-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  height: 100%;
  background: var(--bg-slate);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.3);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  background-color: var(--bg-ice);
  color: var(--primary-navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-green);
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Compliance Paid Plan Callout Box */
.paid-plan-callout {
  background: rgba(5, 150, 105, 0.08);
  border-left: 4px solid var(--accent-green);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--primary-navy);
  line-height: 1.5;
}

.paid-plan-callout strong {
  color: var(--primary-navy);
  font-weight: 700;
}

/* Banner Box */
.cta-banner-box {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.25);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* How It Works */
.how-it-works-section {
  padding: 5rem 0;
  background-color: var(--bg-ice);
}

.step-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.step-number {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-green);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.step-icon {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Why Choose Us */
.why-choose-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: var(--bg-slate);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  height: 100%;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-icon {
  width: 52px;
  height: 52px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--accent-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.why-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Customer Reviews */
.reviews-section {
  padding: 5rem 0;
  background-color: var(--bg-ice);
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.08rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.reviewer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.reviewer-location {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.verified-badge {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-light-green);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* Final CTA Section */
.final-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  text-align: center;
}

.final-cta-section h2 {
  color: #ffffff;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.final-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.btn-emergency-pulse {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(5, 150, 105, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

/* Footer Section */
.skyline-footer {
  background-color: var(--primary-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-green);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  margin-left: 1.25rem;
}

/* Modals */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.custom-modal.active {
  display: flex;
}

.modal-dialog-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 550px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  color: var(--text-dark);
}

.modal-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Floating & Mobile Call Buttons */
.floating-phone-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background-color: var(--accent-green);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
  z-index: 1040;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.floating-phone-btn:hover {
  transform: scale(1.1);
}

.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-green);
  z-index: 1050;
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.sticky-mobile-bar a {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* Media Queries */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.2rem;
  }

  h2.section-title {
    font-size: 1.85rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-banner-box {
    flex-direction: column;
    text-align: center;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-collapse.show {
    display: flex;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .btn-header-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .floating-phone-btn {
    display: none;
  }

  .sticky-mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 1.9rem;
  }

  .btn-lg {
    width: 100%;
    font-size: 1.15rem;
  }

  .cta-group {
    flex-direction: column;
  }
}