/* ApliNati — vibrant Indian palette: saffron, green, blue on cream */
:root {
  --primary: #F58220;
  --primary-dark: #C25A0E;
  --primary-light: #FFA552;
  --secondary: #7CB342;
  --secondary-dark: #558B2F;
  --tertiary: #1976D2;
  --tertiary-dark: #004BA0;
  --surface: #FFF8E7;
  --background: #FFFCF2;
  --on-surface: #1A1206;
  --hint: #8E8073;
  --divider: #EDE0C8;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface);
  background: var(--background);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tertiary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-surface);
}
.logo img { width: 44px; height: 44px; }
.logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
nav ul { list-style: none; display: flex; gap: 28px; }
nav a {
  color: var(--on-surface);
  font-weight: 500;
  font-size: 15px;
}
nav a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
  padding: 64px 0 80px;
  text-align: center;
}
.hero img.hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}
.hero h1 {
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero .tagline {
  font-size: 20px;
  color: var(--tertiary);
  margin-bottom: 32px;
}
.hero p.lede {
  font-size: 17px;
  color: var(--on-surface);
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 130, 32, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--surface); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); }

h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--hint);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  background: white;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px 24px;
}
.feature .icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: inline-block;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 10px;
  text-align: center;
  line-height: 48px;
}
.feature.green .icon { background: rgba(124, 179, 66, 0.15); color: var(--secondary-dark); }
.feature.orange .icon { background: rgba(245, 130, 32, 0.15); color: var(--primary-dark); }
.feature.blue .icon { background: rgba(25, 118, 210, 0.15); color: var(--tertiary-dark); }
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--on-surface);
}
.feature p { color: var(--hint); font-size: 15px; }

/* Privacy commitment block */
.commitment {
  background: white;
  border: 2px solid var(--secondary);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.commitment .badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--secondary);
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Legal pages */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 8px;
}
.legal .effective {
  color: var(--hint);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}
.legal h2 {
  font-size: 22px;
  color: var(--tertiary-dark);
  margin: 32px 0 12px;
  text-align: left;
}
.legal h3 {
  font-size: 17px;
  color: var(--on-surface);
  margin: 20px 0 8px;
}
.legal p, .legal li {
  margin-bottom: 12px;
  color: var(--on-surface);
}
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal strong { color: var(--primary-dark); }

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 40px 0 24px;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
footer .col h4 {
  font-size: 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
footer a { color: var(--on-surface); font-size: 14px; }
footer .copyright {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--hint);
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--divider);
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 18px; }
  nav ul { gap: 16px; }
  nav a { font-size: 14px; }
  .logo span { font-size: 18px; }
  h2 { font-size: 26px; }
  section { padding: 48px 0; }
  .legal h1 { font-size: 28px; }
}
