@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand palette */
  --primary: #0045a0;          /* Blue - buttons, links, secondary */
  --primary-dark: #003a85;
  --primary-light: #e9eefb;
  --primary-light-2: #d7e2f7;
  --accent-red: #ff3131;       /* Red - occasional highlights only */
  --secondary: #282828;        /* Black - primary brand color */
  --dark: #282828;
  --dark-secondary: #1f1f1f;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --grey: #64748B;
  --grey-light: #94A3B8;
  --border: #E2E8F0;
  --accent-blue-primary: #0045a0;
  --accent-blue-light: #0045a0;
  --accent-purple: #0045a0;
  --accent-blue: #0045a0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 10% 10%, rgba(0,69,160, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 90%, rgba(255,49,49, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(0,69,160, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,69,160, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,69,160, 0.45);
}

.btn-secondary {
  background: var(--dark);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--dark-secondary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-ghost {
  background: transparent;
  color: var(--dark);
  font-size: 1.1rem;
  padding: 16px 24px;
}

.btn-ghost:hover { color: var(--primary); background: var(--primary-light); border-radius: 12px; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent-blue-primary), #003a85);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255,49,49, 0.35);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255,49,49, 0.45);
}

section { padding: 64px 0; }

h1 { font-size: 4rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { color: var(--grey); font-size: 1.15rem; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

/* Offer bar - highlighted offer in the website header */
.offer-bar {
  background: var(--secondary);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.offer-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}

.offer-bar .offer-text { color: rgba(255,255,255,0.92); }

.offer-bar .offer-price {
  color: var(--white);
  background: var(--accent-red);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 800;
  margin: 0 2px;
}

.offer-bar .offer-cta {
  color: var(--white);
  background: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.25s, transform 0.25s;
  white-space: nowrap;
}

.offer-bar .offer-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo-tagline { font-size: 0.72rem; color: var(--grey); font-weight: 500; }

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav > a {
  padding: 12px 18px;
  font-weight: 600;
  color: var(--grey);
  border-radius: 12px;
  transition: all 0.25s;
  font-size: 1rem;
  white-space: nowrap;
}

nav > a:hover { color: var(--dark); background: var(--bg-secondary); }
nav > a.active { color: var(--primary); background: var(--primary-light); }

/* Pricing nav dropdown (non-clickable heading + hover card) */
.nav-drop { position: relative; }

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey);
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.nav-drop-trigger:hover,
.nav-drop.open .nav-drop-trigger,
.nav-drop:focus-within .nav-drop-trigger,
.nav-drop-trigger.is-active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-drop-trigger svg { transition: transform 0.25s; }
.nav-drop.open .nav-drop-trigger svg,
.nav-drop:focus-within .nav-drop-trigger svg { transform: rotate(180deg); }

.nav-drop-card {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.14);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
}

.nav-drop-card::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.nav-drop:hover .nav-drop-card,
.nav-drop.open .nav-drop-card,
.nav-drop:focus-within .nav-drop-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  min-width: 0;
  border-radius: 14px;
  background: var(--bg-light);
  border: 1px solid transparent;
  transition: all 0.25s;
}

.nav-drop-item:hover {
  background: var(--primary-light);
  border-color: var(--primary-light-2);
  transform: translateY(-2px);
}

.nav-drop-item .nav-drop-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-drop-item strong { color: var(--dark); font-size: 1.02rem; font-weight: 800; }
.nav-drop-item small { color: var(--grey); font-size: 0.8rem; line-height: 1.5; overflow-wrap: anywhere; }
.nav-drop-item .nav-drop-link { color: var(--primary); font-size: 0.8rem; font-weight: 700; overflow-wrap: anywhere; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 13px 26px; font-size: 1rem; border-radius: 12px; }
.mobile-toggle { display: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #f0f9ff 100%);
  padding: 178px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0,69,160, 0.12) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--primary-light);
}

.hero-badge span {
  background: linear-gradient(135deg, var(--accent-blue-primary), #003a85);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-text h1 {
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary), #3d74c9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text > p {
  font-size: 1.3rem;
  color: var(--grey);
  margin-bottom: 38px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.hero-trust {
  margin-top: 28px;
  padding-top: 20px;
}

.hero-trust p {
  font-size: 0.95rem;
  color: var(--grey);
  font-weight: 500;
}

.hero-stat h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.hero-stat p {
  font-size: 0.9rem;
  margin-top: 4px;
}

.hero-visual { position: relative; }

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,69,160, 0.15);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue-primary));
  border-radius: 24px 24px 0 0;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.hero-card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.hero-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-light);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey);
  flex-shrink: 0;
}

.progress-step.completed .progress-dot { background: var(--primary); color: var(--white); }
.progress-step.active .progress-dot { background: var(--primary-light); color: var(--primary); border: 2px solid var(--primary); }

.progress-line {
  width: 3px;
  height: 32px;
  background: var(--border);
  margin-left: 17px;
}

.progress-step.completed .progress-line { background: var(--primary); }

.progress-info h5 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.progress-info p { font-size: 0.82rem; margin-top: 2px; }

/* ---------------------------------------------------------------
 | Next Tax Due Dates widget (home page hero) - compact, one
 | deadline per line: label ... date + countdown pill
 * -------------------------------------------------------------- */
.due-card { padding: 24px 26px; }
.due-card .hero-card-header { margin-bottom: 10px; }

.due-list {
  display: flex;
  flex-direction: column;
}

/* Section labels: GST Monthly / GST Quarterly / ITR Filing */
.due-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 2px;
}
.due-list > .due-sec:first-child { margin-top: 0; }

.due-sec-tag {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--primary-light);
  color: var(--primary);
  white-space: nowrap;
}
.due-sec-tag.is-dark { background: var(--dark); color: var(--white); }
.due-sec-tag.is-red { background: rgba(255, 49, 49, 0.1); color: var(--accent-red); }

.due-sec-hint {
  font-size: 0.68rem;
  color: var(--grey);
  text-align: right;
}

/* Deadline row */
.due-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
  border: none;
  border-radius: 0;
  background: transparent;
}
.due-item + .due-item { border-top: 1px solid var(--border); }

.due-label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  overflow: hidden;
}

.due-label strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.due-sub {
  font-size: 0.7rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.due-when {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.due-when .due-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.due-count {
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
}

.due-item.is-urgent .due-count { background: rgba(255, 49, 49, 0.1); color: var(--accent-red); }
.due-item.is-passed .due-count { background: var(--bg-secondary); color: var(--grey); }
.due-item.is-passed .due-date { color: var(--grey-light); text-decoration: line-through; }
.due-item.is-passed .due-label strong { color: var(--grey); }

.due-fineprint {
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--grey);
}

/* ---- Toast (login pages; dashboards get theirs from dashboard.css) ---- */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(90vw, 440px);
  background: var(--dark);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 16px;
  border-left: 4px solid var(--accent-red);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  display: none;
  z-index: 200;
}

.toast.show { display: block; }

@media (max-width: 520px) {
  .due-card { padding: 20px 16px; }
  .due-item { flex-wrap: wrap; row-gap: 2px; }
  .due-when { width: 100%; justify-content: flex-start; }
  .due-sec { flex-wrap: wrap; }
  .due-sec-hint { text-align: left; }
  .toast { right: 16px; left: 16px; bottom: 16px; max-width: none; }
}

/* Features */
.features { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-header h2 { color: var(--dark); margin-bottom: 18px; }
.section-header p { font-size: 1.25rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Icon tiles (feature / why cards) */
.feature-icon,
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.feature-card .feature-icon { margin-bottom: 20px; }

.feature-card {
  background: var(--white);
  padding: 38px;
  border-radius: 22px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card h3 { margin-bottom: 14px; color: var(--dark); font-size: 1.25rem; }
.feature-card p { font-size: 1.05rem; }

/* Problem */
.problem { background: var(--bg-light); }

.problem-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-list { display: flex; flex-direction: column; gap: 18px; }

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.problem-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateX(8px); }

.problem-icon {
  width: 54px;
  height: 54px;
  background: #ffecec;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-item h4 { font-weight: 700; margin-bottom: 8px; color: var(--dark); font-size: 1.1rem; }
.problem-item p { font-size: 1.05rem; }

.problem-image {
  background: linear-gradient(145deg, var(--dark), #282828);
  border-radius: 24px;
  padding: 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.problem-image::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,49,49,0.15) 0%, transparent 50%);
}

.problem-image h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 14px; }
.problem-image p { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

/* How It Works - Process Timeline */
.how-it-works { background: var(--white); }

.process-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,69,160, 0.2);
  color: var(--primary);
}

.process-content {
  flex: 1;
  padding-top: 8px;
}

.step-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.process-content p {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
}

.process-arrow {
  position: absolute;
  right: -20px;
  top: 30px;
  color: var(--primary);
  z-index: 1;
  background: var(--white);
  border-radius: 50%;
  padding: 8px;
}

@media (max-width: 900px) {
  .process-timeline {
    flex-direction: column;
    gap: 32px;
  }
  .process-arrow {
    display: none;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step { text-align: center; }

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: 0 10px 24px rgba(0,69,160, 0.35);
}

.step h4 { font-weight: 700; margin-bottom: 12px; color: var(--dark); font-size: 1.15rem; }
.step p { font-size: 1.02rem; }

/* Why */
.why { background: var(--bg-secondary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.why-card h4 { font-weight: 700; margin-bottom: 10px; color: var(--dark); font-size: 1.15rem; }
.why-card p { font-size: 1.08rem; }

/* Pricing */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: var(--white);
  border-radius: 28px;
  padding: 0;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--border);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

.pricing-card-header {
  padding: 40px 36px 28px;
}

.pricing-card h3 { margin-bottom: 12px; color: var(--dark); font-size: 1.4rem; font-weight: 800; }

.pricing-card > p { 
  font-size: 1rem; 
  margin: 0 0 24px; 
  padding: 0 36px;
  color: var(--grey);
}

.pricing-card-body {
  padding: 0 36px 36px;
}

.price-label {
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 4px;
}

.price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.price span { font-size: 1rem; color: var(--grey); font-weight: 500; }

.pricing-features { text-align: left; margin-bottom: 28px; }

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.pricing-card:hover::before {
  background: linear-gradient(90deg, var(--primary), var(--accent-blue-primary));
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 32px rgba(0,69,160, 0.2);
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, var(--primary), var(--accent-blue-primary));
  height: 6px;
}

.pricing-card.featured .pricing-card-header {
  background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
}

.pricing-card .btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
}

/* Documents */
.documents { background: var(--bg-light); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.doc-item {
  background: var(--white);
  padding: 32px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.doc-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.doc-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.doc-item h4 { font-weight: 700; font-size: 1.05rem; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1c1c1c 100%);
  text-align: center;
  color: var(--white);
  padding: 64px 0;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.15rem; }

.cta-section .btn-white { background: var(--white); color: var(--dark); margin: 0 10px; }
.cta-section .btn-white:hover { background: var(--primary-light); transform: translateY(-3px); }

.cta-section .btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.cta-section .btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Trust */
.trust { background: var(--white); }

.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background: var(--bg-light);
  border-radius: 22px;
  border: 1px solid var(--border);
}

.trust-badge-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 10px; }
.trust-badge p { font-size: 0.95rem; margin: 0; }

.testimonial {
  padding: 34px;
  background: var(--bg-light);
  border-radius: 22px;
  position: relative;
  border: 1px solid var(--border);
}

.testimonial::before {
  content: '"';
  font-size: 7rem;
  color: var(--primary);
  position: absolute;
  top: -15px;
  left: 28px;
  opacity: 0.12;
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 18px;
  padding-top: 24px;
}

.testimonial strong { color: var(--dark); font-weight: 700; }
.testimonial span { color: var(--grey); font-size: 0.9rem; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 56px 0 26px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); margin: 16px 0 24px; font-size: 1rem; }

.footer-social { display: flex; gap: 14px; }

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.25s;
}

.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col h4 { color: var(--white); margin-bottom: 28px; font-weight: 700; font-size: 1.15rem; }
.footer-col ul li { margin-bottom: 16px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 1.05rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: var(--white);
  padding: 16px 26px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s;
  font-weight: 700;
  font-size: 1rem;
}

.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55); }

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--bg-light) 0%, #ffecec 50%, var(--white) 100%);
  padding: 40px 24px;
}

.login-container { width: 100%; max-width: 440px; }

.login-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.login-logo .logo-icon { animation: float 4s ease-in-out infinite; }
.login-logo .logo-text { font-size: 1.65rem; }

.login-card h2 { text-align: center; margin-bottom: 8px; font-size: 1.85rem; }
.login-card > p { text-align: center; margin-bottom: 32px; }

.demo-info {
  background: linear-gradient(135deg, var(--primary-light), #d7e2f7);
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 26px;
  font-size: 0.94rem;
  color: var(--dark);
}

.demo-info strong { color: var(--primary); }

.login-form .form-group { margin-bottom: 20px; }

.login-form label {
  font-weight: 700;
  font-size: 0.98rem;
  display: block;
  margin-bottom: 8px;
}

.login-form input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,69,160, 0.1);
}

.login-form .btn { width: 100%; margin-top: 8px; }

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.98rem;
  color: var(--grey);
}

.login-footer a { color: var(--primary); font-weight: 700; }

/* Page Header */
.page-header {
  background: linear-gradient(165deg, var(--bg-light) 0%, var(--white) 100%);
  padding: 186px 0 56px;
  text-align: center;
}

.page-header h1 { margin-bottom: 18px; color: var(--dark); }
.page-header p { max-width: 640px; margin: 0 auto; font-size: 1.25rem; }

/* Content Section */
.content-section { padding: 56px 0; background: var(--white); }

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
}

.main-content h2 {
  color: var(--dark);
  margin-bottom: 24px;
  font-size: 2.2rem;
}

.main-content h3 {
  margin: 36px 0 18px;
  color: var(--dark-secondary);
  font-size: 1.45rem;
}

.main-content p {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.85;
}

.main-content ul { margin: 20px 0 30px 10px; }

.main-content li {
  margin-bottom: 14px;
  color: var(--grey);
  position: relative;
  padding-left: 28px;
  font-size: 1.1rem;
}

.main-content li::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.sidebar-box {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.sidebar-box h4 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 1.15rem;
}

.sidebar-box ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
}

.sidebar-box ul li:last-child { border-bottom: none; }

/* FAQ */
.faq-section { background: var(--bg-light); padding: 56px 0; }

.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}

.faq-question {
  padding: 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.15rem;
}

.faq-question:hover { background: var(--bg-light); }
.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--primary);
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 28px 28px;
  display: none;
  color: var(--grey);
  line-height: 1.8;
  font-size: 1.08rem;
}

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

/* Contact */
.contact-section { background: var(--white); padding: 56px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.contact-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.contact-icon {
  width: 62px;
  height: 62px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 { color: var(--dark); font-weight: 700; margin-bottom: 6px; font-size: 1.15rem; }
.contact-item p { margin: 0; font-size: 1.05rem; }

.contact-form {
  background: var(--bg-light);
  padding: 44px;
  border-radius: 22px;
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.08rem;
  transition: all 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,69,160, 0.1);
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-cta .btn-outline { display: none; }
  .mobile-toggle { display: flex; }
  nav {
    position: fixed;
    top: 112px; left: 0; width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    transform: translateY(-150%);
    transition: transform 0.3s;
    z-index: 999;
  }
  nav.active { transform: translateY(0); }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2.2rem; }
  section { padding: 48px 0; }
  .content-section, .faq-section, .contact-section { padding: 44px 0; }
  .problem-content, .trust-content, .contact-grid, .content-grid { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .doc-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }
}

/* =========================================================
   Direct2Tax additions - logo, offer bar, pricing surfaces
   ========================================================= */

/* Logo image usage */
.footer-brand .logo-img {
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  height: 34px;
}

.login-logo .logo-img { height: 34px; }

/* Pricing note */
.pricing-note {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--grey);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  line-height: 1.7;
}

/* Ribbon on the featured offer card */
.pricing-card.offer { border: 2px solid var(--accent-red); }
.pricing-card.offer::before { background: var(--accent-red); }
.pricing-card.offer .price { color: var(--accent-red); }
.pricing-card.offer .pricing-card-header {
  background: linear-gradient(180deg, #fff5f5 0%, transparent 100%);
}

.offer-ribbon {
  position: absolute;
  top: 16px;
  right: -36px;
  transform: rotate(45deg);
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 42px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(255, 49, 49, 0.35);
}

/* Wide (horizontal) pricing card - used for the ITR plan */
.pricing-card-wide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px 40px;
  margin-top: 26px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card-wide::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--primary);
}

.pricing-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-wide .pcw-main { flex: 1; }
.pricing-card-wide .pcw-kicker {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pricing-card-wide h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 8px; }
.pricing-card-wide p { font-size: 1.02rem; max-width: 640px; }
.pricing-card-wide .pcw-price { text-align: right; flex-shrink: 0; }
.pricing-card-wide .price { font-size: 2.6rem; margin-bottom: 14px; }
.pricing-card-wide .btn { min-width: 190px; }

/* Compact price list used on the detailed pricing pages */
.price-list { display: grid; gap: 22px; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 34px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.price-row:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08); }

.price-row .pr-main { flex: 1; }
.price-row h3 { color: var(--dark); font-size: 1.25rem; margin-bottom: 6px; }
.price-row p { font-size: 1rem; }
.price-row .pr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.pr-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 20px;
  padding: 5px 13px;
}

.price-row .pr-price {
  text-align: right;
  flex-shrink: 0;
  min-width: 170px;
}

.price-row .pr-price .price { font-size: 2.4rem; margin-bottom: 12px; }
.price-row .pr-price .btn { width: 100%; padding: 13px 24px; font-size: 0.98rem; }

.price-row.featured { border: 2px solid var(--accent-red); position: relative; }
.price-row.featured .price { color: var(--accent-red); }

.featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Five-up pricing grid (homepage) */
.pricing-grid.pricing-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pricing-grid.pricing-grid-5 .pricing-card { padding: 30px 22px; }
.pricing-grid.pricing-grid-5 .pricing-card h3 { font-size: 1.12rem; min-height: 3.2rem; }
.pricing-grid.pricing-grid-5 .price { font-size: 2rem; }
.pricing-grid.pricing-grid-5 .price-label { font-size: 0.78rem; }
.pricing-grid.pricing-grid-5 .pricing-card-body > p { font-size: 0.95rem; }
.pricing-grid.pricing-grid-5 .pricing-features li { font-size: 0.92rem; padding: 7px 0; }
.pricing-grid.pricing-grid-5 .pricing-card .btn { width: 100%; font-size: 1rem; padding: 15px 14px; }

@media (max-width: 1100px) {
  .pricing-grid.pricing-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing-grid.pricing-grid-5 .pricing-card { padding: 38px; }
  .pricing-grid.pricing-grid-5 .pricing-card h3 { min-height: 0; }
}
@media (max-width: 768px) {
  .pricing-grid.pricing-grid-5 { grid-template-columns: 1fr; }
}

/* Two-column service selector used under the pricing nav item on mobile */
@media (max-width: 1340px) and (min-width: 769px) {
  .header-inner { gap: 10px; }
  .logo-img { height: 32px; }
  nav > a,
  .nav-drop-trigger { padding: 11px 12px; font-size: 0.95rem; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 11px 18px; font-size: 0.93rem; }
}

@media (max-width: 1050px) and (min-width: 769px) {
  .header-inner { gap: 8px; }
  .logo-img { height: 28px; }
  nav > a,
  .nav-drop-trigger { padding: 10px 9px; font-size: 0.9rem; }
  /* Both header buttons lead to login.php - keep only the primary one here */
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  .offer-bar .container { gap: 10px; font-size: 0.8rem; padding-top: 8px; padding-bottom: 8px; }
  .offer-bar .offer-cta { display: none; }
  .logo-img { height: 30px; }

  .nav-drop { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; }
  .nav-drop-card {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    margin-top: 8px;
    display: none;
  }
  .nav-drop-card::before { display: none; }
  .nav-drop.open .nav-drop-card {
    display: grid;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .pricing-card-wide { flex-direction: column; align-items: flex-start; padding: 28px; }
  .pricing-card-wide .pcw-price { text-align: left; width: 100%; }
  .price-row { flex-direction: column; align-items: flex-start; padding: 24px; }
  .price-row .pr-price { text-align: left; width: 100%; min-width: 0; }
}

