/* ── TOKENS ── */
:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --surface: #1e1e2a;
  --surface2: #252535;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --text: #e8e8f0;
  --text2: #9090aa;
  --text3: #5a5a72;
  --accent: #6c63ff;
  --accent2: #a78bfa;
  --accent3: #34d399;
  --gold: #f4b942;
  --danger: #f87171;
  --radius: 12px;
  --radius-lg: 20px;
  --glow: 0 0 40px rgba(108, 99, 255, 0.15);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg: #f8f8fc;
  --bg2: #f0f0f7;
  --bg3: #e8e8f2;
  --surface: #ffffff;
  --surface2: #f4f4fb;
  --border: rgba(0, 0, 0, 0.07);
  --border2: rgba(0, 0, 0, 0.12);
  --text: #1a1a2e;
  --text2: #5a5a72;
  --text3: #9090aa;
  --glow: 0 0 40px rgba(108, 99, 255, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}
input,
textarea,
select,
button {
  font-family: var(--font-body);
  color-scheme: inherit;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition:
    background var(--transition),
    color var(--transition);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}
input,
textarea,
select {
  font-family: var(--font-body);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface2);
  border-radius: 99px;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 100px 0;
}

/* ── NAV ── */
/*nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    border-bottom var(--transition);
}
nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] nav.scrolled {
  background: rgba(248, 248, 252, 0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 8px;
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.theme-toggle:hover {
  background: var(--surface2);
  transform: rotate(15deg);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text2);
}
.mobile-menu a:hover {
  color: var(--text);
  background: var(--surface);
}*/
/* Glass utility */
.glass {
  background: var(--g-bg);
  backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur);
  border: 1px solid var(--g-bd);
  box-shadow: var(--shadow);
}
.glass-lg {
  background: var(--g-bg);
  backdrop-filter: var(--g-blur-lg);
  -webkit-backdrop-filter: var(--g-blur-lg);
  border: 1px solid var(--g-bd);
  box-shadow: var(--shadow);
}

/* NAV */
/*nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1080px;
  border-radius: 100px;
  padding: 0 8px 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 8, 15, 0.65);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all var(--t);
}
[data-theme="light"] nav {
  background: rgba(240, 242, 255, 0.75);
  border-color: rgba(99, 102, 241, 0.18);
  box-shadow:
    0 4px 30px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.nav-logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  box-shadow: 0 0 10px var(--indigo);
  animation: lp 2.5s ease-in-out infinite;
}
@keyframes lp {
  0%,
  100% {
    box-shadow: 0 0 6px var(--indigo);
  }
  50% {
    box-shadow:
      0 0 18px var(--indigo),
      0 0 32px rgba(99, 102, 241, 0.3);
  }
}
.npills {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  padding: 4px;
}
[data-theme="light"] .npills {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.1);
}
.npills a {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 5px 13px;
  border-radius: 100px;
  transition: all var(--t);
}
.npills a:hover,
.npills a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}
[data-theme="light"] .npills a:hover,
[data-theme="light"] .npills a.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo);
}
.nright {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tnbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g-bg);
  border: 1px solid var(--g-bd);
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--t);
}
.tnbtn:hover {
  background: var(--g-bgh);
  border-color: var(--g-bdh);
  color: var(--text);
}
.ham {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: var(--g-bg);
  border: 1px solid var(--g-bd);
  border-radius: 10px;
  padding: 9px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.ham span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--text2);
  border-radius: 2px;
  transition: all var(--t);
}
.mnav {
  display: none;
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  z-index: 999;
  border-radius: var(--r);
  padding: 10px;
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  flex-direction: column;
  gap: 3px;
}
[data-theme="light"] .mnav {
  background: rgba(240, 242, 255, 0.92);
  border-color: rgba(99, 102, 241, 0.2);
}
.mnav.open {
  display: flex;
}
.mnav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: all var(--t);
}
.mnav a:hover {
  background: var(--g-bgh);
  color: var(--text);
}*/

/* ── NAV ── */
nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1080px;
  height: 58px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.68);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  box-shadow: 0 0 14px rgba(108, 99, 255, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav-links {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: 999px;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  background: rgba(108, 99, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.theme-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(12deg);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(108, 99, 255, 0.08);
}

.theme-toggle svg,
.theme-toggle i {
  width: 18px;
  height: 18px;
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

[data-theme="light"] .hamburger {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .hamburger:hover {
  background: rgba(108, 99, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 84px;
  left: 20px;
  right: 20px;
  z-index: 999;
  padding: 10px;
  border-radius: 20px;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  flex-direction: column;
  gap: 4px;
}

[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  transition:
    background var(--transition),
    color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .mobile-menu a:hover {
  background: rgba(108, 99, 255, 0.08);
}

/* ── HERO ── */
#home {
  min-height: 115vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 8s ease-in-out infinite alternate;
}
.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.18) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
}
.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(52, 211, 153, 0.12) 0%,
    transparent 70%
  );
  bottom: -50px;
  left: -50px;
  animation-delay: -4s;
}
.orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.1) 0%,
    transparent 70%
  );
  top: 40%;
  left: 40%;
  animation-delay: -2s;
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, 20px) scale(1.05);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-name .line2 {
  display: block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent2) 50%,
    var(--accent3) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-desc strong {
  color: var(--text);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.5);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Hero Card visual */
.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2),
    var(--accent3)
  );
}
.hc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.hc-role {
  font-size: 0.82rem;
  color: var(--accent2);
  margin-top: 2px;
}
.hc-badge {
  margin-left: auto;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--accent3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 99px;
}
.hc-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text2);
  margin-bottom: 7px;
}
.bar-track {
  height: 6px;
  background: var(--bg3);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  animation: fillIn 1.5s ease forwards;
  width: 0;
}
.bar-fill.green {
  background: linear-gradient(90deg, var(--accent3), #059669);
}
.bar-fill.gold {
  background: linear-gradient(90deg, var(--gold), #e09400);
}
@keyframes fillIn {
  from {
    width: 0;
  }
  to {
    width: var(--w);
  }
}
.hc-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hc-tag {
  font-size: 0.77rem;
  font-weight: 500;
  background: var(--bg3);
  color: var(--text2);
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.fb1 {
  top: -25px;
  left: -28px;
  animation-delay: -1s;
}
.fb2 {
  bottom: -18px;
  right: -24px;
  animation-delay: -2.5s;
}
.fb-icon {
  font-size: 1.3rem;
}
.fb-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
}
.fb-sub {
  color: var(--text3);
  font-size: 0.75rem;
}

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--accent2);
  opacity: 0.4;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.7;
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 1160px;
  margin: 0 auto;
}

/* ── ABOUT ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.about-card-header {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
}
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-body p {
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.975rem;
}
.about-body p:last-child {
  margin-bottom: 0;
}
.about-body strong {
  color: var(--text);
  font-weight: 500;
}
.experience-block {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exp-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.exp-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.exp-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 2px;
}
.exp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.exp-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.975rem;
  margin-bottom: 3px;
}
.exp-info .exp-role {
  font-size: 0.82rem;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 6px;
}
.exp-info p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
}
.exp-badge {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 185, 66, 0.12);
  border: 1px solid rgba(244, 185, 66, 0.25);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}

/* ── SKILLS ── */
#skills {
  background: var(--bg2);
}
.skills-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.skill-category:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.skill-cat-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.skill-cat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg3);
  color: var(--text2);
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.skill-category:hover .skill-tag {
  border-color: rgba(108, 99, 255, 0.2);
}
.skill-tag.accent {
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent2);
  border-color: rgba(108, 99, 255, 0.2);
}
.skill-tag.green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent3);
  border-color: rgba(52, 211, 153, 0.2);
}
.skill-tag.gold {
  background: rgba(244, 185, 66, 0.1);
  color: var(--gold);
  border-color: rgba(244, 185, 66, 0.2);
}

/* ── PROJECTS ── */
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 56px;
}
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.featured-project {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 28px;
  position: relative;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.featured-project:hover {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(108, 99, 255, 0.15);
}
.featured-project::before {
  content: "Featured";
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  z-index: 1;
}
.fp-visual {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.15) 0%,
    rgba(52, 211, 153, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.fp-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.015) 20px,
    rgba(255, 255, 255, 0.015) 21px
  );
}
.fp-mockup {
  width: 100%;
  max-width: 280px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}
.fp-bar {
  height: 32px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.fp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.fp-dot:nth-child(1) {
  background: #ff5f56;
}
.fp-dot:nth-child(2) {
  background: #ffbd2e;
}
.fp-dot:nth-child(3) {
  background: #27c93f;
}
.fp-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface2);
}
.fp-line.accent {
  background: rgba(108, 99, 255, 0.4);
}
.fp-line.green {
  background: rgba(52, 211, 153, 0.3);
}
.fp-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 14px;
}
.fp-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.fp-desc {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.fp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text2);
}
.fp-links {
  display: flex;
  gap: 12px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9px;
  transition: all var(--transition);
}
.link-btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}
.link-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.5);
}
.link-btn.ghost {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.link-btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.project-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}
.project-card:hover::after {
  transform: scaleX(1);
}
.pc-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.pc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pc-desc {
  color: var(--text2);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.pc-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.pc-link {
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text2);
  transition: color var(--transition);
}
.pc-link:hover {
  color: var(--accent2);
}
.wip-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(244, 185, 66, 0.12);
  border: 1px solid rgba(244, 185, 66, 0.25);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 99px;
}

/* ── EDUCATION ── */
#education {
  background: var(--bg2);
}
.edu-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.edu-tab {
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.edu-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}
.edu-tab:hover:not(.active) {
  border-color: var(--accent);
  color: var(--text);
}
.edu-panel {
  display: none;
}
.edu-panel.active {
  display: block;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.module-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateX(4px);
}
.module-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.module-dot.green {
  background: var(--accent3);
}
.module-dot.gold {
  background: var(--gold);
}
.module-dot.purple {
  background: var(--accent2);
}
.module-dot.ongoing {
  background: var(--text3);
}
.module-name {
  font-size: 0.885rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.module-meta {
  font-size: 0.775rem;
  color: var(--text3);
}
.module-card.special {
  border-color: rgba(244, 185, 66, 0.25);
  background: rgba(244, 185, 66, 0.03);
}
.module-card.special .module-dot {
  background: var(--gold);
}
.module-card.ongoing-card {
  border-color: rgba(108, 99, 255, 0.2);
}
.edu-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── ACHIEVEMENTS ── */
.achievements-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.achievement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.achievement-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.ach-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.ach-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.ach-desc {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ── CONTACT ── */
#contact {
  background: var(--bg2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
  margin-top: 56px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text2);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.contact-link:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.cl-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cl-label {
  font-size: 0.75rem;
  color: var(--text3);
  margin-bottom: 2px;
}
.cl-value {
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2),
    var(--accent3)
  );
}
.form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  resize: vertical;
  min-height: 48px;
}
.form-group select {
  appearance: none;
}
.form-group select {
  width: 100%;
  max-width: 100%;
}
.contact-form-wrap,
.form-group {
  overflow: visible;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text3);
}
.form-group textarea {
  min-height: 130px;
}
.form-error {
  font-size: 0.77rem;
  color: var(--danger);
  margin-top: 5px;
  display: none;
}
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--danger);
}
.form-group.error .form-error {
  display: block;
}
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-size: 0.925rem;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--radius);
  transition:
    opacity var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.5);
}
.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show {
  display: block;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.success-desc {
  color: var(--text2);
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  font-size: 0.85rem;
  color: var(--text3);
}
.footer-left strong {
  color: var(--text2);
}
.footer-right {
  display: flex;
  gap: 12px;
}
.footer-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.footer-link:hover {
  background: var(--surface2);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    display: none;
  }
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .fp-visual {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }
  .hero-name {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-form-wrap {
    padding: 24px;
  }
}

/* Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.submit-btn.loading .btn-text {
  display: none;
}
.submit-btn.loading .spinner {
  display: block;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.certificate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.certificate-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.certificate-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.certificate-org {
  color: var(--text2);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.certificate-date {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.certificate-content p {
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

.top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.top-actions a,
.inquiry-top-right a {
  text-decoration: none;
}

.top-actions a:hover,
.inquiry-top-right a:hover {
  text-decoration: none;
}

/* admin CSS */
/* ── ADMIN NAV ── */
.admin-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1080px;
  height: 58px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.68);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .admin-nav {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-nav-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .admin-nav-links {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.admin-nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: 999px;
  transition:
    background var(--transition),
    color var(--transition);
}

.admin-nav-links a:hover,
.admin-nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .admin-nav-links a:hover,
[data-theme="light"] .admin-nav-links a.active {
  background: rgba(108, 99, 255, 0.1);
}

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

/* ── ADMIN PAGE ── */
.admin-page {
  width: 100%;
  min-height: 100vh;
  padding: 110px 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(108, 99, 255, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(167, 139, 250, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.admin-wrap {
  width: 100%;
  max-width: 1100px;
}

.admin-login-shell {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

[data-theme="light"] .admin-login-card {
  background: rgba(255, 255, 255, 0.72);
}

.admin-login-badge {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.28),
      transparent 42%
    ),
    linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 16px 30px rgba(108, 99, 255, 0.28);
}

.admin-login-card h1 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  color: var(--text);
  font-family: var(--font-display);
}

.admin-login-card p {
  margin: 0 0 24px;
  color: var(--text2);
  line-height: 1.6;
}

.admin-input-wrap {
  position: relative;
  margin-bottom: 18px;
}

.admin-input-wrap input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

[data-theme="light"] .admin-input-wrap input {
  background: rgba(255, 255, 255, 0.85);
}

.admin-input-wrap input:focus {
  border-color: rgba(108, 99, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.12);
}

.admin-btn {
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 22px;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
  box-shadow: 0 16px 28px rgba(108, 99, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-btn:hover {
  transform: translateY(-2px);
}

.admin-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border: 1px solid var(--border2);
  color: var(--text);
}

[data-theme="light"] .admin-btn.secondary {
  background: rgba(0, 0, 0, 0.04);
}

#loginBtn {
  width: 50%;
}

.admin-login-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.is-hidden {
  display: none;
}

.admin-section {
  width: 100%;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-topbar h1 {
  margin: 0 0 8px;
  font-size: 2.3rem;
  font-family: var(--font-display);
  color: var(--text);
}

.admin-topbar p {
  margin: 0;
  color: var(--text2);
}

.admin-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-inquiries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.admin-inquiry-card {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

[data-theme="light"] .admin-inquiry-card {
  background: rgba(255, 255, 255, 0.72);
}

.admin-inquiry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-inquiry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.07);
}

/* FIX STATUS TEXT IN LIGHT MODE */
[data-theme="light"] .admin-status-pill {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a1a2e; /* strong dark text */
}

[data-theme="light"] .admin-status-pill.new {
  color: #1a1a2e;
}

[data-theme="light"] .admin-status-pill.replied {
  color: #2563eb;
}

[data-theme="light"] .admin-status-pill.resolved {
  color: #16a34a;
}

[data-theme="light"] .admin-status-pill.both {
  color: #6c63ff;
}

.admin-status-pill.new {
  color: #f8fafc;
}

.admin-status-pill.replied {
  color: #93c5fd;
}

.admin-status-pill.resolved {
  color: #86efac;
}

.admin-status-pill.both {
  color: #c4b5fd;
}

.admin-info-block {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-info-row {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-word;
}

.admin-message-box {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  line-height: 1.65;
}

.admin-received {
  margin-top: 14px;
  color: var(--text2);
  font-size: 0.95rem;
}

.admin-checks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.admin-check-item {
  position: relative;
}

.admin-check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-check-item label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.admin-fake-check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.22s ease;
  position: relative;
}

.admin-fake-check::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.18s ease;
  margin-top: -1px;
}

.admin-check-item input:checked + label {
  border-color: rgba(108, 99, 255, 0.45);
  background: rgba(108, 99, 255, 0.12);
}

.admin-check-item input:checked + label .admin-fake-check {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(108, 99, 255, 0.22);
}

.admin-check-item input:checked + label .admin-fake-check::after {
  transform: rotate(-45deg) scale(1);
}

.admin-empty-state {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  color: var(--text2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  border-radius: 24px;
}

.admin-back-home {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.admin-back-home:hover {
  color: var(--text);
  transform: translateX(-3px);
}

@media (max-width: 900px) {
  .admin-nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .admin-page {
    padding: 100px 16px 30px;
  }

  .admin-login-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-top-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .admin-top-actions .admin-btn,
  .admin-top-actions a.admin-btn {
    width: 100%;
  }

  .admin-inquiry-card {
    padding: 22px 18px;
  }

  .admin-checks {
    flex-direction: column;
  }

  .admin-check-item label {
    width: 100%;
    justify-content: flex-start;
  }

  #loginBtn {
    width: 100%;
  }
}

[data-theme="light"] .admin-fake-check {
  border-color: rgba(26, 26, 46, 0.22);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .admin-fake-check::after {
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

[data-theme="light"] .admin-check-item input:checked + label {
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.14);
}

[data-theme="light"] .admin-check-item input:checked + label .admin-fake-check {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(108, 99, 255, 0.18);
}

/* ── CUSTOM MODAL ── */
/* ── CUSTOM MODAL ── */
.custom-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.custom-modal.hidden {
  display: none;
}

.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.custom-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 28px;
  border-radius: 24px;
  text-align: center;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  color: var(--text);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .custom-modal-card {
  background: rgba(255, 255, 255, 0.82);
}

.custom-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 30px rgba(108, 99, 255, 0.28);
}

.custom-modal-icon.danger {
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.24);
}

.custom-modal-icon.success {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.24);
}

.custom-modal-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #f4b942);
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.24);
}

.custom-modal-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--text);
}

#customModalMessage {
  margin: 0;
  color: var(--text2);
  line-height: 1.7;
  font-size: 0.96rem;
}

.custom-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.custom-modal-actions .admin-btn {
  min-width: 120px;
}

@media (max-width: 520px) {
  .custom-modal-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .custom-modal-actions {
    flex-direction: column;
  }

  .custom-modal-actions .admin-btn {
    width: 100%;
  }
}
