:root {
  --bg-dark: #020617;
  --bg-darker: #020314;
  --accent: #e11d48;
  --accent-soft: rgba(248, 113, 113, 0.22);
  --accent-blue: #0ea5e9;
  --text-muted: #9ca3af;
  --card: rgba(15, 23, 42, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(248,113,113,0.16), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(52,211,153,0.12), transparent 55%),
    linear-gradient(145deg, #020617, #020617 36%, #020314 100%);
  color: #e5e7eb;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* Glassy top nav */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 12px 42px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.92), rgba(15,23,42,0.72));
  border-bottom: 1px solid rgba(148,163,184,0.4);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background:
    conic-gradient(from 200deg, #0ea5e9, #22c55e, #e11d48, #6366f1, #0ea5e9);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8,47,73,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: radial-gradient(circle at 20% 0%, rgba(248,250,252,0.6), transparent 45%), #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

nav a { color: #e5e7eb; opacity: 0.86; }
nav a:hover { opacity: 1; }

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 160ms ease-out;
  gap: 6px;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0% 0%, #f97316, transparent 40%), linear-gradient(140deg, #e11d48, #f97316);
  border-color: rgba(248,250,252,0.08);
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(248,113,113,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(248,113,113,0.55);
}

.btn-ghost {
  background: rgba(15,23,42,0.5);
  border-color: rgba(148,163,184,0.7);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.8);
}

main { padding-top: 84px; }

/* HERO SECTION */
.hero {
  padding: 52px 42px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.4), transparent 45%);
  font-size: 11px;
  color: #e5e7eb;
  margin-bottom: 18px;
}

.badge-dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #f9fafb, transparent 55%), linear-gradient(135deg, #22c55e, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}

.badge-dot-inner {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #f9fafb;
}

h1 {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.12;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

h1 span.highlight {
  background: linear-gradient(120deg, #f97316, #e11d48, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 18px;
}

.hero-grid-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dot-green { width: 6px; height: 6px; border-radius: 999px; background: #22c55e; }

.contact-mini {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-mini strong { color: #e5e7eb; }

/* Hero right: layered card + carousel */
.hero-right {
  position: relative;
  min-height: 340px;
}

.hero-panel {
  position: relative;
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,0.45), transparent 48%),
    radial-gradient(circle at 100% 90%, rgba(248,113,113,0.35), transparent 55%),
    linear-gradient(145deg, #020617, #020617 35%, #020314 100%);
  box-shadow:
    0 20px 50px rgba(15,23,42,0.9),
    0 0 0 1px rgba(148,163,184,0.4);
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 10% 20%, rgba(59,130,246,0.1), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(248,250,252,0.16), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.panel-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  z-index: 1;
}

.chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
}

.signal {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.signal span {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: rgba(148,163,184,0.8);
}

.signal span:nth-child(1){ height: 7px; }
signal span:nth-child(2){ height: 11px; }
.signal span:nth-child(3){ height: 16px; background: #22c55e; }

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 230px;
  margin-top: 6px;
  z-index: 1;
  border: 1px solid rgba(148,163,184,0.5);
}

.slides {
  display: flex;
  width: 500%;
  height: 100%;
  animation: slide 32s linear infinite;
}

.slide {
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.86), rgba(15,23,42,0.3));
}

.slide-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  z-index: 1;
  font-size: 12px;
}

.slide-caption-title {
  font-weight: 600;
  margin-bottom: 3px;
}

.slide-caption-sub { color: var(--text-muted); font-size: 11px; }

@keyframes slide {
  0% { transform: translateX(0); }
  16% { transform: translateX(0); }
  20% { transform: translateX(-100%); }
  36% { transform: translateX(-100%); }
  40% { transform: translateX(-200%); }
  56% { transform: translateX(-200%); }
  60% { transform: translateX(-300%); }
  76% { transform: translateX(-300%); }
  80% { transform: translateX(-400%); }
  100% { transform: translateX(-400%); }
}

.panel-metrics {
  position: relative;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 11px;
  z-index: 1;
}

.metric-card {
  border-radius: 12px;
  padding: 7px 9px;
  background: rgba(15,23,42,0.86);
  border: 1px solid rgba(148,163,184,0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-value { font-weight: 600; font-size: 13px; }
.metric-label { color: var(--text-muted); }

/* SECTIONS */
.section {
  padding: 40px 42px 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title {
  font-size: 22px;
  margin: 0;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
}

.badge-soft {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  border-radius: 18px;
  padding: 15px 14px 16px;
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.2), transparent 55%), rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: 0 16px 40px rgba(15,23,42,0.8);
  overflow: hidden;
}

.service-chip {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(148,163,184,0.7);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: var(--text-muted);
}

.service-title { font-size: 15px; margin: 0 0 4px; }
.service-body { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }

.service-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.service-list li::before {
  content: '▹';
  margin-right: 6px;
  color: #22c55e;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.profile-card {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at 0% 0%, rgba(248,113,113,0.2), transparent 55%), rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.profile-main {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e11d48, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
}

.profile-name { font-weight: 600; }
.profile-role { font-size: 12px; color: var(--text-muted); }
.profile-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.about-copy { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

/* CONTACT */
.contact-section {
  padding: 40px 42px 46px;
  background: radial-gradient(circle at 0% 20%, rgba(56,189,248,0.35), transparent 55%),
              radial-gradient(circle at 100% 0%, rgba(248,113,113,0.35), transparent 55%),
              #020617;
  border-top: 1px solid rgba(148,163,184,0.5);
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: flex-start;
}

.card-contact {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

input, textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.8);
  color: #e5e7eb;
  font-family: inherit;
  font-size: 13px;
}

textarea { resize: vertical; min-height: 100px; }

input:focus, textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14,165,233,0.6);
}

.contact-info-list {
  font-size: 13px;
  color: var(--text-muted);
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-info-list li { margin-bottom: 6px; }
.contact-info-list strong { color: #e5e7eb; }

footer {
  padding: 12px 42px 20px;
  font-size: 12px;
  color: rgba(148,163,184,0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(15,23,42,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,1));
}

/* RESPONSIVE */
@media (max-width: 960px) {
  header { padding-inline: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-inline: 20px; }
  .hero-right { order: -1; }
  .section, .contact-section { padding-inline: 20px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  nav ul { gap: 14px; font-size: 12px; }
  .hero-grid-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { padding-inline: 20px; flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 640px) {
  .hero-grid-meta { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 34px; }
  header nav ul li.hide-on-mobile { display: none; }
}
