/* Hisaab — Global Stylesheet */
:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --saffron: #FF9933;
  --saffron-light: #FFF3E0;
  --navy: #1A1F36;
  --navy-light: #2D3561;
  --text: #1A1F36;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --bg: #FAFAF8;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,31,54,0.08);
  --shadow-lg: 0 12px 48px rgba(26,31,54,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.7; }

a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--navy);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--green-dark); font-weight: 600; }
.btn-nav {
  background: var(--green); color: white !important;
  padding: 8px 20px; border-radius: 8px;
  font-size: 0.85rem !important; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--green-dark) !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: all 0.2s; border: none;
}
.btn-primary {
  background: var(--green); color: white;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.btn-secondary {
  background: white; color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green-dark); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e3a5f 100%);
  color: white; padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,211,102,0.2); border: 1px solid rgba(37,211,102,0.4);
  color: var(--green); padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--green); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: auto; display: block; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item .stat-num { font-size: 1.75rem; font-weight: 800; color: var(--green); }
.stat-item .stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step-card {
  background: white; border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  border: 1px solid var(--border); position: relative;
  box-shadow: var(--shadow);
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: white;
  font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1rem; color: var(--navy); }
.step-arrow {
  position: absolute; right: -13px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px; background: var(--saffron);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.7rem; z-index: 1;
}
.step-card:last-child .step-arrow { display: none; }

/* ── Why cards ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.why-card {
  background: white; border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--saffron-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
}
.why-card h3 { color: var(--navy); margin-bottom: 10px; }

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-card {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.feature-badge {
  display: inline-block; background: var(--saffron-light); color: var(--saffron);
  border: 1px solid rgba(255,153,51,0.3);
  padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 12px;
}
.feature-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }

/* ── Trust score section ── */
.trust-section { background: var(--navy); color: white; }
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust-inner h2 { color: white; }
.trust-inner p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.trust-signals { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.signal-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.07); border-radius: 10px; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
}
.signal-icon { font-size: 1.25rem; width: 32px; text-align: center; flex-shrink: 0; }
.signal-item span { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.trust-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.trust-image img { width: 100%; display: block; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white; text-align: center; padding: 80px 24px;
}
.cta-banner h2 { color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }

/* ── Activity page ── */
.activity-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white; padding: 80px 0 60px;
}
.activity-hero h1 { color: white; }
.activity-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 16px; }
.activity-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,153,51,0.2); border: 1px solid rgba(255,153,51,0.4);
  color: var(--saffron); padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.activity-grid { display: grid; gap: 40px; margin-top: 40px; }
.activity-card {
  background: white; border-radius: 16px; padding: 40px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.activity-card-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.activity-num {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1.1rem;
}
.activity-card h2 { font-size: 1.4rem; color: var(--navy); }
.activity-card h3 { color: var(--navy); margin: 20px 0 10px; font-size: 1rem; }
.activity-card p { margin-bottom: 12px; }
.activity-card ul { padding-left: 20px; }
.activity-card li { color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }
.activity-card li strong { color: var(--navy); }
.use-case-box {
  background: var(--saffron-light); border-left: 4px solid var(--saffron);
  border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 16px 0;
}
.use-case-box p { color: var(--text); }
.ai-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.ai-role {
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px;
  padding: 14px 16px;
}
.ai-role .role-icon { font-size: 1.25rem; margin-bottom: 6px; }
.ai-role strong { font-size: 0.85rem; color: var(--green-dark); display: block; margin-bottom: 4px; }
.ai-role p { font-size: 0.8rem; margin: 0; }
.differentiator {
  background: var(--navy); color: white;
  border-radius: 12px; padding: 24px 28px; margin: 20px 0;
}
.differentiator h3 { color: var(--green); margin-bottom: 8px; }
.differentiator p { color: rgba(255,255,255,0.8); margin: 0; }
.tech-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.tech-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #F8FAFC; border: 1px solid var(--border); border-radius: 10px; padding: 14px;
}
.tech-item .tech-icon { font-size: 1.25rem; flex-shrink: 0; }
.tech-item div strong { font-size: 0.85rem; color: var(--navy); display: block; }
.tech-item div p { font-size: 0.8rem; margin: 0; }
.demo-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px; padding: 28px 32px; margin: 16px 0;
  color: white; font-style: italic; line-height: 1.8; font-size: 1rem;
}
.demo-box::before { content: '"'; font-size: 3rem; color: var(--green); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.judging-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.judging-item {
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 16px;
}
.judging-item .check { color: var(--green); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.judging-item h4 { color: var(--navy); margin-bottom: 6px; font-size: 0.9rem; }
.judging-item p { font-size: 0.8rem; }
.name-rationale {
  background: var(--saffron-light); border-radius: 12px; padding: 24px 28px; margin: 20px 0;
  border: 1px solid rgba(255,153,51,0.2);
}
.name-rationale h3 { color: var(--saffron); margin-bottom: 8px; }

/* ── Footer ── */
footer {
  background: var(--navy); color: rgba(255,255,255,0.5);
  padding: 40px 0; text-align: center; font-size: 0.85rem;
}
footer a { color: var(--green); }
footer strong { color: white; }

/* ── Section headers ── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block; color: var(--green-dark); font-weight: 600;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { font-size: 1rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner, .trust-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .feature-grid { grid-template-columns: 1fr; }
  .ai-roles, .judging-grid { grid-template-columns: 1fr 1fr; }
  .tech-stack { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .ai-roles, .judging-grid { grid-template-columns: 1fr; }
}
