/* ============================================================
   SANIGUMEL — HOMEPAGE STYLESHEET (v3, light theme)
   White background, blue-to-purple gradient accents. Poppins.
   Mobile-first, fully responsive.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ink: #14162b;
  --muted: #6b7290;
  --line: #e7e9f3;
  --blue: #2563eb;
  --purple: #7c3aed;
  --grad: linear-gradient(135deg, var(--blue), var(--purple));
  --card-shadow: 0 10px 30px rgba(20, 22, 43, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; }

.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}

.nav-links { display: none; align-items: center; gap: 26px; }

.nav-links a { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-icon { display: flex; align-items: center; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-toggle-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px;
  padding: 8px 13px; color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.lang-toggle-btn:hover { border-color: var(--blue); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  min-width: 150px; overflow: hidden; display: none; z-index: 350;
  box-shadow: var(--card-shadow);
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: var(--ink); padding: 11px 15px; font-size: 13.5px; cursor: pointer;
}
.lang-dropdown button:hover { background: var(--bg-soft); color: var(--blue); }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; }

.mobile-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(20,22,43,0.4);
  z-index: 399; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 320px;
  background: #fff; border-left: 1px solid var(--line); z-index: 400;
  padding: 90px 22px 30px; display: flex; flex-direction: column; gap: 10px;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); font-size: 15px; font-weight: 600; color: var(--ink);
}
.mobile-drawer a:hover { border-color: var(--blue); }
.drawer-close {
  position: absolute; top: 20px; right: 20px; width: 38px; height: 38px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font-size: 20px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  padding: 50px 24px 40px; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}

.hero-hi { font-size: 15px; font-weight: 600; color: var(--blue); margin: 0 0 6px; }

.hero-name {
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 18px;
}
.hero-name .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-checklist { margin-bottom: 18px; }
.hero-checklist li {
  display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.hero-checklist .check-icon {
  width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0;
}

.hero-desc { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0 0 22px; max-width: 460px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,0.25); }
.btn-secondary { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--blue); }

.hero-social { display: flex; gap: 10px; }
.hero-social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  border: none; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(124,58,237,0.28), inset 0 1.5px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.hero-social a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(124,58,237,0.38); }

.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo-glow {
  position: absolute; inset: -4%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), var(--purple), #60a5fa, var(--blue));
  filter: blur(28px); opacity: 0.55; z-index: 0;
  animation: heroGlowSpin 12s linear infinite;
}
@keyframes heroGlowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-dots {
  position: absolute; width: 56px; height: 56px; z-index: 0; opacity: 0.55;
  background-image: radial-gradient(var(--purple) 1.6px, transparent 1.6px);
  background-size: 10px 10px;
}
.hero-dots.d1 { top: -4%; left: 2%; }
.hero-dots.d2 { bottom: -2%; right: 0%; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo-glow { animation: none; }
}
.hero-photo {
  position: relative; z-index: 1; width: 100%; max-width: 340px; aspect-ratio: 1/1;
  object-fit: cover; border-radius: 50%; border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.hero-badge {
  position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(20,22,43,0.18), inset 0 1.5px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.hero-badge.b1 { top: 6%; left: 2%; background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), var(--grad); }
.hero-badge.b2 { top: 40%; left: -4%; background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #34d399, #10b981); }
.hero-badge.b3 { bottom: 12%; right: -2%; background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #60a5fa, #2563eb); }
.hero-badge.b4 { top: 4%; right: 4%; background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #fbbf24, #f59e0b); }

/* ---------- category cards ---------- */
.section { padding: 40px 24px; max-width: 1180px; margin: 0 auto; }

.category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.category-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }

.category-icon {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; font-size: 19px; color: #fff; margin-bottom: 14px;
  box-shadow: 0 8px 16px rgba(20,22,43,0.14), inset 0 1.5px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.12);
}
.category-icon.c1 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #60a5fa, #2563eb); }
.category-icon.c2 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #34d399, #10b981); }
.category-icon.c3 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #a78bfa, #7c3aed); }
.category-icon.c4 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #fb923c, #ea580c); }

.category-title { font-size: 15px; font-weight: 700; margin: 0 0 5px; }
.category-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.category-arrow { font-size: 13px; font-weight: 700; color: var(--blue); }

/* ---------- recent updates ticker ---------- */
.updates-bar {
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06));
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
}
.updates-bar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.updates-bar-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.updates-bar-link { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.update-ticker-item {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 16px; font-size: 13px; flex-wrap: wrap;
}
.live-tag {
  background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.date-tag { background: var(--bg-soft); color: var(--muted); font-size: 11.5px; padding: 3px 10px; border-radius: 999px; }
.update-ticker-title { font-weight: 600; flex: 1; min-width: 140px; }
.new-tag { background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }

/* ---------- our work section ---------- */
.work-head { text-align: center; max-width: 520px; margin: 0 auto 30px; }
.work-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 8px; }
.work-title { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.work-title .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.work-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.work-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.work-icon {
  width: 90px; height: 68px; border-radius: 14px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff;
  box-shadow: 0 10px 22px rgba(20,22,43,0.16), inset 0 1.5px 0 rgba(255,255,255,0.4), inset 0 -3px 6px rgba(0,0,0,0.15);
}
.work-icon.w1 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #60a5fa, #2563eb); }
.work-icon.w2 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #34d399, #10b981); }
.work-icon.w3 { background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 45%), linear-gradient(135deg, #a78bfa, #7c3aed); }
.work-icon.w4 { background: linear-gradient(160deg, rgba(255,255,255,0.15), transparent 45%), #14162b; }
.work-card-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.work-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0 0 12px; }
.work-link { font-size: 12.5px; font-weight: 700; color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 24px 24px; background: var(--bg-soft); }
.footer-grid { max-width: 1180px; margin: 0 auto 24px; display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-tagline-text { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 10px 0 14px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); border: none;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-col-title { font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.footer-col a, .footer-col span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 11px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted);
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .hero { grid-template-columns: 1fr 0.9fr; padding-top: 70px; }
  .hero-name { font-size: 50px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
