@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-base: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f8fafc;
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --accent-cesium: #2563eb;
  --accent-cesium-glow: rgba(37, 99, 235, 0.15);
  
  --accent-passnmc: #0284c7;
  --accent-passnmc-glow: rgba(2, 132, 199, 0.15);
  --accent-passnmc-bg: #e0f2fe;
  
  --accent-pathprep: #1d4ed8;
  --accent-pathprep-glow: rgba(29, 78, 216, 0.15);
  --accent-pathprep-bg: #dbeafe;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.25);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Glowing Background Blobs for Visual Excellence */
.glow-blob {
  position: absolute;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}
.glow-blob.passnmc {
  background: var(--accent-passnmc);
  width: 400px;
  height: 400px;
  top: 30%;
  left: -100px;
}
.glow-blob.pathprep {
  background: var(--accent-pathprep);
  width: 450px;
  height: 450px;
  top: 65%;
  right: -100px;
}

@keyframes pulseGlow {
  0% { transform: scale(0.8) translate(0, 0); opacity: 0.3; }
  100% { transform: scale(1.2) translate(30px, -30px); opacity: 0.5; }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-cesium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 20px var(--accent-cesium-glow);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cesium);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cesium) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-cesium-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, var(--accent-cesium) 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 24px;
  animation: slideDown 0.6s ease-out;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 0.8s ease-out;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-cesium) 0%, var(--accent-passnmc) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeIn 1s ease-out 0.4s backwards;
}

.hero-visual {
  margin-top: 64px;
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 80px rgba(15, 23, 42, 0.12);
  animation: floatApp 6s infinite alternate ease-in-out;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatApp {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Products Section */
.products-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cesium);
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
}

/* Product Showcase Cards */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: height 0.3s ease;
}

.product-card.passnmc::before {
  background: var(--accent-passnmc);
}

.product-card.pathprep::before {
  background: var(--accent-pathprep);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.08);
}

.product-card.passnmc:hover {
  box-shadow: 0 20px 60px rgba(2, 132, 199, 0.12);
}

.product-card.pathprep:hover {
  box-shadow: 0 20px 60px rgba(29, 78, 216, 0.12);
}

.product-meta {
  margin-bottom: 36px;
}

.product-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.product-logo.passnmc {
  color: var(--accent-passnmc);
}

.product-logo.pathprep {
  color: var(--accent-pathprep);
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.product-badge.passnmc {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-passnmc);
}

.product-badge.pathprep {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-pathprep);
}

.product-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
}

.feature-icon {
  margin-top: 3px;
}

.product-card.passnmc .feature-icon {
  color: var(--accent-passnmc);
}

.product-card.pathprep .feature-icon {
  color: var(--accent-pathprep);
}

.product-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  margin-top: auto;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.product-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.03);
}

/* Impact & Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cesium);
  margin-bottom: 20px;
}

.value-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA Section */
.cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #dbeafe;
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.05);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 36px;
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 0 40px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  max-width: 320px;
}

.footer-desc {
  margin-top: 12px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-link:hover {
  color: var(--text-main);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header .nav-links { display: none; }
  .hero { padding-top: 140px; padding-bottom: 80px; }
  .hero-title { font-size: 38px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 32px; }
  .product-card { padding: 32px; }
  .cta-box { padding: 50px 24px; }
}
