/* ===========================
   MOBILE RECHARGE GUIDE
   style.css
   =========================== */

:root {
  --primary: #1a6fb5;
  --primary-dark: #0f4f8a;
  --primary-light: #3a8fd4;
  --accent: #00c4b4;
  --accent-light: #e0faf8;
  --bg: #f8fbff;
  --bg-alt: #eef5fb;
  --white: #ffffff;
  --text: #1a2535;
  --text-mid: #3d5170;
  --text-muted: #6b829a;
  --border: #d0e3f5;
  --card-shadow: 0 2px 16px rgba(26, 111, 181, 0.08);
  --card-shadow-hover: 0 8px 32px rgba(26, 111, 181, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

address { font-style: normal; line-height: 1.8; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === DISCLAIMER BAR === */
.disclaimer-bar {
  background: #fff8e6;
  border-bottom: 1px solid #f5d98a;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #7a5700;
}

/* === HEADER & NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(26,111,181,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 400;
}
.logo-icon { font-size: 1.4rem; color: var(--accent); }
.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--accent-light);
  color: var(--primary);
}

/* Mobile nav toggle */
.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO === */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2a90d4 100%);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,196,180,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title em {
  color: #7ee8df;
  font-style: italic;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: #00a89a; color: var(--white); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--accent-light); color: var(--primary-dark); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num { display: block; font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--white); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-wave { line-height: 0; margin-top: 20px; }
.hero-wave svg { width: 100%; height: 60px; }

/* === SECTIONS === */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 48px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--text);
}

.section-intro {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 40px;
}

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }

.card-featured {
  border-color: var(--primary-light);
  border-top: 4px solid var(--accent);
}

.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary-dark); }
.card p { color: var(--text-mid); margin-bottom: 12px; font-size: 0.95rem; }
.card p:last-child { margin-bottom: 0; }

/* === USAGE GRID === */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.usage-item { position: relative; padding-left: 24px; }
.usage-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.usage-item h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 10px; }
.usage-item p { color: var(--text-mid); font-size: 0.95rem; }

.info-box {
  background: var(--accent-light);
  border: 1px solid rgba(0,196,180,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.info-box-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

/* === FLOW STEPS === */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.flow-icon { font-size: 2rem; margin-bottom: 12px; }
.flow-step h4 { font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.flow-step p { font-size: 0.85rem; color: var(--text-muted); }

.flow-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  align-self: center;
  flex-shrink: 0;
  font-weight: bold;
}

/* === CTA STRIP === */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.8); max-width: 480px; }

/* === QUICK LINKS === */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--text);
}
.quick-link:hover { border-color: var(--accent); background: var(--accent-light); color: var(--primary); transform: translateX(4px); }
.ql-icon { font-size: 1.3rem; flex-shrink: 0; }
.ql-text { flex: 1; font-weight: 500; font-size: 0.95rem; }
.ql-arrow { color: var(--text-muted); transition: color var(--transition); }
.quick-link:hover .ql-arrow { color: var(--accent); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero .page-hero-sub { color: rgba(255,255,255,0.8); max-width: 560px; }
.page-hero .breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* === EDUCATION PAGE === */
.edu-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.edu-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
  box-shadow: var(--card-shadow);
}
.edu-sidebar h3 { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.edu-sidebar ul { list-style: none; }
.edu-sidebar li { margin-bottom: 4px; }
.edu-sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.edu-sidebar a:hover { background: var(--accent-light); color: var(--primary); }

.edu-article { display: flex; flex-direction: column; gap: 56px; }
.edu-section { scroll-margin-top: 80px; }
.edu-section h2 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 16px; border-bottom: 2px solid var(--border); padding-bottom: 12px; }
.edu-section p { color: var(--text-mid); margin-bottom: 16px; }
.edu-section ul { margin: 0 0 16px 20px; color: var(--text-mid); }
.edu-section ul li { margin-bottom: 8px; }

.edu-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.edu-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
}
.edu-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.edu-table tr:nth-child(even) td { background: var(--bg-alt); }

/* === BLOG PAGE === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }

.blog-card-thumb {
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.blog-card-body { padding: 28px; }
.blog-card-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--primary-dark); }
.blog-card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 20px; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 16px; }

.blog-article { max-width: 760px; scroll-margin-top: 80px; }
.blog-article h2 { font-size: 1.6rem; color: var(--primary-dark); margin: 40px 0 16px; }
.blog-article p { color: var(--text-mid); margin-bottom: 16px; }
.blog-article ul { margin: 0 0 16px 20px; color: var(--text-mid); }
.blog-article ul li { margin-bottom: 8px; }

/* === LEGAL PAGES === */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.3rem; color: var(--primary-dark); margin: 32px 0 12px; }
.legal-content p { color: var(--text-mid); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; color: var(--text-mid); }
.legal-content ul li { margin-bottom: 8px; }
.legal-content .disclaimer-box {
  background: #fff4e0;
  border: 2px solid #f5c842;
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.legal-content .disclaimer-box h2 { margin-top: 0; color: #7a5700; }
.legal-content .disclaimer-box p { color: #7a5700; }
.legal-content .last-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }

/* === FOOTER === */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 320px; margin-bottom: 16px; }
.footer-brand address { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-brand a { color: rgba(255,255,255,0.7); }
.footer-brand a:hover { color: var(--accent); }

.footer-links { display: flex; gap: 48px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom strong { color: rgba(255,255,255,0.75); }
.copyright { margin-top: 8px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav-toggle-label { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .nav-links a { display: block; padding: 10px 16px; }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav { position: relative; }

  .hero { padding: 48px 0 0; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }

  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-step { max-width: 100%; width: 100%; }

  .cta-inner { flex-direction: column; text-align: center; }

  .edu-grid { grid-template-columns: 1fr; }
  .edu-sidebar { position: static; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .cards-grid, .usage-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
