/* =============================================
   BHULEGA NAHI CONSULTING — terms.css
   Terms of Service Page Styles
   ============================================= */

:root {
  --sky-light:  #e0f2fe;
  --sky-mid:    #7dd3fc;
  --sky-main:   #0ea5e9;
  --sky-dark:   #0369a1;
  --sky-deep:   #0c4a6e;
  --white:      #ffffff;
  --off-white:  #f0f9ff;
  --text-dark:  #0c2340;
  --text-mid:   #334e68;
  --text-soft:  #64748b;
  --border:     #e0f2fe;
  --green:      #22c55e;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', 'Segoe UI', sans-serif;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(14,165,233,0.10);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 15px;
}
a { color: var(--sky-main); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 66px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-icon { font-size: 1.8rem; }
.logo-title {
  display: block; font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 900;
  color: var(--sky-dark); line-height: 1.1;
}
.logo-sub {
  display: block; font-size: 0.65rem;
  letter-spacing: 0.16em; color: var(--text-soft);
  text-transform: uppercase;
}
.back-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--sky-dark); padding: 8px 18px;
  border-radius: 50px; border: 1.5px solid var(--sky-mid);
  transition: var(--transition);
}
.back-link:hover { background: var(--sky-light); text-decoration: none; }

/* ── Hero ── */
.terms-hero {
  background: linear-gradient(150deg, var(--off-white) 0%, var(--sky-light) 60%, #bae6fd 100%);
  padding: 64px 0 52px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; opacity: 0.20;
}
.g1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--sky-main), transparent);
  top: -150px; right: -100px;
}
.g2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--sky-mid), transparent);
  bottom: -70px; left: -60px; opacity: 0.28;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.28);
  color: var(--sky-dark); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 50px; margin-bottom: 18px;
  animation: fadeUp 0.5s ease both;
}
.terms-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900; color: var(--text-dark);
  line-height: 1.15; margin-bottom: 14px;
  animation: fadeUp 0.5s ease 0.1s both;
}
.terms-hero h1 span { color: var(--sky-main); }
.terms-hero p {
  font-size: 1rem; color: var(--text-mid);
  max-width: 560px; margin-bottom: 24px;
  animation: fadeUp 0.5s ease 0.2s both;
}
.effective-badge {
  display: inline-flex; align-items: center;
  gap: 8px; background: var(--white);
  border: 1.5px solid var(--sky-mid);
  border-radius: 10px; padding: 10px 18px;
  font-size: 0.82rem; color: var(--text-mid);
  box-shadow: var(--shadow); flex-wrap: wrap;
  animation: fadeUp 0.5s ease 0.3s both;
}
.effective-badge strong { color: var(--sky-dark); }

/* ── TOC ── */
.toc-bar {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px; margin: 40px 0 0;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease 0.4s both;
}
.toc-bar h3 {
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700;
  color: var(--sky-dark); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 20px; list-style: none;
}
.toc-list li a {
  font-size: 0.83rem; color: var(--text-mid);
  font-weight: 500; display: flex;
  align-items: center; gap: 6px;
  padding: 4px 0; transition: color 0.2s;
}
.toc-list li a:hover { color: var(--sky-main); text-decoration: none; }
.toc-list li a::before { content: '→'; color: var(--sky-mid); font-size: 0.75rem; }

/* ── Terms Body ── */
.terms-body { padding: 52px 0 80px; }

.terms-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
}
.terms-section:last-child { border-bottom: none; margin-bottom: 0; }

.section-number {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sky-main); margin-bottom: 8px;
}
.terms-section h2 {
  font-family: var(--font-head);
  font-size: 1.45rem; font-weight: 900;
  color: var(--text-dark); margin-bottom: 16px;
  line-height: 1.2;
}
.terms-section p {
  color: var(--text-mid); margin-bottom: 14px; font-size: 0.95rem;
}
.terms-section p:last-child { margin-bottom: 0; }
.terms-section ul { list-style: none; margin: 14px 0; padding: 0; }
.terms-section ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-mid); font-size: 0.93rem;
  margin-bottom: 9px; padding: 10px 14px;
  background: var(--off-white);
  border-left: 3px solid var(--sky-mid);
  border-radius: 0 8px 8px 0;
}
.terms-section ul li::before {
  content: '✦'; color: var(--sky-main);
  font-size: 0.7rem; margin-top: 3px; flex-shrink: 0;
}

/* ── Info & Warning Boxes ── */
.info-box {
  background: linear-gradient(135deg, var(--sky-light), #bae6fd);
  border: 1.5px solid var(--sky-mid);
  border-radius: var(--radius); padding: 18px 20px;
  margin: 18px 0; font-size: 0.88rem; color: var(--sky-deep);
  display: flex; gap: 12px; align-items: flex-start;
}
.info-box .box-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.warn-box {
  background: #fef9ee; border: 1.5px solid #fcd34d;
  border-radius: var(--radius); padding: 18px 20px;
  margin: 18px 0; font-size: 0.88rem; color: #78350f;
  display: flex; gap: 12px; align-items: flex-start;
}
.warn-box .box-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

/* ── Data Table ── */
.data-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: 0.88rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table thead tr { background: linear-gradient(135deg, var(--sky-dark), var(--sky-deep)); }
.data-table thead th {
  padding: 13px 16px; text-align: left;
  color: var(--white); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.06em;
}
.data-table tbody tr:nth-child(even) { background: var(--off-white); }
.data-table tbody tr:nth-child(odd)  { background: var(--white); }
.data-table tbody tr:hover           { background: var(--sky-light); transition: background 0.2s; }
.data-table tbody td {
  padding: 12px 16px; color: var(--text-mid);
  border-bottom: 1px solid var(--border); vertical-align: top;
}

/* ── Refund Policy Grid ── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin: 20px 0;
}
.policy-card {
  border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.policy-card.green {
  background: #f0fdf4; border-color: #86efac;
}
.policy-card.yellow {
  background: #fefce8; border-color: #fde047;
}
.policy-card.red {
  background: #fff1f2; border-color: #fca5a5;
}
.policy-card.blue {
  background: var(--off-white); border-color: var(--sky-mid);
}
.policy-card .pc-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.policy-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text-dark);
}
.policy-card p { font-size: 0.82rem; color: var(--text-soft); line-height: 1.55; }

/* ── Contact Card ── */
.contact-card {
  background: linear-gradient(135deg, var(--sky-deep), var(--sky-dark));
  border-radius: 18px; padding: 32px 28px;
  color: var(--white); margin-top: 24px;
}
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem; margin-bottom: 18px; color: var(--sky-mid);
}
.contact-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; font-size: 0.9rem;
}
.contact-row .cr-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-row a { color: var(--sky-mid); }
.contact-row a:hover { color: var(--white); text-decoration: none; }

/* ── Footer ── */
.footer {
  background: var(--sky-deep);
  color: rgba(255,255,255,0.7);
  padding: 32px 0; text-align: center;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.footer-tagline { font-size: 0.82rem; margin-bottom: 10px; }
.footer-links {
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap; margin: 10px 0;
}
.footer-links a { font-size: 0.82rem; color: var(--sky-mid); }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.32); margin-top: 8px; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .terms-hero { padding: 44px 0 36px; }
  .toc-list { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .data-table { font-size: 0.78rem; }
  .data-table thead th,
  .data-table tbody td { padding: 9px 10px; }
  .effective-badge { flex-direction: column; gap: 6px; }
}
@media (max-width: 400px) {
  .policy-grid { grid-template-columns: 1fr; }
}