/* ===== VARIABLES ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #a78bfa;
  --accent-2: #c4b5fd;
  --blue: #1B6FEB;
  --green: #25D366;
  --dark: #09090b;
  --dark-2: #18181b;
  --dark-3: #27272a;
  --gray: #71717a;
  --light: #f4f4f5;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #1B6FEB 100%);
  --gradient-hero: linear-gradient(135deg, #09090b 0%, #18181b 50%, #1e0a3c 100%);
  --shadow: 0 4px 24px rgba(124,58,237,0.18);
  --shadow-lg: 0 12px 48px rgba(124,58,237,0.25);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
}
.nav-logo .sub { font-size: 0.72rem; font-weight: 500; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; display: block; line-height: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  color: var(--accent-2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero-title .grad {
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gradient);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(167,139,250,0.08); }
.hero-pills {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
}
.hero-pill i { color: var(--accent); }

/* ===== SECTIONS ===== */
section { padding: 90px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.08);
  color: var(--primary);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ===== PRODUCTS ===== */
.products { background: var(--light); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 60px;
}
.product-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); }
.product-card.campus {
  background: linear-gradient(145deg, #0a1a12 0%, #0d2318 100%);
  border: 1px solid rgba(37,211,102,0.15);
  box-shadow: 0 8px 40px rgba(37,211,102,0.08);
}
.product-card.campus:hover { box-shadow: 0 16px 60px rgba(37,211,102,0.18); }
.product-card.xmed {
  background: linear-gradient(145deg, #060e2a 0%, #0a1540 100%);
  border: 1px solid rgba(27,111,235,0.15);
  box-shadow: 0 8px 40px rgba(27,111,235,0.08);
}
.product-card.xmed:hover { box-shadow: 0 16px 60px rgba(27,111,235,0.18); }
.product-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}
.campus .product-glow { background: radial-gradient(circle, rgba(37,211,102,0.3) 0%, transparent 70%); }
.xmed .product-glow { background: radial-gradient(circle, rgba(27,111,235,0.35) 0%, transparent 70%); }
.product-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.campus .product-logo { background: rgba(37,211,102,0.15); border: 1px solid rgba(37,211,102,0.25); color: #25D366; }
.xmed .product-logo { background: rgba(27,111,235,0.15); border: 1px solid rgba(27,111,235,0.25); color: #60a5fa; }
.product-domain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.campus .product-domain { background: rgba(37,211,102,0.12); color: #4ade80; border: 1px solid rgba(37,211,102,0.2); }
.xmed .product-domain { background: rgba(27,111,235,0.12); color: #93c5fd; border: 1px solid rgba(27,111,235,0.2); }
.product-card h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.product-label {
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.campus .product-label { color: rgba(74,222,128,0.7); }
.xmed .product-label { color: rgba(147,197,253,0.7); }
.product-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.83rem;
}
.product-feature i { font-size: 0.75rem; flex-shrink: 0; }
.campus .product-feature i { color: #4ade80; }
.xmed .product-feature i { color: #60a5fa; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.product-link:hover { opacity: 0.9; transform: translateX(3px); }
.campus .product-link { background: rgba(37,211,102,0.15); color: #4ade80; border: 1px solid rgba(37,211,102,0.25); }
.xmed .product-link { background: rgba(27,111,235,0.15); color: #93c5fd; border: 1px solid rgba(27,111,235,0.25); }

/* ===== MISSION ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mission-card {
  background: var(--white);
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.mission-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mission-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.mission-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.mission-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ===== TEAM ===== */
.team { background: var(--gradient-hero); }
.team .section-title { color: white; }
.team .section-sub { color: rgba(255,255,255,0.55); }
.team .section-badge { background: rgba(167,139,250,0.12); color: var(--accent-2); border-color: rgba(167,139,250,0.2); }
.team-card {
  max-width: 400px;
  margin: 48px auto 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}
.team-avatar {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid rgba(167,139,250,0.5);
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(167,139,250,0.12);
  position: relative;
  flex-shrink: 0;
}
.team-avatar img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 50%;
}
.team-card h3 { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 0.82rem; font-weight: 600; margin-bottom: 14px; }
.team-card p { color: rgba(255,255,255,0.5); font-size: 0.87rem; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-section { background: var(--light); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}
.contact-icon.wa { background: rgba(37,211,102,0.1); color: #25D366; }
.contact-icon.email { background: rgba(124,58,237,0.1); color: var(--primary); }
.contact-icon.loc { background: rgba(239,68,68,0.1); color: #ef4444; }
.contact-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 0.82rem; color: var(--gray); margin-bottom: 14px; }
.contact-card a.cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contact-card a.cta:hover { opacity: 0.85; }
.contact-card a.cta.wa { background: #25D366; color: white; }
.contact-card a.cta.email { background: var(--primary); color: white; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 56px 32px 28px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-size: 1.3rem; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand .tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 220px; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-2); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 20px; }
  .hero { padding: 110px 20px 60px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
