/* Pruthi CPA - dark tech theme */
:root {
  --bg: #0a0e17;
  --bg-2: #0f1524;
  --card: #121a2c;
  --card-hover: #16203a;
  --border: #1f2b47;
  --text: #e6ebf4;
  --muted: #94a3bf;
  --accent: #4f8ff7;
  --accent-2: #38bdf8;
  --accent-soft: rgba(79, 143, 247, 0.12);
  --grad: linear-gradient(120deg, #4f8ff7, #38bdf8);
  --radius: 14px;
  --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.2; letter-spacing: -0.01em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--grad); color: #071120 !important; font-weight: 600;
  padding: 9px 18px; border-radius: 8px; font-size: 0.9rem;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; right: -150px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,143,247,0.18), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -250px; left: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.1), transparent 65%); pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; max-width: 780px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--grad); color: #071120; font-weight: 600; padding: 13px 26px;
  border-radius: 10px; font-size: 1rem; display: inline-block;
}
.btn-primary:hover { opacity: 0.9; text-decoration: none; }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text); font-weight: 500;
  padding: 13px 26px; border-radius: 10px; font-size: 1rem; display: inline-block;
}
.btn-ghost:hover { background: var(--card); text-decoration: none; }

/* Credential strip */
.cred-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.cred-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; gap: 12px 36px; flex-wrap: wrap; justify-content: center;
}
.cred-item { font-size: 0.84rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cred-item::before { content: '✓'; color: var(--accent-2); font-weight: 700; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .kicker { color: var(--accent-2); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); background: var(--card-hover); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .std { display: inline-block; margin-top: 14px; font-size: 0.75rem; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }

/* List blocks */
.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.check-list li strong { color: var(--text); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 10px;
}
.step h4 { font-size: 0.98rem; margin-bottom: 6px; }
.step p { font-size: 0.84rem; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 70px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: var(--muted); margin: 14px auto 30px; max-width: 560px; }

/* Page hero (interior) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -220px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(79,143,247,0.15), transparent 65%); pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 760px; position: relative; }
.page-hero p { color: var(--muted); margin-top: 16px; max-width: 640px; font-size: 1.08rem; position: relative; }

/* Service detail rows */
.svc-group { margin-bottom: 56px; }
.svc-group > h2 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-group > .group-note { color: var(--muted); margin-bottom: 26px; max-width: 720px; }

/* Contact */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-card h3 { margin-bottom: 16px; }
.contact-card dl dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 18px; }
.contact-card dl dd { font-size: 1.02rem; margin-top: 4px; }

/* Table */
.cred-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.92rem; }
.cred-table th, .cred-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.cred-table th { color: var(--accent-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cred-table td { color: var(--muted); }
.cred-table td:first-child { color: var(--text); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-field textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 52px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 0.9rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--muted); font-size: 0.9rem; }
.foot-grid a:hover { color: var(--text); }
.foot-grid p { color: var(--muted); font-size: 0.9rem; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; line-height: 1.7; }

/* Responsive */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 24px; gap: 18px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
