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

/* ===== CSS Custom Properties ===== */
:root {
  --color-cyan: hsl(185, 100%, 42%);
  --color-blue: hsl(228, 68%, 55%);
  --color-violet: hsl(272, 91%, 41%);
  --color-dark-violet: hsl(275, 100%, 25%);
  --color-dark: hsl(240, 28%, 14%);
  --color-gray-mid: hsl(0, 0%, 60%);
  --color-gray-light: hsl(240, 10%, 92%);

  --gradient-primary: linear-gradient(135deg, hsl(185, 100%, 42%) 0%, hsl(228, 68%, 55%) 50%, hsl(272, 91%, 41%) 100%);
  --gradient-vertical: linear-gradient(180deg, hsl(272, 91%, 41%) 0%, hsl(228, 68%, 55%) 50%, hsl(185, 100%, 42%) 100%);

  --background: hsl(240, 10%, 92%);
  --foreground: hsl(240, 28%, 14%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 28%, 14%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(240, 28%, 14%);
  --primary: hsl(272, 91%, 41%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 10%, 92%);
  --secondary-foreground: hsl(240, 28%, 14%);
  --muted: hsl(240, 10%, 92%);
  --muted-foreground: hsl(0, 0%, 60%);
  --accent: hsl(185, 100%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(240, 6%, 85%);
  --input: hsl(240, 6%, 85%);
  --ring: hsl(272, 91%, 41%);
  --radius: 0.75rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: 'DM Sans', sans-serif; line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-family: 'Exo 2', sans-serif; line-height: 1.1; margin: 0; }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
html { scroll-behavior: smooth; }
a, button { transition: all 0.2s ease; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
input, textarea { font: inherit; }

/* ===== Custom Utilities ===== */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg { background: var(--gradient-primary); }

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsla(272, 91%, 41%, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.card-styled {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.card-styled::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.card-styled:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(36, 33, 54, 0.12);
}

.card-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.2s, background 0.2s;
}
.card-glass:hover {
  border-color: hsla(185, 100%, 42%, 0.3);
  background: hsla(185, 100%, 42%, 0.04);
}

.section-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 12px;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  border-radius: 999px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 20px hsla(272, 91%, 41%, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(272, 91%, 41%, 0.4);
}

/* ===== Layout Utilities ===== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.self-center { align-self: center; }
.gap-1 { gap: 0.25rem; }
.gap-1-5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.w-full { width: 100%; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-px { height: 1px; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }
.mt-2 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1-5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2-5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3-5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-4 { padding-bottom: 1rem; }
.pt-header { padding-top: 72px; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* ===== Typography ===== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-hero { font-size: clamp(40px, 5vw, 72px); }
.text-section { font-size: clamp(28px, 3vw, 48px); }
.font-display { font-family: 'Exo 2', sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-tight { line-height: 1.05; }
.leading-relaxed { line-height: 1.625; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.whitespace-nowrap { white-space: nowrap; }

/* ===== Colors ===== */
.text-white { color: #fff; }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-destructive { color: var(--destructive); }
.text-cyan { color: var(--color-cyan); }
.text-violet { color: var(--color-violet); }
.text-gray-mid { color: var(--color-gray-mid); }
.bg-background { background: var(--background); }
.bg-card { background: var(--card); }
.bg-accent-5 { background: hsla(185, 100%, 42%, 0.05); }
.bg-accent-10 { background: hsla(185, 100%, 42%, 0.1); }
.bg-destructive-10 { background: hsla(0, 84.2%, 60.2%, 0.1); }
.bg-primary { background: var(--primary); }
.bg-primary-10 { background: hsla(272, 91%, 41%, 0.1); }
.bg-white-5 { background: rgba(255, 255, 255, 0.05); }
.bg-white-10 { background: rgba(255, 255, 255, 0.1); }
.bg-violet { background: var(--color-violet); }
.bg-dark { background: var(--color-dark); }

/* ===== Borders ===== */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-border { border-color: var(--border); }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1); }
.border-violet { border-color: var(--color-violet); }
.border-accent-20 { border-color: hsla(185, 100%, 42%, 0.2); }
.border-primary-30 { border-color: hsla(272, 91%, 41%, 0.3); }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.ring-2 { box-shadow: 0 0 0 2px var(--primary); }
.overflow-hidden { overflow: hidden; }

/* ===== Effects ===== */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm-flex-row { flex-direction: row; }
  .sm-text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm-text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm-text-5xl { font-size: 3rem; line-height: 1; }
  .sm-inline { display: inline; }
  .sm-p-12 { padding: 3rem; }
}
@media (min-width: 768px) {
  .md-flex { display: flex; }
  .md-hidden { display: none; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-flex-row { flex-direction: row; }
  .md-items-center { align-items: center; }
  .md-justify-between { justify-content: space-between; }
  .md-py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md-py-32 { padding-top: 8rem; padding-bottom: 8rem; }
}
@media (min-width: 1024px) {
  .lg-flex { display: flex; }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-px-16 { padding-left: 4rem; padding-right: 4rem; }
  .lg-block { display: block; }
}
.grid-cols-1 { grid-template-columns: 1fr; }

/* ===== Hover states ===== */
.hover-text-cyan:hover { color: var(--color-cyan); }
.hover-text-white:hover { color: #fff; }
.hover-text-foreground:hover { color: var(--foreground); }
.hover-text-accent:hover { color: var(--accent); }
.hover-bg-violet:hover { background: var(--color-violet); }
.hover-text-primary-80:hover { color: hsla(272, 91%, 41%, 0.8); }

/* ===== SVG Icons ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* Header shadow */
.header-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* ===== Form Inputs ===== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px hsla(185, 100%, 42%, 0.15);
}
input::placeholder, textarea::placeholder {
  color: var(--muted-foreground);
}

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}
.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  animation: toast-in 0.3s ease;
  max-width: 320px;
}
.toast-title { font-family: 'Exo 2', sans-serif; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.toast-desc { font-size: 0.8rem; color: var(--muted-foreground); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Footer ===== */
.footer-bg { background: #0F0F1A; }

/* ===== FAQ ===== */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
