/* ========================================
   SYNTRIK.IO — Custom Styles
   Black & white alternating sections
   Inspired by modern SaaS marketplace design
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #1F1E1D;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy compat aliases (used in inline styles) */
  --text-primary: var(--white);
  --text-secondary: var(--gray-400);
  --text-muted: var(--gray-500);
  --accent-blue: var(--white);
  --accent-purple: var(--white);
  --accent-green: var(--white);
  --bg-card: var(--gray-950);
  --border-color: var(--border-dark);
  --glass-border: var(--border-dark);
  --gradient-primary: var(--white);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.875rem 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.625rem 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
}

/* Pill-shaped center nav */
.navbar-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.25rem;
}

.navbar-pill a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: all var(--transition);
  text-decoration: none;
}

.navbar-pill a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.navbar-pill a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Mega Menu Dropdown ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-trigger svg {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 680px;
  background: var(--gray-950);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Invisible bridge between trigger and menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem;
  border-radius: 0;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.mega-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray-500);
  transition: all var(--transition);
}

.mega-menu-item:hover .mega-menu-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.mega-menu-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  transition: color var(--transition);
}

.mega-menu-item:hover h4 {
  color: var(--white);
}

.mega-menu-item p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.mega-menu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  text-align: center;
}

.mega-menu-viewall {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
}

.mega-menu-viewall:hover {
  color: var(--white);
}

/* ---------- Mobile Nav Submenu ---------- */
.mobile-nav-group {
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}

.mobile-nav-toggle:hover {
  color: var(--white);
}

.mobile-nav-arrow {
  transition: transform var(--transition);
  font-size: 1.2rem;
}

.mobile-nav-group.open .mobile-nav-arrow {
  transform: rotate(90deg);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav-group.open .mobile-nav-submenu {
  max-height: 400px;
}

.mobile-nav-submenu a {
  padding: 0.6rem 0 0.6rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: none;
  color: var(--gray-500);
}

.mobile-nav-submenu a:hover {
  color: var(--white);
}

/* Legacy support for inner pages using .navbar-links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.25rem;
}

.navbar-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: all var(--transition);
}

.navbar-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.navbar-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-link-subtle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
  text-decoration: none;
}

.nav-link-subtle:hover {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background: var(--gray-900);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-dark);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-black {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border-light);
}

.btn-outline-black:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.25);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 0.925rem;
  border-radius: 100px;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-radius: 100px;
}

/* Compat aliases */
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-200); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.25); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--gray-950);
  border-left: 1px solid var(--border-dark);
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  z-index: 999;
}

.mobile-nav.open { right: 0; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open { opacity: 1; }

.mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav a:hover { color: var(--white); }

/* ==================================================
   DARK SECTIONS (black bg, white text)
   ================================================== */
.section-dark {
  background: var(--black);
  color: var(--white);
  padding: 6rem 0;
}

/* ==================================================
   LIGHT SECTIONS — now dark for all-dark design
   (kept for inner page compatibility)
   ================================================== */
.section-light {
  background: var(--gray-900);
  color: var(--white);
  padding: 6rem 0;
}

.section-light .section-label { color: var(--gray-500); }
.section-light .section-subtitle { color: var(--gray-400); }

/* ==================================================
   ALT DARK SECTIONS (light black — subtle contrast)
   ================================================== */
.section-alt {
  background: var(--gray-950);
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--black);
  padding: 10rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

/* Hero background image */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../assets/images/bg-claw.jpeg') center center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

/* Top gradient: black → transparent (covers top 80%) */
.hero-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 100%);
  pointer-events: none;
}

/* Bottom gradient: transparent → black (covers full height) */
.hero-bg-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 20%, transparent 100%);
  pointer-events: none;
}

/* Subtle dot grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
  pointer-events: none;
}

/* Soft radial glow at top */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.hero h1 .hero-serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 4.5rem;
}

.btn-ghost-clean {
  background: transparent;
  color: var(--gray-400);
  border: none;
  font-weight: 500;
}

.btn-ghost-clean:hover {
  color: var(--white);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
  margin-left: 0.125rem;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.hero-logos {
  max-width: 680px;
  margin: 0 auto;
}

.hero-logos-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.hero-logo-item:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hero-logo-item svg {
  flex-shrink: 0;
}

.hero-logo-item span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==================================================
   SECTION HEADERS
   ================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ==================================================
   PRODUCT CARDS (used on light and dark sections)
   ================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Dark section variant */
.section-dark .product-card {
  background: var(--gray-950);
  border-color: var(--border-dark);
}

.product-card-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
}

.section-dark .product-card-image {
  background: var(--gray-900);
}

.product-card-image .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.2;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card-overlay { opacity: 1; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.product-badge.free {
  background: var(--black);
  color: var(--white);
}

.product-badge.premium {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
}

.section-dark .product-badge.free {
  background: var(--white);
  color: var(--black);
}

.section-dark .product-badge.premium {
  background: var(--gray-800);
  color: var(--white);
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--black);
}

.section-dark .product-card-body h3 { color: var(--white); }

.product-card-body p {
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-tags {
  display: flex;
  gap: 0.375rem;
}

.product-tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
}

.section-dark .product-tag {
  background: var(--gray-800);
  color: var(--gray-400);
}

.product-downloads {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ==================================================
   CATEGORY CARDS — "Who Is This For" style
   ================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  display: block;
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.section-light .category-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.section-light .category-icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.category-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.category-count svg { width: 14px; height: 14px; }

/* ==================================================
   PLATFORM PRODUCTS — Alternating image/text rows
   ================================================== */
.platform-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.section-light .platform-product {
  border-bottom-color: var(--border-dark);
}

.platform-product:last-child { border-bottom: none; }

.platform-product.reverse { direction: rtl; }
.platform-product.reverse > * { direction: ltr; }

.platform-product-text h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.platform-product-text p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.section-light .platform-product-text p { color: var(--gray-400); }

.platform-product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.platform-product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.section-light .platform-product-features li { color: var(--gray-400); }

.platform-product-features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 1px;
}

.section-light .platform-product-features li::before { color: var(--white); }

.platform-product-image {
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-900);
  border: 1px solid var(--border-dark);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-product-image svg {
  width: 100%;
  height: 100%;
}

.section-light .platform-product-image {
  background: var(--gray-900);
  border-color: var(--border-dark);
}

/* ==================================================
   HOW IT WORKS / STEPS
   ================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.section-light .step-number {
  background: var(--white);
  color: var(--black);
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==================================================
   FRAMEWORKS / LOGOS GRID
   ================================================== */
.frameworks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.framework-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  min-width: 90px;
  transition: all var(--transition);
}

.section-dark .framework-item {
  background: var(--gray-950);
  border-color: var(--border-dark);
}

.framework-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.framework-icon {
  font-size: 1.75rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framework-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ==================================================
   TESTIMONIALS
   ================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--transition);
}

.section-light .testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.85rem;
}

.section-light .testimonial-stars { color: var(--white); }

.testimonial-text {
  font-size: 0.925rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.section-light .testimonial-text { color: var(--gray-400); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}

.section-light .testimonial-avatar {
  background: var(--gray-800);
  color: var(--white);
}

.testimonial-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ==================================================
   CTA SECTION
   ================================================== */
.cta-section {
  padding: 6rem 0;
}

.cta-inner {
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
}

.section-light .cta-inner {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.cta-inner h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

/* ==================================================
   PRICING
   ================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-card {
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition);
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
}

.section-light .pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.pricing-card.featured {
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
  position: relative;
}

.section-light .pricing-card.featured {
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--white);
  color: var(--black);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.section-light .pricing-card.featured .pricing-badge {
  background: var(--white);
  color: var(--black);
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
}

.pricing-card .price-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.section-light .pricing-features li { color: var(--gray-400); }

.pricing-features li .check { color: var(--white); font-weight: 700; }
.pricing-features li .cross { color: var(--gray-700); }
.section-light .pricing-features li .check { color: var(--white); }
.section-light .pricing-features li .cross { color: var(--gray-700); }

/* ==================================================
   FAQ
   ================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.section-light .faq-item { border-bottom-color: var(--border-dark); }

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: opacity var(--transition);
}

.faq-question:hover { opacity: 0.7; }

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  color: var(--gray-500);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2rem;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ==================================================
   PAGE HEADER (inner pages)
   ================================================== */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--black);
  text-align: center;
}

.page-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================================================
   UNDER CONSTRUCTION
   ================================================== */
.construction-content {
  text-align: center;
  padding: 4rem 0;
  max-width: 500px;
  margin: 0 auto;
}

.construction-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.construction-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.construction-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ==================================================
   LEGAL PAGES (Terms, Privacy)
   ================================================== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-section p {
  font-size: 0.925rem;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--gray-200);
  font-weight: 600;
}

.legal-section a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: text-decoration-color var(--transition);
}

.legal-section a:hover {
  text-decoration-color: var(--white);
}

/* ==================================================
   FILTERS
   ================================================== */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.section-light .filter-btn {
  border-color: var(--border-dark);
  color: var(--gray-400);
}

.section-light .filter-btn:hover,
.section-light .filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ==================================================
   WORKFLOW CARDS
   ================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.workflow-card {
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all var(--transition);
}

.section-light .workflow-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.workflow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.workflow-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.workflow-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 1rem; }

.workflow-tools {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.workflow-tool-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  border: 1px solid var(--border-dark);
}

.section-light .workflow-tool-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  border-color: var(--border-dark);
}

/* ==================================================
   TEAM GRID
   ================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.section-light .team-card { border-color: var(--border-dark); }

.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1rem;
}

.section-light .team-avatar { background: var(--gray-800); color: var(--white); }

.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-card p { font-size: 0.825rem; color: var(--gray-500); }

/* ==================================================
   TIMELINE
   ================================================== */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-dark);
}

.section-light .timeline::before { background: var(--border-dark); }

.timeline-item {
  padding-left: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.section-light .timeline-item::before { background: var(--white); }

.timeline-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.timeline-item .timeline-date { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.875rem; color: var(--gray-500); }

/* ==================================================
   BLOG CARDS
   ================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
}

.section-light .blog-card { background: rgba(255, 255, 255, 0.03); border-color: var(--border-dark); }

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.section-light .blog-card-image { background: var(--gray-900); }

.blog-card-body { padding: 1.5rem; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.625rem;
}

.blog-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card-body p { font-size: 0.825rem; color: var(--gray-500); line-height: 1.5; }

/* ==================================================
   CONTACT FORM
   ================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-400);
}

.section-light .form-group label { color: var(--gray-400); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gray-950);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.section-light .form-group input,
.section-light .form-group select,
.section-light .form-group textarea {
  background: var(--gray-950);
  border-color: var(--border-dark);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
}

.section-light .form-group input:focus,
.section-light .form-group select:focus,
.section-light .form-group textarea:focus {
  border-color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-card {
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.section-light .contact-info-card { border-color: var(--border-dark); }

.contact-info-card h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.375rem; }
.contact-info-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.contact-info-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: text-decoration-color var(--transition);
}

.contact-info-link:hover {
  text-decoration-color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Form feedback messages */
.form-success-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(100, 255, 150, 0.08);
  border: 1px solid rgba(100, 255, 150, 0.2);
  color: rgba(100, 255, 150, 0.9);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-error-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.2);
  color: rgba(255, 100, 100, 0.9);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-error {
  display: block;
  color: rgba(255, 100, 100, 0.8);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Careers Page */
.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.careers-perk-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
}

.careers-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1rem;
}

.careers-perk-card h3 {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.careers-perk-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.careers-positions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.careers-position-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s ease;
}

.careers-position-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.careers-position-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.careers-position-header h3 {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.careers-position-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.careers-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.careers-position-card > p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.careers-position-requirements {
  font-size: 0.825rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.careers-position-requirements strong {
  color: var(--gray-300);
}

.careers-form-wrapper {
  max-width: 680px;
  margin: 2rem auto 0;
}

@media (max-width: 768px) {
  .careers-perks-grid { grid-template-columns: 1fr; }
  .careers-position-header { flex-direction: column; }
  .careers-position-header .btn { align-self: flex-start; }
}

/* ==================================================
   ANIMATIONS
   ================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   BLOG
   ================================================== */

/* ----- Blog Listing ----- */
.blog-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}

.blog-filters::-webkit-scrollbar {
  height: 4px;
}

.blog-filters::-webkit-scrollbar-track {
  background: transparent;
}

.blog-filters::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: 2px;
}

.blog-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.blog-filter-tab:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.blog-filter-tab.active {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.blog-card-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  width: fit-content;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: 'Georgia', serif;
  transition: color var(--transition);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--gray-400);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-card-author {
  color: var(--gray-400);
  font-weight: 500;
}

.blog-card-divider {
  color: var(--gray-600);
}

.blog-card-reading-time {
  color: var(--gray-500);
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  margin-top: 0.75rem;
}

.blog-card-link:hover {
  color: var(--gray-400);
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pagination-prev,
.pagination-next {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
  min-width: 100px;
  text-align: center;
}

.pagination-prev:hover,
.pagination-next:hover {
  color: var(--white);
}

.pagination-prev.disabled,
.pagination-next.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-400);
}

.blog-empty p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ----- Blog Single Post ----- */
.blog-article {
  max-width: 760px;
  margin: 0 auto 4rem;
}

.blog-article-category-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.blog-article-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-article-author-name {
  color: var(--white);
  font-weight: 600;
}

.blog-article-author-role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.blog-article-date,
.blog-article-reading-time {
  color: var(--gray-500);
}

.blog-article-separator {
  color: var(--gray-700);
}

.blog-article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-400);
}

.blog-article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  font-family: 'Georgia', serif;
}

.blog-article-content h2:first-child {
  margin-top: 0;
}

.blog-article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
  font-family: 'Georgia', serif;
}

.blog-article-content p {
  margin-bottom: 1.25rem;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 1.25rem 0 1.25rem 1.5rem;
  color: var(--gray-400);
}

.blog-article-content ul li,
.blog-article-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.blog-article-content ul li::marker {
  color: var(--gray-600);
}

.blog-article-content ol li::marker {
  color: var(--gray-600);
}

.blog-article-content a {
  color: var(--white);
  text-decoration: underline;
  transition: color var(--transition);
}

.blog-article-content a:hover {
  color: var(--gray-400);
}

.blog-article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.7;
}

.blog-article-content code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85em;
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-article-content pre {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}

.blog-article-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--gray-300);
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-article-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 3rem;
}

.blog-back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-back-link:hover {
  color: var(--white);
}

.blog-related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-related h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.25rem; }
  .navbar-pill { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .platform-product { grid-template-columns: 1fr; gap: 2rem; }
  .platform-product.reverse { direction: ltr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-pill { display: none; }
  .navbar-links { display: none; }
  .nav-link-subtle { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .mobile-nav-overlay { display: block; }
  .hero { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-logos-row { gap: 1.5rem; }
  .hero-logo-item span { display: none; }
  .hero-logo-item svg { width: 24px; height: 24px; }
  .section-dark, .section-light { padding: 4rem 0; }
  .section-title { font-size: 1.75rem; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .page-header h1 { font-size: 1.85rem; }
  .cta-inner { padding: 2.5rem 1.5rem; }
  .cta-inner h2 { font-size: 1.5rem; }
  .blog-article-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
  .blog-article-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
  .blog-pagination { flex-direction: column; gap: 1rem; }
  .pagination-prev, .pagination-next { width: 100%; }
}
