:root {
  --primary: #7E57C2;
  --primary-strong: #6A43BC;
  --primary-variant: #5E35B1;
  --secondary: #B39DDB;
  --background: #FCFAFF;
  --background-soft: #F5EFFD;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #FFFFFF;
  --surface-dark: #24173d;
  --surface-dark-2: #2f1d4f;
  --on-primary: #FFFFFF;
  --on-background: #1D1530;
  --on-surface: #221a34;
  --text-main: #221a34;
  --text-soft: #6E6682;
  --text-faint: #918AA3;
  --border: rgba(126, 87, 194, 0.12);
  --border-strong: rgba(126, 87, 194, 0.22);
  --shadow-sm: 0 10px 30px rgba(80, 42, 150, 0.08);
  --shadow-md: 0 20px 50px rgba(80, 42, 150, 0.12);
  --shadow-lg: 0 26px 80px rgba(80, 42, 150, 0.20);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: min(1180px, 92%);
  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(179, 157, 219, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 24%),
    linear-gradient(180deg, #faf8ff 0%, #ffffff 36%, #f9f5ff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 92%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(126, 87, 194, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-variant);
  flex-shrink: 0;
}

.logo-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.18);
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-variant);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-variant));
  transition: width var(--transition);
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 87, 194, 0.18), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 157, 219, 0.20), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(126, 87, 194, 0.10);
  color: var(--primary-variant);
  border: 1px solid rgba(126, 87, 194, 0.14);
  border-radius: 999px;
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #1e1730;
  max-width: 10ch;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  min-height: 54px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--on-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-variant) 100%);
  box-shadow: 0 18px 40px rgba(94, 53, 177, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 24px 54px rgba(94, 53, 177, 0.30);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-variant);
  border-color: rgba(126, 87, 194, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(126, 87, 194, 0.28);
}

.btn-white {
  background: #ffffff;
  color: var(--primary-variant);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.btn-white:hover {
  background: #fff;
}

/* Hero phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-card {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.phone-screen {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 360px;
  min-height: 670px;
  border-radius: 42px;
  padding: 24px 18px 22px;
  background:
    linear-gradient(180deg, rgba(57, 38, 94, 0.98) 0%, rgba(34, 21, 58, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 30px 70px rgba(50, 24, 91, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-top {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1eaff;
  margin: 18px 0 20px;
  letter-spacing: -0.02em;
}

.mock-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.mock-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.mock-card p {
  margin: 0;
  color: rgba(235, 229, 245, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.mock-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.mock-actions div {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.float-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--text-main);
  border: 1px solid rgba(126, 87, 194, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  min-width: 170px;
}

.float-chip strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #261b39;
}

.float-chip span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.chip-1 {
  top: 70px;
  left: -26px;
}

.chip-2 {
  right: -24px;
  bottom: 130px;
}

/* Generic sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(126, 87, 194, 0.04), rgba(126, 87, 194, 0.02));
}

.section-tint {
  background:
    radial-gradient(circle at top right, rgba(126, 87, 194, 0.08), transparent 25%),
    linear-gradient(180deg, #faf8ff 0%, #f7f3fd 100%);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-soft);
  letter-spacing: -0.02em;
}

.kicker-dark {
  color: rgba(255,255,255,0.75);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #1e1730;
}

.section-subtitle {
  margin: 0 auto;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  position: relative;
  border-radius: 30px;
  padding: 32px 28px;
  min-height: 100%;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.95rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.card-soft {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.card-purple {
  background: linear-gradient(180deg, #7d57c6 0%, #623ab2 100%);
  color: #fff;
  border-color: rgba(126, 87, 194, 0.28);
  box-shadow: 0 24px 55px rgba(94, 53, 177, 0.22);
}

.card-purple p,
.card-purple .text-link {
  color: rgba(255,255,255,0.88);
}

.card-purple .card-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.card-dark {
  background: linear-gradient(180deg, #26173f 0%, #1e122f 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 24px 55px rgba(27, 14, 48, 0.28);
}

.card-dark p {
  color: rgba(244,240,250,0.80);
}

.card-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(126, 87, 194, 0.10);
  color: var(--primary-variant);
  font-size: 1.7rem;
  font-weight: 800;
}

.card-icon-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Feature band */
.feature-band {
  padding: 96px 0;
  background:
    linear-gradient(135deg, #211433 0%, #2c1846 45%, #1d122c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  content: "";
  position: absolute;
  inset: auto auto -140px -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 87, 194, 0.20), transparent 70%);
}

.feature-band::after {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 157, 219, 0.16), transparent 70%);
}

.feature-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.feature-band h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.feature-band p {
  margin: 0;
  color: rgba(241, 234, 250, 0.82);
  font-size: 1.06rem;
  max-width: 600px;
}

.feature-band-points {
  display: grid;
  gap: 18px;
}

.feature-band-point {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.feature-band-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #fff;
}

.feature-band-point span {
  color: rgba(241, 234, 250, 0.78);
}

/* Blog cards in homepage */
.blog-card-simple {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.blog-card-simple h3 {
  font-size: 1.7rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--primary-variant);
}

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

/* CTA */
.cta-section {
  padding: 12px 0 100px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 24%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-variant) 100%);
  color: white;
  border-radius: 34px;
  padding: 58px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

.cta-box h2,
.cta-box h3 {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-box p {
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
  max-width: 700px;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #1d132f 0%, #130c22 100%);
  color: #d8d2e8;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
  padding-bottom: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(232, 226, 247, 0.82);
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 18px 0 24px;
  text-align: center;
  color: rgba(232, 226, 247, 0.70);
}

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(126, 87, 194, 0.12);
  box-shadow: 0 10px 30px rgba(94, 53, 177, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(94, 53, 177, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card h2 a {
  color: #241c33;
}

.blog-card-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.small {
  font-size: 0.85rem;
}

/* BLOG DETAIL */
.blog-article h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.blog-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #2e2a38;
}

.blog-content p {
  margin-bottom: 18px;
}

.blog-content h2,
.blog-content h3 {
  margin-top: 28px;
}

.blog-cover {
  margin: 24px 0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(94, 53, 177, 0.12);
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.blog-meta {
  color: #7d7890;
  font-size: 0.92rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-divider {
  margin: 40px 0;
  opacity: 0.2;
  border: none;
  height: 1px;
  background: rgba(126, 87, 194, 0.15);
}

/* PAGE HERO */
.page-hero {
  margin-bottom: 28px;
}

.page-hero-simple {
  text-align: left;
}

.page-hero-simple .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* CONTACT */
.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card {
  border-radius: 22px;
}

/* LEGAL */
.legal-shell {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(126, 87, 194, 0.10);
  box-shadow: 0 12px 36px rgba(94, 53, 177, 0.08);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.legal-page h1,
.legal-page h2 {
  letter-spacing: -0.02em;
}

.legal-page h1 {
  margin-bottom: 10px;
}

.legal-page h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #2a2040;
  font-size: 1.35rem;
}

.legal-page p {
  color: #3d3750;
}

.legal-page ul {
  padding-left: 20px;
  margin: 14px 0 18px;
}

.legal-page li {
  margin-bottom: 10px;
  color: #3d3750;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .feature-band-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .chip-1 {
    left: 0;
  }

  .chip-2 {
    right: 0;
  }
}

@media (max-width: 900px) {
  .grid-3,
  .footer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 58px 0 52px;
  }

  .section,
  .feature-band {
    padding: 74px 0;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .nav-links {
    justify-content: center;
    gap: 18px 20px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .cta-box {
    padding: 40px 22px;
    border-radius: 26px;
  }

  .blog-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.92);
  }

  .nav {
    padding: 14px 0 16px;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    gap: 14px 18px;
  }

  .nav-links a {
    font-size: 0.96rem;
  }

  .hero {
    padding: 42px 0 44px;
  }

  .badge {
    font-size: 0.85rem;
    padding: 9px 14px;
    margin-bottom: 16px;
  }

  .hero p,
  .section-subtitle,
  .feature-band p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 10px 16px;
    font-size: 0.92rem;
  }

  .phone-card {
    max-width: 100%;
  }

  .phone-screen {
    max-width: 100%;
    min-height: auto;
    padding: 22px 16px 20px;
    border-radius: 34px;
  }

  .mock-card {
    border-radius: 22px;
    padding: 18px 16px;
  }

  .mock-card strong {
    font-size: 1.3rem;
  }

  .mock-card p {
    font-size: 0.98rem;
  }

  .mock-actions div {
    width: 56px;
    height: 56px;
  }

  .float-chip {
    position: static;
    margin-bottom: 12px;
    min-width: 0;
  }

  .chip-1,
  .chip-2 {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .card h3 {
    font-size: 1.8rem;
  }

  .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .feature-band-point {
    padding: 18px;
    border-radius: 20px;
  }

  .legal-shell {
    padding: 22px;
    border-radius: 20px;
  }
}



/* NAV SHELL */
.nav-shell {
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-desktop {
  display: flex;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(126, 87, 194, 0.14);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-variant);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.footer-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-logo span {
  color: white;
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .nav-shell {
    padding: 10px 0 12px;
  }

  .nav {
    flex-direction: row;
    align-items: center;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.25s ease,
      margin-top 0.25s ease;
    margin-top: 0;
  }

  .mobile-menu.is-open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 14px;
  }

  .mobile-menu-links {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(126, 87, 194, 0.10);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-menu-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    color: var(--text-main);
    background: rgba(126, 87, 194, 0.04);
    border: 1px solid rgba(126, 87, 194, 0.06);
  }

  .mobile-menu-links a:hover {
    color: var(--primary-variant);
    background: rgba(126, 87, 194, 0.08);
  }
}






/* BLOG CONTENT — PREMIUM TYPOGRAPHY */
.blog-content {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2e2a38;
}

.blog-content h2 {
    font-size: 1.6rem;
    margin-top: 34px;
    margin-bottom: 12px;
    color: #201a2c;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 10px;
    color: #2a2040;
    line-height: 1.3;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    border-left: 4px solid #7E57C2;
    padding: 4px 0 4px 16px;
    margin: 22px 0;
    color: #5f5b6b;
    font-style: italic;
    background: rgba(126, 87, 194, 0.04);
    border-radius: 0 12px 12px 0;
}

.blog-content strong {
    color: #1f1830;
    font-weight: 700;
}

.blog-content a {
    color: #5E35B1;
    font-weight: 600;
}

.blog-content a:hover {
    color: #7E57C2;
}

.blog-content hr {
    border: none;
    height: 1px;
    background: rgba(126, 87, 194, 0.15);
    margin: 30px 0;
}

.blog-content img {
    width: 100%;
    border-radius: 18px;
    margin: 24px 0;
    box-shadow: 0 18px 50px rgba(94, 53, 177, 0.12);
}

.blog-content code {
    background: rgba(126, 87, 194, 0.08);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.95em;
}

.blog-content pre {
    background: #1f1436;
    color: #f4efff;
    padding: 18px;
    border-radius: 16px;
    overflow-x: auto;
    margin: 22px 0;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

@media (max-width: 640px) {
    .blog-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .blog-content h2 {
        font-size: 1.4rem;
    }

    .blog-content h3 {
        font-size: 1.15rem;
    }
}