/* ==========================================================
   easyfile.in — ClearTax-Inspired Modern Fintech Stylesheet
   Electric Blue (#0066f5), Pristine Whites, Crisp Micro-Cards, & Trust Architecture
   ========================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* ClearTax Brand Palette */
  --clear-blue:         #0066f5;
  --clear-blue-hover:   #0052cc;
  --clear-blue-dark:    #003d99;
  --clear-blue-light:   #eff6ff;
  --clear-blue-subtle:  #f4f8ff;
  --clear-blue-border:  #bfdbfe;

  --clear-green-bg:     #e6f9f0;
  --clear-green-text:   #059669;
  --clear-green-border: #a7f3d0;
  --clear-green-dot:    #10b981;

  /* Neutrals & Dark Slate */
  --navy-950:           #090e17;
  --navy-900:           #0f172a;
  --navy-800:           #1e293b;
  --navy-700:           #334155;
  --slate-600:          #475569;
  --slate-500:          #64748b;
  --slate-400:          #94a3b8;
  --slate-300:          #cbd5e1;
  --slate-200:          #e2e8f0;
  --slate-100:          #f1f5f9;
  --slate-50:           #f8fafc;
  --white:              #ffffff;

  /* Official WhatsApp Green */
  --wa-green:           #25d366;
  --wa-hover:           #20ba5a;
  --wa-dark:            #075e54;

  /* Alert Coral / Notice Red */
  --notice-red:         #dc2626;
  --notice-bg:          #fef2f2;
  --notice-border:      #fecaca;

  /* Geometric & Shadow Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 34px -4px rgba(15, 23, 42, 0.09);
  --shadow-hover: 0 18px 36px -6px rgba(0, 102, 245, 0.12);

  --container-width: 1200px;
  --header-height: 72px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--navy-800);
  background-color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 74px; /* for sticky floating bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul {
  list-style: none;
}

.site-container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* Typography Hierarchy */
h1, h2, h3, h4 {
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  color: var(--slate-600);
}

.text-blue {
  color: var(--clear-blue) !important;
}

/* Buttons (ClearTax Blue & Action Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.3;
}

.btn:active {
  transform: scale(0.98);
}

.btn-clear-blue {
  background-color: var(--clear-blue);
  color: var(--white);
  border-color: var(--clear-blue);
  box-shadow: 0 2px 8px rgba(0, 102, 245, 0.25);
}
.btn-clear-blue:hover {
  background-color: var(--clear-blue-hover);
  border-color: var(--clear-blue-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 102, 245, 0.35);
}

.btn-primary {
  background-color: var(--clear-blue);
  color: var(--white);
  border-color: var(--clear-blue);
}
.btn-primary:hover {
  background-color: var(--clear-blue-hover);
  color: var(--white);
}

.btn-whatsapp {
  background-color: var(--wa-green);
  color: #043e1c;
  border-color: #20bd59;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
  background-color: var(--wa-hover);
  color: #022b12;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-blue {
  background-color: var(--white);
  color: var(--clear-blue);
  border-color: var(--clear-blue);
}
.btn-outline-blue:hover {
  background-color: var(--clear-blue-light);
  color: var(--clear-blue-hover);
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy-800);
  border-color: var(--slate-300);
}
.btn-outline:hover {
  background-color: var(--slate-50);
  border-color: var(--navy-900);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* Badges & Pills */
.pill-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  margin-bottom: 14px;
}
.pill-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}
.pill-rating .reviews-link {
  color: var(--clear-blue);
  text-decoration: underline;
  cursor: pointer;
}

.pill-refund-guarantee {
  display: inline-block;
  background-color: var(--clear-green-bg);
  color: var(--clear-green-text);
  border: 1px solid var(--clear-green-border);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-600);
  background-color: var(--slate-100);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-urgent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--notice-bg);
  color: var(--notice-red);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--notice-border);
  letter-spacing: 0.4px;
}

/* ==========================================================
   HEADER (ClearTax Navbar Style)
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo .logo-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.04em;
}
.site-logo .logo-brand span {
  color: var(--clear-blue);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.nav-link:hover {
  color: var(--clear-blue);
}

/* Megamenu */
.nav-item.has-dropdown {
  position: relative;
}
.nav-megamenu {
  position: absolute;
  top: 100%;
  left: -140px;
  width: 760px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
  pointer-events: none;
}
.nav-item.has-dropdown:hover .nav-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.megamenu-col span.col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 4px;
}
.megamenu-link {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 2px;
}
.megamenu-link:hover {
  background-color: var(--slate-50);
}
.megamenu-link strong {
  display: block;
  font-size: 0.86rem;
  color: var(--navy-900);
}
.megamenu-link span {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy-900);
  margin: 5px 0;
  transition: 0.2s;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background-color: var(--white);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-drawer.is-open .drawer-content {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--slate-400);
  cursor: pointer;
}
.mobile-nav-links a {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==========================================================
   CLEARTAX HERO SECTION
   ========================================================== */
.ct-hero-section {
  padding: 44px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--slate-200);
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.ct-hero-headline {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.ct-hero-headline span {
  color: var(--clear-blue);
}

/* Notice Protect Mini Card */
.notice-protect-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
  max-width: 480px;
}
.notice-protect-logo {
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--clear-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--slate-200);
  padding-right: 12px;
  white-space: nowrap;
}
.notice-protect-text {
  font-size: 0.78rem;
  color: var(--navy-800);
  line-height: 1.35;
}
.notice-protect-text strong {
  color: var(--navy-900);
}

/* Dual Action Hero Cards */
.hero-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 520px;
}
.hero-action-box {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.hero-action-box.highlight {
  border-color: var(--clear-blue);
  box-shadow: 0 4px 18px rgba(0, 102, 245, 0.12);
}
.hero-action-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.box-mini-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: #f3e8ff;
  color: #7e22ce;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
}
.hero-action-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.hero-action-box p {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 14px;
}

/* Hero Right Simulated UI Display */
.hero-graphic-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.simulated-card-data {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}
.simulated-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-500);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 0.86rem;
  border-bottom: 1px dashed var(--slate-100);
}
.sim-row:last-child {
  border-bottom: none;
}
.sim-label {
  color: var(--navy-800);
  font-weight: 600;
}
.sim-val {
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-pill-green {
  background-color: var(--clear-green-bg);
  color: var(--clear-green-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}
.dot-green {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--clear-green-dot);
  border-radius: 50%;
}

/* Refund Hero Mobile Mockup */
.refund-showcase-box {
  background: linear-gradient(135deg, #0066f5 0%, #004dc7 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 24px -4px rgba(0, 102, 245, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.refund-meta span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.refund-amount {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fef08a; /* Soft Gold Highlight */
}
.refund-badge-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 991px) {
  .ct-hero-grid {
    grid-template-columns: 1fr;
  }
  .ct-hero-headline {
    font-size: 2.3rem;
  }
  .hero-dual-cards {
    max-width: 100%;
  }
}

/* ==========================================================
   LIFETIME STATS STRIP (ClearTax Style)
   ========================================================== */
.stats-strip-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 22px 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stats-strip-card {
  padding: 6px;
  border-right: 1px solid var(--slate-200);
}
.stats-strip-card:last-child {
  border-right: none;
}
.stats-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.03em;
}
.stats-lbl {
  font-size: 0.82rem;
  color: var(--slate-500);
  font-weight: 600;
}
@media (max-width: 768px) {
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip-card:nth-child(2) {
    border-right: none;
  }
}

/* ==========================================================
   PERSONA GRID ("India's Most Trusted Tax Filing Platform For")
   ========================================================== */
.persona-section {
  padding: 56px 0;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.persona-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.persona-card:hover {
  border-color: var(--clear-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.persona-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.persona-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: #f0f7ff;
  color: var(--clear-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.persona-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.persona-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .persona-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   FEATURE SIMULATION CARDS ("Tax filing, as easy as it gets")
   ========================================================== */
.feature-showcase-section {
  padding: 60px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-showcase-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.feature-card-preview {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.feature-card-sub {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Broker Logos Strip */
.broker-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.broker-badge {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xs);
  padding: 8px 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-900);
}

@media (max-width: 991px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   HIRE TAX EXPERTS SECTION ("File Within 24 Hours")
   ========================================================== */
.hire-expert-section {
  padding: 60px 0;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.expert-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.expert-match-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* Turnaround Comparison Bar */
.turnaround-comparison-box {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 20px;
}
.bar-compare-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.bar-track {
  flex-grow: 1;
  height: 14px;
  background-color: var(--slate-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.bar-fill-slow {
  width: 95%;
  height: 100%;
  background-color: #cbd5e1;
  border-radius: var(--radius-pill);
}
.bar-fill-fast {
  width: 25%;
  height: 100%;
  background-color: var(--clear-blue);
  border-radius: var(--radius-pill);
}
.bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  width: 110px;
  color: var(--navy-800);
}
.bar-time {
  font-size: 0.84rem;
  font-weight: 800;
  width: 70px;
  text-align: right;
}

@media (max-width: 991px) {
  .expert-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   STICKY FLOATING BOTTOM ACTION BAR (ClearTax Signature)
   ========================================================== */
.ct-sticky-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 995;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}
.floating-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.floating-bar-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}
.floating-bar-text p {
  font-size: 0.8rem;
  color: #94a3b8;
}
.floating-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .floating-bar-text p {
    display: none;
  }
  .floating-bar-text h4 {
    font-size: 0.88rem;
  }
  .floating-bar-inner {
    gap: 10px;
  }
}

/* Service Detail, Pricing & FAQs Reusable Elements */
.services-section {
  padding: 56px 0;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.service-card:hover {
  border-color: var(--clear-blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.service-card-top h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.service-card-top h3 a:hover {
  color: var(--clear-blue);
}
.service-benefit {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 16px;
}
.service-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
}
.price-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
}
.price-val {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-900);
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.faqs-section {
  padding: 56px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq-question {
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
  color: var(--slate-500);
}
.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.faq-answer-inner {
  padding-bottom: 16px;
  font-size: 0.9rem;
  color: var(--navy-700);
  line-height: 1.58;
  border-top: 1px solid var(--slate-200);
  padding-top: 12px;
}

/* Checklists */
.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clear-blue);
  font-weight: 800;
  font-size: 0.95rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}
.modal-subtitle {
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-top: 2px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--slate-400);
  cursor: pointer;
}
.form-response-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
}
.form-response-msg.success {
  color: #15803d;
}
.form-response-msg.error {
  color: var(--notice-red);
}

.form-group {
  margin-bottom: 14px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 5px;
}
label .req {
  color: var(--notice-red);
}
.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--navy-900);
  background-color: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--clear-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 245, 0.1);
}

/* Footer (ClearTax Midnight Navy) */
.site-footer {
  background-color: var(--navy-900);
  color: #94a3b8;
  padding: 48px 0 20px;
  font-size: 0.85rem;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.brand-col .brand-primary {
  color: var(--white);
}
.brand-desc {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.footer-contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.82rem;
}
.footer-heading {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.footer-links li {
  margin-bottom: 7px;
}
.footer-links a {
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 18px;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trust-pill-row {
  display: flex;
  gap: 10px;
}
.trust-tag {
  font-size: 0.72rem;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
