/* ===== GoQuickTool — Global Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(25, 34, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-border: rgba(255, 255, 255, 0.08);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;

  --gradient-main: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
  --gradient-cyan-purple: linear-gradient(135deg, #06b6d4, #8b5cf6);
  --gradient-purple-pink: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-green-cyan: linear-gradient(135deg, #10b981, #06b6d4);
  --gradient-orange-pink: linear-gradient(135deg, #f59e0b, #ec4899);

  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --header-height: 72px;
  --max-width: 1200px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }

/* ---------- Background Ambient Glow ---------- */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   HEADER
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
  z-index: 1000;
  transition: background var(--transition-base);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo .go { color: var(--text-primary); }
.logo .quick { background: var(--gradient-cyan-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo .tool { color: var(--text-primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-menu a.active {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

/* ============================
   TOOL CARDS (Homepage)
   ============================ */
.tools-section {
  padding: 40px 0 100px;
  position: relative;
  z-index: 1;
}

.tools-section .section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tools-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.tool-card:nth-child(1)::before { background: var(--gradient-cyan-purple); }
.tool-card:nth-child(2)::before { background: var(--gradient-purple-pink); }
.tool-card:nth-child(3)::before { background: var(--gradient-green-cyan); }
.tool-card:nth-child(4)::before { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.tool-card:nth-child(5)::before { background: var(--gradient-orange-pink); }

.tool-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 255, 255, 0.12);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.tool-card:nth-child(1) .tool-icon { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.tool-card:nth-child(2) .tool-icon { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.tool-card:nth-child(3) .tool-icon { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.tool-card:nth-child(4) .tool-icon { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }
.tool-card:nth-child(5) .tool-icon { background: rgba(245, 158, 11, 0.12); color: var(--accent-orange); }

.tool-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tool-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.tool-card:nth-child(1) .card-link { color: var(--accent-cyan); }
.tool-card:nth-child(2) .card-link { color: var(--accent-purple); }
.tool-card:nth-child(3) .card-link { color: var(--accent-green); }
.tool-card:nth-child(4) .card-link { color: var(--accent-pink); }
.tool-card:nth-child(5) .card-link { color: var(--accent-orange); }

.tool-card .card-link:hover {
  gap: 10px;
}

.card-link .arrow {
  transition: transform var(--transition-fast);
}

.tool-card:hover .card-link .arrow {
  transform: translateX(4px);
}

/* ============================
   CALCULATOR PAGE LAYOUT
   ============================ */
.calc-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.calc-page .page-header {
  text-align: center;
  margin-bottom: 48px;
}

.calc-page .page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.calc-page .page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

/* Calculator Input Panel */
.calc-input-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.input-group {
  margin-bottom: 28px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.input-group .value-display {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Range Slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

/* Number Input */
.num-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color var(--transition-fast);
  margin-top: 8px;
}

.num-input:focus {
  border-color: var(--accent-cyan);
}

/* Select */
.select-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.select-input:focus {
  border-color: var(--accent-cyan);
}

.select-input option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Calculator Result Panel */
.calc-result-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* SVG Doughnut Chart */
.chart-container {
  width: 220px;
  height: 220px;
  margin-bottom: 32px;
  position: relative;
}

.chart-container svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.chart-container .chart-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.chart-center-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chart-center-text .amount {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Result Stats */
.result-stats {
  width: 100%;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-row .result-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.result-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.invested { background: var(--accent-cyan); }
.dot.returns { background: var(--accent-purple); }
.dot.total { background: var(--accent-green); }
.dot.interest { background: var(--accent-pink); }
.dot.principal { background: var(--accent-cyan); }
.dot.emi { background: var(--accent-orange); }

.result-row .result-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-row.highlight {
  background: rgba(16, 185, 129, 0.06);
  margin: 8px -16px 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.result-row.highlight .result-value {
  color: var(--accent-green);
  font-size: 1.15rem;
}

/* ============================
   FORMULA SECTION
   ============================ */
.formula-section {
  max-width: 960px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.formula-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.formula-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.formula-section .formula-box {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin: 16px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

.formula-section ul {
  padding-left: 20px;
}

.formula-section ul li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  list-style: disc;
}

.formula-section ul li strong {
  color: var(--text-primary);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: rgba(10, 15, 30, 0.9);
  border-top: 1px solid var(--bg-glass-border);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-about .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--bg-glass-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================
   SEO CONTENT SECTIONS
   ============================ */
.seo-content {
  max-width: 960px;
  margin: 48px auto 0;
  position: relative;
  z-index: 1;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 24px;
}

.content-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 20px 0 12px;
  color: var(--text-primary);
}

.content-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block strong {
  color: var(--text-primary);
}

.content-block ul,
.content-block ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-block ul li,
.content-block ol li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  list-style: disc;
  margin-bottom: 6px;
}

.content-block ol li {
  list-style: decimal;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.04);
}

.feature-item .feat-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: rgba(6, 182, 212, 0.08);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.comparison-table tbody td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ Accordion */
.faq-list {
  margin-top: 16px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Steps */
.steps-list {
  counter-reset: step;
  margin: 20px 0;
}

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

.step-num {
  counter-increment: step;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item p {
  margin-bottom: 0;
}

/* Highlight Callout */
.callout {
  background: rgba(6, 182, 212, 0.06);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .content-block {
    padding: 24px;
  }

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

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
  }
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-in-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-page .page-header h1 {
    font-size: 1.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition-base);
    border-left: 1px solid var(--bg-glass-border);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .formula-section {
    padding: 24px;
  }

  .calc-input-panel,
  .calc-result-panel {
    padding: 24px;
  }

  .chart-container {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 130px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* ============================
   POLICY PAGES (Privacy, Terms, Disclaimer)
   ============================ */
.policy-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(10px);
}

.policy-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.policy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 32px;
}

.policy-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.policy-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-section ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 8px;
}

/* ============================
   ABOUT SECTION & STATS
   ============================ */
.about-section {
  padding: 80px 0;
  border-top: 1px solid var(--bg-glass-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-item .feat-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}

.stat-card h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================
   SEO FOOTER CONTENT
   ============================ */
.seo-footer-content {
  padding: 0 0 80px;
}

.seo-footer-content .content-block {
  border: 1px solid var(--bg-glass-border);
  background: var(--bg-card);
  padding: 40px;
}

.seo-footer-content h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.seo-footer-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================
   HOW IT WORKS (Homepage)
   ============================ */
.how-it-works {
  padding: 80px 0;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 30px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-faqs {
  padding: 40px 0 80px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-menu { right: -100%; }
  .nav-menu.open { right: 0; display: flex; flex-direction: column; }
  .hamburger { display: flex; }
}

/* ============================
   BLOG PAGE
   ============================ */
.blog-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.blog-page .page-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-page .page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.blog-page .page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card:nth-child(3n+1)::before { background: var(--gradient-cyan-purple); }
.blog-card:nth-child(3n+2)::before { background: var(--gradient-purple-pink); }
.blog-card:nth-child(3n+3)::before { background: var(--gradient-green-cyan); }

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-card);
  background: var(--bg-card-hover);
}

.blog-card:hover::before { opacity: 1; }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(139,92,246,0.15));
}

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.6;
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-tag.investing { background: rgba(6,182,212,0.12); color: var(--accent-cyan); }
.blog-tag.sip { background: rgba(139,92,246,0.12); color: var(--accent-purple); }
.blog-tag.emi { background: rgba(245,158,11,0.12); color: var(--accent-orange); }
.blog-tag.savings { background: rgba(16,185,129,0.12); color: var(--accent-green); }
.blog-tag.tax { background: rgba(236,72,153,0.12); color: var(--accent-pink); }
.blog-tag.general { background: rgba(255,255,255,0.06); color: var(--text-secondary); }

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.blog-read-more:hover { gap: 10px; }

/* Blog Featured Banner */
.blog-featured {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
  transition: all var(--transition-base);
  position: relative;
}

.blog-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255,255,255,0.12);
}

.blog-featured-img {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(139,92,246,0.15));
  position: relative;
  overflow: hidden;
}

.blog-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(6,182,212,0.15), transparent 70%);
}

.blog-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.blog-featured-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-featured-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog Section Title */
.blog-section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bg-glass-border);
}

/* Blog coming soon / empty state */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.blog-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.blog-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Nav blog link highlight */
.nav-menu a.blog-link {
  position: relative;
  color: var(--accent-cyan);
}

.nav-menu a.blog-link::after {
  content: 'NEW';
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gradient-purple-pink);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    min-height: 180px;
  }
  .blog-featured-body {
    padding: 28px;
  }
  .blog-featured-title {
    font-size: 1.3rem;
  }
  .blog-page .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .blog-card-body { padding: 20px; }
}
