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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1333;
  background: #f8f7ff;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Custom Properties ── */
:root {
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --dark-900: #0f0b1a;
  --dark-800: #1a1333;
  --dark-700: #2d2648;
  --gray-50: #f8f7ff;
  --gray-100: #f1f0f7;
  --gray-200: #e5e3ef;
  --gray-300: #d1cfd9;
  --gray-400: #a09cb3;
  --gray-500: #6b6880;
  --gray-600: #4f4c63;
  --gray-700: #37344d;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-card: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  --gradient-soft: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #dbeafe 100%);
  --shadow-sm: 0 1px 3px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.1);
  --shadow-lg: 0 8px 32px rgba(124, 58, 237, 0.12);
  --shadow-xl: 0 16px 48px rgba(124, 58, 237, 0.15);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-800);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--gray-600);
  max-width: 65ch;
}

.lead-paragraph {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 60ch;
}

.body-text {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--gray-600);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark-800);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--purple-700);
  background: var(--purple-50);
}

.nav-link.active {
  color: var(--purple-700);
  background: var(--purple-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--purple-50);
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  background: var(--dark-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gradient-card);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple-700);
  border: 1.5px solid var(--purple-200);
}

.btn-secondary:hover {
  background: var(--purple-50);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  color: var(--gray-600);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--purple-700);
  background: var(--purple-50);
}

.btn-large {
  font-size: 1rem;
  padding: 0.85rem 2rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-bg-orb--1 {
  width: 500px;
  height: 500px;
  background: var(--purple-400);
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--blue-400);
  bottom: -100px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg-orb--3 {
  width: 250px;
  height: 250px;
  background: var(--cyan-400);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-700);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--purple-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  max-width: 12ch;
  margin: 0 auto;
}

.hero-title span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 55ch;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark-800);
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Sections ── */
.section-wrapper {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-wrapper--alt {
  background: var(--white);
}

.section-wrapper--dark {
  background: var(--dark-900);
  color: var(--white);
}

.section-wrapper--dark h2,
.section-wrapper--dark h3,
.section-wrapper--dark h4 {
  color: var(--white);
}

.section-wrapper--dark .lead-paragraph,
.section-wrapper--dark .body-text {
  color: var(--gray-300);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .lead-paragraph {
  margin: 1rem auto 0;
}

.section-heading {
  margin-bottom: 0.25rem;
}

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-600);
  margin-bottom: 0.75rem;
  display: block;
}

.section-wrapper--dark .eyebrow {
  color: var(--cyan-400);
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  position: relative;
}

.card:hover {
  border-color: var(--purple-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card--featured {
  border-color: var(--purple-300);
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--white) 100%);
}

.card--featured:hover {
  border-color: var(--purple-400);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.card-icon--purple {
  background: var(--purple-100);
  color: var(--purple-600);
}

.card-icon--blue {
  background: #dbeafe;
  color: var(--blue-600);
}

.card-icon--cyan {
  background: #cffafe;
  color: var(--cyan-500);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-800);
}

.card-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--purple-100);
  color: var(--purple-700);
  align-self: flex-start;
}

.card-tag--popular {
  background: #fef3c7;
  color: #92400e;
}

.card-tag--new {
  background: #cffafe;
  color: #155e7a;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ── Image ── */
.image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--gray-200);
  border: none;
  width: 100%;
}

/* ── Footer ── */
.site-footer {
  background: var(--dark-900);
  color: var(--gray-300);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray-400);
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-200);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--purple-300);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-700);
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--dark-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--purple-700);
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.hidden { display: none; }
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
