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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: #475569;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

.text-indigo-600 { color: #4f46e5; }
.text-indigo-500 { color: #6366f1; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-200 { color: #c7d2fe; }
.text-white { color: #fff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-400 { color: #9ca3af; }
.text-emerald-600 { color: #059669; }
.text-rose-500 { color: #f43f5e; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }

.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-900 { background-color: #111827; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-white\/70 { background-color: rgba(255,255,255,0.7); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }

.border-indigo-200 { border-color: #c7d2fe; }
.border-indigo-400\/30 { border-color: rgba(129,140,248,0.3); }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-800\/50 { border-color: rgba(30,41,59,0.5); }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-700 { border-color: #374151; }
.border-transparent { border-color: transparent; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226,232,240,0.5);
  box-shadow: 0 25px 50px -12px rgba(79,70,229,0.15);
}

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-\[1\.5rem\] { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[3rem\] { border-radius: 3rem; }

.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); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-indigo-100 { box-shadow: 0 10px 15px -3px rgba(79,70,229,0.08); }
.shadow-indigo-200 { box-shadow: 0 10px 15px -3px rgba(79,70,229,0.15); }
.shadow-indigo-900\/50 { box-shadow: 0 10px 15px -3px rgba(30,27,75,0.3); }
.shadow-slate-200 { box-shadow: 0 20px 25px -5px rgba(148,163,184,0.2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1.2;
}

.btn:active { transform: scale(0.95); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background-color: #4f46e5;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(79,70,229,0.2);
}
.btn-primary:hover { background-color: #4338ca; box-shadow: 0 20px 25px -5px rgba(79,70,229,0.3); }

.btn-outline {
  border: 1px solid #e2e8f0;
  color: #334155;
  background: transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-outline:hover { background-color: #f8fafc; border-color: #cbd5e1; }

.btn-ghost {
  color: #475569;
  background: transparent;
}
.btn-ghost:hover { background-color: #f1f5f9; }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600; }
.btn-md { padding: 0.75rem 1.75rem; font-size: 1rem; font-weight: 700; }
.btn-lg {
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Navbar */
.nav-scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Hero section */
.hero-radial {
  background: radial-gradient(circle at 50% -20%, rgba(79,70,229,0.13), transparent 70%);
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Mobile menu */
@media (max-width: 1023px) {
  .lg\:hidden { display: block; }
  .lg\:flex { display: none; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
}

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-start { align-items: flex-start; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-12 { row-gap: 3rem; }

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-40 { padding-top: 10rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.pb-12 { padding-bottom: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.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; }
.mt-20 { margin-top: 5rem; }

.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-48 { width: 12rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-sm { max-width: 24rem; }

.h-2 { height: 0.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-\[800px\] { height: 800px; }

.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.-z-10 { z-index: -10; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }

.object-cover { object-fit: cover; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.text-\[10px\] { font-size: 0.625rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[0\.9\] { line-height: 0.9; }
.leading-\[0\.95\] { line-height: 0.95; }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.hover\:rotate-0:hover { transform: rotate(0deg); }
.hover\:rotate-6:hover { transform: rotate(6deg); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-0.25rem); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:rotate-12 { transform: rotate(12deg); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:w-1\.5 { width: 0.375rem; }

.shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.pointer-events-none { pointer-events: none; }
.resize-none { resize: none; }
.appearance-none { appearance: none; }
.whitespace-nowrap { white-space: nowrap; }
.selection\:bg-blue-100 ::selection { background-color: #dbeafe; }
.selection\:text-blue-900 ::selection { color: #1e3a8a; }

.aspect-\[16\/10\] { aspect-ratio: 16/10; }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }
.aspect-\[21\/9\] { aspect-ratio: 21/9; }

/* Blog section hover */
.blog-card:hover { background: #fff; box-shadow: 0 25px 50px -12px rgba(79,70,229,0.15); border-color: #f1f5f9; }
.blog-card:hover h3 { color: #4f46e5; }

/* Media Queries */
@media (max-width: 639px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:gap-8 { gap: 2rem; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:w-2\/5 { width: 40%; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:block { display: block; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:pt-32 { padding-top: 8rem; }
  .md\:pb-40 { padding-bottom: 10rem; }
  .md\:gap-12 { gap: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
  .lg\:text-8xl { font-size: 6rem; }
  .lg\:text-\[5\.5rem\] { font-size: 5.5rem; }
  .lg\:pt-32 { padding-top: 8rem; }
  .lg\:pb-52 { padding-bottom: 13rem; }
  .lg\:p-24 { padding: 6rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:block { display: block; }
  .lg\:text-left { text-align: left; }
}

@media (max-width: 767px) {
  .text-5xl { font-size: 2.5rem; }
  .text-4xl { font-size: 2rem; }
  .text-3xl { font-size: 1.625rem; }
  .text-2xl { font-size: 1.375rem; }
  .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
  .pt-40 { padding-top: 7rem; }
  .pb-24 { padding-bottom: 4rem; }
  .p-12 { padding: 1.5rem; }
  .p-10 { padding: 1.5rem; }
  .p-8 { padding: 1.25rem; }
  .gap-16 { gap: 2rem; }
  .gap-10 { gap: 1.5rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .rounded-\[3rem\] { border-radius: 1.5rem; }
  .rounded-\[2\.5rem\] { border-radius: 1.25rem; }
}

/* Form elements */
input, select, textarea {
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.1);
  border-color: #4f46e5;
}

/* backdrop-blur support */
@supports (backdrop-filter: blur(12px)) {
  .backdrop-blur-md { backdrop-filter: blur(12px); }
  .backdrop-blur-sm { backdrop-filter: blur(8px); }
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}
.breadcrumbs a {
  color: #64748b;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: #4f46e5;
}

/* Pagination */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}
.pagination .page-numbers:hover {
  background: #eef2ff;
  color: #4f46e5;
}
.pagination .page-numbers.current {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

/* Sticky sidebar */
.sticky {
  position: sticky;
  position: -webkit-sticky;
}

/* Skip link for accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress editor content */
.wp-editor-content h1,
.wp-editor-content h2,
.wp-editor-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.wp-editor-content p {
  margin-bottom: 1em;
  line-height: 1.8;
}
.wp-editor-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1em;
}
.wp-editor-content ol {
  padding-left: 1.5rem;
  list-style-type: decimal;
  margin-bottom: 1em;
}
.wp-editor-content li {
  margin-bottom: 0.5em;
}
.wp-editor-content img {
  border-radius: 1.5rem;
  margin: 1.5rem 0;
}
.wp-editor-content blockquote {
  border-left: 4px solid #4f46e5;
  padding-left: 1.5rem;
  font-style: italic;
  color: #475569;
  margin: 1.5rem 0;
}
