:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --text: #181c22;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e3e8f2;
  --primary: #2f53ff;
  --primary-2: #008fff;
  --primary-solid: #2f53ff;
  --primary-grad: linear-gradient(135deg, #2f53ff 0%, #008fff 100%);
  --dark-blue: #1d3f70;
  --shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.18), 0px 10px 28px 0px rgba(0, 0, 0, 0.08);
  --shadow-sm:
    0px 1px 3px 0px rgba(0, 0, 0, 0.14), 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
  --teal: #0cbaba;
  --teal-2: #a3e1fb;
  --teal-grad: linear-gradient(135deg, #a3e1fb 0%, #0cbaba 100%);
  --purple: #7c3aed;
  --purple-2: #a78bfa;
  --purple-grad: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  --amber: #f59e0b;
  --amber-2: #fde68a;
  --amber-grad: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  --success: #16a34a;
  --danger: #dc2626;

  --radius-sm: 12px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Responsive spacing using clamp() */
  --space-1: clamp(0.2rem, 0.5vw, 0.25rem);
  --space-2: clamp(0.375rem, 1vw, 0.5rem);
  --space-3: clamp(0.5rem, 1.5vw, 0.75rem);
  --space-4: clamp(0.75rem, 2vw, 1rem);
  --space-5: clamp(1rem, 2.5vw, 1.25rem);
  --space-6: clamp(1.125rem, 3vw, 1.5rem);
  --space-8: clamp(1.5rem, 4vw, 2rem);
  --space-10: clamp(1.75rem, 5vw, 2.5rem);
  --space-12: clamp(2rem, 6vw, 3rem);

  /* Responsive typography scale */
  --fs-xs: clamp(0.7rem, 1.8vw, 0.75rem);
  --fs-sm: clamp(0.8rem, 2vw, 0.875rem);
  --fs-base: clamp(0.875rem, 2.2vw, 1rem);
  --fs-md: clamp(0.95rem, 2.4vw, 1.05rem);
  --fs-lg: clamp(1rem, 2.6vw, 1.15rem);
  --fs-xl: clamp(1.1rem, 3vw, 1.25rem);
  --fs-2xl: clamp(1.25rem, 3.5vw, 1.5rem);
  --fs-3xl: clamp(1.5rem, 4vw, 2rem);
  --fs-4xl: clamp(1.75rem, 5vw, 2.5rem);
  --fs-5xl: clamp(2rem, 6vw, 3rem);

  /* Touch-friendly minimum sizes */
  --touch-target-min: 44px;

  --container: 1120px;
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 100;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Thin.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Thin.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Thin.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 200;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-UltraLight.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-UltraLight.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-UltraLight.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 300;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Light.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Light.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Light.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 400;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Regular.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Regular.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Regular.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 500;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Medium.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Medium.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Medium.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 600;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-DemiBold.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-DemiBold.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-DemiBold.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 700;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Bold.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Bold.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Bold.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 800;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-ExtraBold.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-ExtraBold.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-ExtraBold.ttf")
      format("truetype");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 900;
  src:
    local("IRANYekanX"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Black.woff2")
      format("woff2"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Black.woff")
      format("woff"),
    url("../fonts/IRANYekanX(pro)/Farsi numerals/IRANYekanXFaNum-Black.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 100;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Thin.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Thin.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Thin.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 200;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-ExtraLight.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-ExtraLight.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-ExtraLight.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 300;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Light.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Light.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Light.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 400;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Regular.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Regular.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Regular.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 500;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Medium.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Medium.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Medium.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 600;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-SemiBold.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-SemiBold.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-SemiBold.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 700;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Bold.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Bold.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Bold.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 800;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-ExtraBold.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-ExtraBold.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-ExtraBold.ttf")
      format("truetype");
}

@font-face {
  font-family: Kalameh;
  font-style: normal;
  font-weight: 900;
  src:
    local("Kalameh"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/woff2/KalamehWebFaNum-Black.woff2")
      format("woff2"),
    url("../fonts/Kalameh/02- Farsi_Numerals/WebFonts/fonts/Woff/KalamehWebFaNum-Black.woff")
      format("woff"),
    url("../fonts/Kalameh/02- Farsi_Numerals/TTF/KalamehFaNum-Black.ttf")
      format("truetype");
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: IRANYekanX !important;
  color: #181c22;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: IRANYekanX !important;
}

.visually-hidden,
.ai-study__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(
      900px 420px at 80% -10%,
      rgba(47, 83, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 10% 0%,
      rgba(0, 143, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(
      900px 420px at 20% 110%,
      rgba(12, 186, 186, 0.1),
      transparent 55%
    ),
    var(--bg);
  color: var(--text);
  font-family: IRANYekanX, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
summary,
.btn,
.brand-text {
  font-family: Kalameh, IRANYekanX, sans-serif;
}

::-moz-selection {
  color: #fff;
  background: var(--dark-blue);
}

::selection {
  color: #fff;
  background: var(--dark-blue);
}

a {
  color: inherit;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
  text-underline-offset: 0.25em;
}

:focus-visible {
  outline: 3px solid rgba(47, 83, 255, 0.35);
  outline-offset: 3px;
  border-radius: 12px;
}

.taraz-ai-landing,
.ai-landing {
  margin-top: 70px;
}
.taraz-ai-landing img,
.ai-landing img {
  max-width: 100%;
  height: auto;
}

.container,
.ai-hero__container,
.ai-demo__container,
.ai-study__container,
.ai-features__container,
.ai-books__container,
.ai-how__container,
.ai-popular-searches__container,
.ai-faq__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, var(--space-5));
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-5);
  inset-block-start: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: var(--space-2) var(--space-4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: clamp(0.6rem, 1.5vw, 0.7rem) clamp(0.85rem, 2vw, 1rem);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  cursor: pointer;
  min-height: var(--touch-target-min);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    border-color 140ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 0.85rem 1.2rem;
}

.btn-primary {
  color: #fff;
  background: var(--primary-grad);
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.18),
    0px 6px 16px 0px rgba(47, 83, 255, 0.25);
}

.btn-primary:hover {
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.18),
    0px 10px 22px 0px rgba(47, 83, 255, 0.28);
}

.btn-icon,
.ai-hero__action-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Hero */
.hero,
.ai-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 8vw, 6rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.bg-blobs,
.ai-hero__bg-blobs {
  position: absolute;
  top: -6%;
  left: 52%;
  width: min(78%, 1200px);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

.hero-grid,
.ai-hero__grid {
  display: flex;
  gap: var(--space-8);
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.hero-content,
.ai-hero__content {
  flex: 1;
}

.ai-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 620px;
}

.ai-hero__content .ai-hero__title {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin-bottom: 0;
}

.ai-hero__content .ai-hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 0;
}

.ai-hero__content .ai-hero__eyebrow-row,
.ai-hero__content .ai-hero__badge-list,
.ai-hero__content .ai-hero__actions {
  margin-bottom: 0;
}

.ai-hero__content .ai-hero__actions {
  gap: var(--space-3);
}

.eyebrow-row,
.ai-hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.eyebrow,
.ai-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.badge,
.ai-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 232, 242, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.badge-blue,
.ai-hero__badge--blue {
  border-color: rgba(47, 83, 255, 0.18);
  background: rgba(47, 83, 255, 0.06);
  color: var(--dark-blue);
}
.start-btn,
.ai-hero__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 14px;
  padding: clamp(0.7rem, 2vw, 0.75rem) clamp(1rem, 2.5vw, 1rem);
  font-size: var(--fs-base);
  font-weight: 600;
  text-transform: none;
  color: white;
  min-height: var(--touch-target-min);
}
.start-btn,
.ai-hero__action--primary {
  color: white;
  background: linear-gradient(268deg, #2f53ff 0%, #008fff 100%);
}
.start-btn img,
.ai-hero__action-icon {
  filter: none !important;
}
.example-btn,
.ai-hero__action--secondary {
  color: white;
  background: linear-gradient(135deg, #80d3f7 0%, #0cbaba 100%);
}
.accent,
.ai-hero__accent {
  color: var(--primary-solid);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent,
  .ai-hero__accent {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

h1,
.ai-hero__title {
  font-family: "Kalameh" !important;
  margin: 0 0 var(--space-4);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-badges,
.ai-hero__badge-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero-badges li,
.ai-hero__badge-list li {
  margin: 0;
}

.lead,
.ai-hero__lead {
  margin: 0 0 var(--space-6);
  color: var(--muted);
  font-size: var(--fs-md);
}

.hero-actions,
.ai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-8);
}

.hero-stats,
.ai-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
}

.stat,
.ai-hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: linear-gradient(to left, #e3f2fd, #bbdefb);
  color: #0d47a1;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.stat:hover,
.ai-hero__stat:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 83, 255, 0.18);
  box-shadow: var(--shadow-sm);
}

.stat-icon,
.ai-hero__stat-icon {
  width: 24px;
  height: 24px;
  position: relative;
  overflow: hidden;
}

.ai-hero__stat-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #0d47a1;
  -webkit-mask-image: var(--stat-icon-mask);
  mask-image: var(--stat-icon-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
}

.ai-hero__stat-icon--coverage {
  --stat-icon-mask: url("../img/note-text-icon.svg");
}

.ai-hero__stat-icon--source {
  --stat-icon-mask: url("../img/solar_notebook-linear.svg");
}

.ai-hero__stat-icon--inputs {
  --stat-icon-mask: url("../img/upload_icon.svg");
}

.stat dt,
.ai-hero__stat-label {
  margin: 0;
  font-size: var(--fs-base);
  font-weight: 700;
}

.stat dd,
.ai-hero__stat-value {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.ai-hero__stat-head {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-card,
.ai-hero__card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.ai-cta > *,
.final-cta > * {
  position: relative;
  z-index: 2;
}

.ai-cta::before,
.ai-cta::after,
.final-cta::before,
.final-cta::after {
  z-index: 0;
}

.ai-cta .ai-bubble-layer,
.final-cta .ai-bubble-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ai-cta .ai-bubble,
.final-cta .ai-bubble {
  position: absolute;
  width: var(--size, 24px);
  height: var(--size, 24px);
  border-radius: 999px;
  left: var(--x, 50%);
  bottom: calc(-1 * var(--size, 24px));
  opacity: var(--opacity, 0.5);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.28) 42%,
    rgba(255, 255, 255, 0.12) 62%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow:
    inset -3px -6px 12px rgba(255, 255, 255, 0.18),
    0 4px 12px rgba(255, 255, 255, 0.12);
  filter: blur(0.1px);
  animation: ai-bubble-float var(--duration, 4.2s) linear infinite;
  animation-delay: var(--delay, 0s);
  transform: translate3d(0, 0, 0) scale(0.85);
}

@keyframes ai-bubble-float {
  0% {
    bottom: calc(-1 * var(--size, 24px));
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: var(--opacity, 0.45);
  }
  100% {
    bottom: 100%;
    transform: translate3d(var(--drift, 10px), 0, 0) scale(1.05);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-cta .ai-bubble,
  .final-cta .ai-bubble {
    animation: none;
  }
}

.hero-card:hover,
.ai-hero__card:hover {
  transform: translateY(-2px);
}
.img_container,
.ai-hero__image-stack {
  position: relative;
  overflow: visible;
  width: 418px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.img_container .img_1,
.ai-hero__image-stack .ai-hero__image--primary {
  width: 268px;
  border-radius: var(--radius-lg);
}


.hero-card .img_container img,
.ai-hero__card .ai-hero__image-stack img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-header,
.ai-hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.card-title,
.ai-hero__card-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
}

.dot,
.ai-hero__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
}

.chip,
.ai-hero__chip,
.ai-books__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-xs);
}

.chip--blue,
.ai-hero__chip--blue,
.ai-books__chip--blue {
  border-color: rgba(47, 83, 255, 0.18);
  background: rgba(47, 83, 255, 0.06);
  color: var(--dark-blue);
}

.chip--teal,
.ai-hero__chip--teal,
.ai-books__chip--teal {
  border-color: rgba(12, 186, 186, 0.22);
  background: rgba(12, 186, 186, 0.08);
  color: #0b5563;
}

.chip--purple,
.ai-hero__chip--purple,
.ai-books__chip--purple {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
  color: #3b1a7a;
}

.chip-success,
.ai-hero__status-chip {
  border-color: rgba(22, 163, 74, 0.25);
  color: #065f46;
  background: rgba(22, 163, 74, 0.08);
}

.pill,
.ai-hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(47, 83, 255, 0.06);
  border: 1px solid rgba(47, 83, 255, 0.16);
  color: #1d3f70;
  font-weight: 800;
  font-size: 0.9rem;
}

.pill--text,
.ai-hero__pill--text {
  background: rgba(47, 83, 255, 0.06);
  border-color: rgba(47, 83, 255, 0.18);
  color: #1d3f70;
}

.pill--voice,
.ai-hero__pill--voice {
  background: rgba(12, 186, 186, 0.09);
  border-color: rgba(12, 186, 186, 0.22);
  color: #0b5563;
}

.pill--photo,
.ai-hero__pill--photo {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.22);
  color: #7c2d12;
}

.pill--file,
.ai-hero__pill--file {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.22);
  color: #3b1a7a;
}

.upload-row,
.ai-hero__upload {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  position: relative;
}

.composer,
.ai-hero__composer {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: #eff1f1;
  border: 1px solid rgba(227, 232, 242, 0.9);
}

.composer-field,
.ai-hero__composer-field {
  color: #5b5e66;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composer-actions,
.ai-hero__composer-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.composer-actions img,
.ai-hero__composer-actions img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.9;
}

/* Chat mock */
.chat,
.ai-demo__chat,
.ai-hero__chat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}

.msg,
.ai-demo__message,
.ai-hero__message {
  max-width: 92%;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.msg p,
.ai-demo__message p,
.ai-hero__message p {
  margin: 0;
}

.msg-user,
.ai-demo__message--user,
.ai-hero__message--user {
  border-radius: 20px 0px 20px 20px;
  background-color: rgba(23, 114, 255, 0.1);
  color: #191c1d;
  max-width: min(94%, 480px);
  padding: clamp(0.65rem, 2vw, 0.75rem) !important;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.msg-ai,
.ai-demo__message--ai,
.ai-hero__message--ai {
  margin-inline-start: auto;
  background: rgba(255, 255, 255, 0.85);
}

.msg-steps,
.ai-demo__steps,
.ai-hero__steps {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: var(--text);
}

.msg-steps li,
.ai-demo__steps li,
.ai-hero__steps li {
  margin: 0.35rem 0;
}

.msg-steps li::marker,
.ai-demo__steps li::marker,
.ai-hero__steps li::marker {
  color: var(--primary-solid);
  font-weight: 900;
}

.source-chip,
.ai-demo__source-chip,
.ai-hero__source-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 83, 255, 0.18);
  background: rgba(47, 83, 255, 0.06);
  color: #1d3f70;
  font-weight: 750;
  font-size: 0.9rem;
}

.source-label,
.ai-demo__source-label,
.ai-hero__source-label {
  color: rgba(29, 63, 112, 0.95);
}

/* Sections */
.section,
.ai-demo,
.ai-features,
.ai-books,
.ai-faq,
.ai-how,
.ai-cta {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.ai-demo,
.ai-features,
.ai-books,
.ai-faq {
  position: relative;
  overflow: hidden;
}

.ai-demo::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  pointer-events: none;
  opacity: 0.12;
  width: 114px;
  height: 114px;
  background-color: currentColor;
  -webkit-mask-image: url("../img/AI_star_alt_blue_3.svg");
  mask-image: url("../img/AI_star_alt_blue_3.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 114px;
  mask-size: 114px;
}

.ai-demo {
  background: linear-gradient(98deg, #f2fcff 0%, #d9f6ff 98.05%) !important;
  color: #0088b2 !important;
}

@media (max-width: 991px) {
  .ai-demo::before{
    left: 10px;
    top: 14px;
    opacity: 0.12;
    width: 64px;
    height: 64px;
    mask-size: 64px;
}
}

.ai-features {
  background: linear-gradient(
    180deg,
    rgba(12, 186, 186, 0.05),
    rgba(255, 255, 255, 0)
  );
}

.ai-features::before {
  background-image: url("src/redesign_taraz_assets/img/bg_lines_1.svg");
  opacity: 0.12;
}

.ai-books {
  background:
    radial-gradient(1200px circle at 12% 15%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(47, 83, 255, 0.12) 0%, rgba(0, 143, 255, 0.12) 45%, rgba(167, 139, 250, 0.18) 100%);
}
.ai-how {
  padding: 88px 0px;
  color: #37609d;
  background: white;
}

.ai-popular-searches {
  padding: 88px 0;
  background: linear-gradient(
    180deg,
    rgba(47, 83, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
  color: #1f2937;
}

.section-head,
.ai-demo__head,
.ai-study__head,
.ai-features__head,
.ai-books__head,
.ai-how__head,
.ai-popular-searches__head,
.ai-faq__head {
  margin-bottom: clamp(1.5rem, 4vw, var(--space-8));
  position: relative;
  z-index: 1;
}

.ai-demo__head,
.ai-study__head,
.ai-features__head {
  text-align: center;
}

h2,
.ai-demo__title,
.ai-study__title,
.ai-features__title,
.ai-books__title,
.ai-how__title,
.ai-popular-searches__title,
.ai-faq__title {
  font-family: "Kalameh" !important;
  margin: 0 0 var(--space-3);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  display: inline-block;
}

.ai-study__phone-img{
  width: 100%;
  height: auto;
  max-width: 400px !important;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  pointer-events: none;
}

.ai-study__phone-img--active {
  position: relative;
  left: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ai-demo__title,
.ai-study__title,
.ai-features__title {
  text-align: center;
}

.ai-books__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: nowrap;
}

.ai-books__title-part {
  display: inline-block;
  font-family: "Kalameh" !important;
}

.ai-books__equals {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f53ff 0%, #00b5ff 100%);
  box-shadow: 0 14px 28px rgba(47, 83, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
}

.ai-books__equals::before {
  content: "=";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.ai-study .ai-study__head .ai-study__title::after {
  background: var(--primary-grad);
}

.ai-demo .ai-demo__head .ai-demo__title::after {
  background: #e5c6ff;
}

.ai-features .ai-features__head .ai-features__title::after {
  background: var(--teal-grad);
}

.ai-books .ai-books__head .ai-books__title::after {
  background: #50362e;
}

@media (max-width: 768px) {
  .ai-books__title {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
  }

  .ai-books__equals {
    width: 38px;
    height: 38px;
  }

  .ai-books__equals::before {
    font-size: 1rem;
  }
}

.section-subtitle,
.ai-demo__subtitle,
.ai-study__subtitle,
.ai-features__subtitle,
.ai-books__subtitle,
.ai-how__subtitle,
.ai-popular-searches__subtitle,
.ai-faq__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-base);
}

.grid,
.ai-features__grid {
  display: grid;
  gap: var(--space-4);
}

.section .container,
.ai-demo__container,
.ai-study__container,
.ai-features__container,
.ai-books__container,
.ai-how__container,
.ai-popular-searches__container,
.ai-faq__container {
  position: relative;
  z-index: 1;
}

.ai-popular-searches__head {
  text-align: center;
}

.ai-popular-searches__title {
  position: relative;
}

.ai-popular-searches__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin: var(--space-3) auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(47, 83, 255, 0.2),
    rgba(47, 83, 255, 0.7)
  );
}

.ai-popular-searches__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.ai-popular-searches__item {
  flex: 1 1 calc(50% - var(--space-4));
  min-width: 260px;
}

.ai-popular-searches__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: clamp(0.9rem, 1.4vw, 1.2rem);
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.ai-popular-searches__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(47, 83, 255, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 180ms ease;
}

.ai-popular-searches__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(47, 83, 255, 0.25);
  text-decoration: none;
}

.ai-popular-searches__link:hover::before {
  opacity: 1;
}

.ai-popular-searches__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(47, 83, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(47, 83, 255, 0.15);
}

.ai-popular-searches__text {
  color: #0f172a;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .ai-popular-searches {
    padding: 36px 0;
  }
  .ai-popular-searches__item {
    flex-basis: 100%;
    .ai-books__banner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-3);
      flex-wrap: nowrap;
      padding: clamp(0.75rem, 2.5vw, 1rem) clamp(1rem, 3vw, 1.5rem);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.85);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(226, 232, 240, 0.8);
      transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
    }

    .ai-books__banner:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
      background: rgba(255, 255, 255, 0.95);
    }

    .ai-books__banner-text {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      font-size: clamp(0.9rem, 2.4vw, 1rem);
      font-weight: 600;
      color: #0f172a;
      white-space: nowrap;
      position: relative;
    }

  
    .ai-books__banner-sep {
      opacity: 0.35;
      font-weight: 500;
      color: #475569;
    }

    @media (max-width: 768px) {
      .ai-books__banner {
        gap: var(--space-2);
        padding: 0.7rem 1rem;
        border-radius: 20px;
      }

      .ai-books__banner-text {
        font-size: 0.9rem;
      }
    }
  }
}

.ai-demo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
}

.ai-demo__capabilities {
  display: grid;
  gap: var(--space-4);
}

.ai-demo__figure-img {
    width: 100%;
  height: auto;
  max-width: 400px !important;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.ai-study {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.ai-study::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background-image: url("src/redesign_taraz_assets/img/bg_lines_1.svg");
  background-repeat: no-repeat;
  background-position: 50% 40%;
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
}

.ai-study__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-study__phone {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  min-height: 300px;
}

.ai-study__benefit-list > li {
  margin: 0;
}

.ai-study__benefit {
  cursor: pointer;
}

.ai-study__benefit:active {
  transform: translateY(-1px);
}

#study-solve:checked ~ .ai-study__list label[for="study-solve"],
#study-lesson:checked ~ .ai-study__list label[for="study-lesson"],
#study-exam:checked ~ .ai-study__list label[for="study-exam"],
#study-photo:checked ~ .ai-study__list label[for="study-photo"],
#study-pdf:checked ~ .ai-study__list label[for="study-pdf"],
#study-voice:checked ~ .ai-study__list label[for="study-voice"] {
  border-width: 2px;
  box-shadow: 0px 1px 2px rgba(77, 76, 76, 0.1);
  transform: scale(1);
  opacity: 1;
}

#study-solve:checked
  ~ .ai-study__list
  label[for="study-solve"]
  .ai-study__benefit-icon,
#study-lesson:checked
  ~ .ai-study__list
  label[for="study-lesson"]
  .ai-study__benefit-icon,
#study-exam:checked
  ~ .ai-study__list
  label[for="study-exam"]
  .ai-study__benefit-icon,
#study-photo:checked
  ~ .ai-study__list
  label[for="study-photo"]
  .ai-study__benefit-icon,
#study-pdf:checked
  ~ .ai-study__list
  label[for="study-pdf"]
  .ai-study__benefit-icon,
#study-voice:checked
  ~ .ai-study__list
  label[for="study-voice"]
  .ai-study__benefit-icon {
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1);
}

#study-solve:checked
  ~ .ai-study__list
  label[for="study-solve"]
  .ai-study__benefit-icon
  img,
#study-lesson:checked
  ~ .ai-study__list
  label[for="study-lesson"]
  .ai-study__benefit-icon
  img,
#study-exam:checked
  ~ .ai-study__list
  label[for="study-exam"]
  .ai-study__benefit-icon
  img,
#study-photo:checked
  ~ .ai-study__list
  label[for="study-photo"]
  .ai-study__benefit-icon
  img,
#study-pdf:checked
  ~ .ai-study__list
  label[for="study-pdf"]
  .ai-study__benefit-icon
  img,
#study-voice:checked
  ~ .ai-study__list
  label[for="study-voice"]
  .ai-study__benefit-icon
  img {
  filter: brightness(0) invert(1);
}

#study-solve:focus-visible ~ .ai-study__list label[for="study-solve"],
#study-lesson:focus-visible ~ .ai-study__list label[for="study-lesson"],
#study-exam:focus-visible ~ .ai-study__list label[for="study-exam"],
#study-photo:focus-visible ~ .ai-study__list label[for="study-photo"],
#study-pdf:focus-visible ~ .ai-study__list label[for="study-pdf"],
#study-voice:focus-visible ~ .ai-study__list label[for="study-voice"] {
  outline: 3px solid rgba(47, 83, 255, 0.35);
  outline-offset: 3px;
}

.ai-study__benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}


.ai-study__benefit {
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  border-radius: 1rem; 
  border-width: 1px;
  border-style: solid;
  cursor: pointer;

  background: #ffffff;
  border-color: #e2e8f0;
  transform: scale(0.96);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  opacity: 0.9;
}

.ai-study__benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ai-study__benefit-text {
  text-align: right; 
  width: 100%;
}

.ai-study__benefit-title {
  margin: 0 0 0.5rem 0;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #1e293b;
}

.ai-study__benefit-desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: #475569; 
  line-height: 1.5;
}

.ai-study__benefit-icon {
  width: 2.5rem; 
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-study__benefit-icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}


.ai-study__benefit-list li:nth-child(1) .ai-study__benefit {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}
.ai-study__benefit-list li:nth-child(1) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.ai-study__benefit-list li:nth-child(2) .ai-study__benefit {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border-color: #ddd6fe;
}
.ai-study__benefit-list li:nth-child(2) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.ai-study__benefit-list li:nth-child(3) .ai-study__benefit {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: #bbf7d0;
}
.ai-study__benefit-list li:nth-child(3) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #4ade80, #16a34a);
}

.ai-study__benefit-list li:nth-child(4) .ai-study__benefit {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fde68a;
}
.ai-study__benefit-list li:nth-child(4) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #fbbf24, #d97706) !important;
}

.ai-study__benefit-list li:nth-child(5) .ai-study__benefit {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #fecaca;
}
.ai-study__benefit-list li:nth-child(5) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

.ai-study__benefit-list li:nth-child(6) .ai-study__benefit {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border-color: #a5f3fc;
}
.ai-study__benefit-list li:nth-child(6) .ai-study__benefit-icon {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
}

@media (prefers-color-scheme: dark) {
  .ai-study__benefit {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    border-color: #475569 !important;
  }
  .ai-study__benefit-title {
    color: #fff;
  }
  .ai-study__benefit-desc {
    color: #cbd5e1;
  }
}

.ai-demo__cap-card {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, var(--space-5));
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  box-shadow: rgba(0, 136, 178, 0.2) 0px 4px 20px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.7);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 136, 178, 0.2);
}

.ai-demo__cap-card:hover {
  transform: translateY(-2px);
}

.ai-demo__cap-title {
  font-family: "Kalameh" !important;
  margin: var(--space-3) 0 var(--space-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0;
}

.ai-demo__cap-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.ai-demo__cap-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-demo__cap-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 136, 178, 0.12);
}

.ai-demo__cap-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask-image: url("");
  mask-image: url("");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 24px;
  mask-size: 24px;
}

.ai-demo__cap-card--voice .ai-demo__cap-icon {
  -webkit-mask-image: url("../img/mic.svg");
  mask-image: url("../img/mic.svg");
}
.ai-demo__cap-card--picture .ai-demo__cap-icon {
  -webkit-mask-image: url("../img/add_photo_icon.svg");
  mask-image: url("../img/add_photo_icon.svg");
}
.ai-demo__cap-card--file .ai-demo__cap-icon {
  -webkit-mask-image: url("../img/upload_file.svg");
  mask-image: url("../img/upload_file.svg");
}

.ai-features__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  direction: rtl;
}

@media (min-width: 768px) {
  .ai-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ai-features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ai-features__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
  min-height: auto;
  padding: clamp(0.875rem, 2.5vw, 1rem);
  border-radius: 1.2rem; 
  border-width: 1px;
  border-style: solid;
  background-color: #ffffff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ai-features__item:hover {
  transform: translateY(-2px); 
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ai-features__icon {
  width: 2.5rem; 
  height: 2.5rem;
  border-radius: 0.5rem; 
  display: flex;
  align-items: center;
  justify-content: center;
  border: none; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ai-features__icon img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ai-features__item h3 {
  font-size: var(--fs-base); 
  font-weight: 700; 
  color: #1e293b;
  margin-bottom: 0;
}

.ai-features__item p {
  font-size: var(--fs-sm); 
  line-height: 1.625; 
  color: #475569;
  margin-bottom: 0;
}

.ai-features__grid .ai-features__item:nth-child(1) {
  background: linear-gradient(
    135deg,
    #eff6ff,
    #dbeafe
  ); 
  border-color: #bfdbfe;
}
.ai-features__grid .ai-features__item:nth-child(1) .ai-features__icon {
  background: linear-gradient(
    135deg,
    #60a5fa,
    #2563eb
  );
}

.ai-features__grid .ai-features__item:nth-child(2) {
  background: linear-gradient(
    135deg,
    #f0fdfa,
    #ccfbf1
  ); 
  border-color: #99f6e4;
}
.ai-features__grid .ai-features__item:nth-child(2) .ai-features__icon {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
}

.ai-features__grid .ai-features__item:nth-child(3) {
  background: linear-gradient(
    135deg,
    #f5f3ff,
    #ede9fe
  ); 
  border-color: #ddd6fe;
}
.ai-features__grid .ai-features__item:nth-child(3) .ai-features__icon {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.ai-features__grid .ai-features__item:nth-child(4) {
  background: linear-gradient(
    135deg,
    #fffbeb,
    #fef3c7
  ); 
  border-color: #fde68a;
}
.ai-features__grid .ai-features__item:nth-child(4) .ai-features__icon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.ai-features__grid .ai-features__item:nth-child(5) {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe); 
  border-color: #bae6fd;
}
.ai-features__grid .ai-features__item:nth-child(5) .ai-features__icon {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.ai-features__grid .ai-features__item:nth-child(6) {
  background: linear-gradient(135deg, #fef2f2, #fee2e2); 
  border-color: #fecaca; 
}

.ai-features__grid .ai-features__item:nth-child(6) .ai-features__icon {
  background: linear-gradient(
    135deg,
    #f87171,
    #dc2626
  ); 
}

.ai-features__grid .ai-features__item:nth-child(7) {
  background: linear-gradient(
    135deg,
    #fdf2f8,
    #fce7f3
  ); 
  border-color: #fbcfe8; 
}
.ai-features__grid .ai-features__item:nth-child(7) .ai-features__icon {
  background: linear-gradient(
    135deg,
    #f472b6,
    #db2777
  ); 
}

.ai-features__grid .ai-features__item:nth-child(8) {
  background: linear-gradient(
    135deg,
    #eef2ff,
    #e0e7ff
  ); 
  border-color: #c7d2fe;
}
.ai-features__grid .ai-features__item:nth-child(8) .ai-features__icon {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

@media (prefers-color-scheme: dark) {
  .ai-features__item {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    border-color: #475569 !important;
  }
  .ai-features__item h3 {
    color: #ffffff;
  }
  .ai-features__item p {
    color: #94a3b8;
  }
}

/* Trust / Books */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.ai-books__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin-inline: auto;
  align-items: start;
}

.trust-card,
.ai-books__card {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 4vw, var(--space-6));
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;

  box-shadow: rgba(207, 154, 247, 0.2) 0px 4px 30px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.5);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.6);
}

.ai-books__card {
  background: rgba(255, 255, 255, 0.66);
}

.ai-books__prose {
  line-height: 1.9;
}

.ai-books__prose-text {
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
  color: var(--muted);
  font-size: var(--fs-base);
}

.ai-books__prose-text--last {
  margin: 0;
}

.ai-books__subhead {
  margin: clamp(0.875rem, 2.5vw, 1.125rem) 0 clamp(0.5rem, 1.5vw, 0.625rem);
  font-size: var(--fs-md);
  font-weight: 700;
  color: rgba(29, 63, 112, 0.95);
  letter-spacing: -0.01em;
  font-family: "Kalameh" !important;
}
.ai-books__head {
  text-align: center;
}
.ai-books__title {
  justify-content: center;
}
.ai-books__figure {
  margin: var(--space-5) 0 0;
  padding: var(--space-5);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.35);
}
.ai-books__figure-img {
  width: 100%;
  max-width: 360px !important;
  margin: auto;
  object-fit: contain;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.ai-books__figure .ai-books__note {
  margin-top: var(--space-4);
}

.trust-card:hover,
.ai-books__card:hover {
  transform: translateY(-2px);
}

.bullets {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
  color: var(--muted);
}

.ai-books__bullets {
  margin: 0 0 var(--space-6);
  padding: clamp(1rem, 2.2vw, 1.5rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  color: #2f3a4f;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(247, 208, 168, 0.6);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
  .ai-books__bullets {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bullets li,
.ai-books__bullets li {
  position: relative;
  padding-inline-start: 0;
}

.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.45rem;
  inset-block-start: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.ai-books__bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.4rem;
  inset-block-start: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    #fff7ec 0%,
    #f59e0b 35%,
    #f97316 70%
  );
  box-shadow: 0 6px 12px rgba(249, 115, 22, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 0.06),
    rgba(0, 143, 255, 0.06)
  );
  margin-bottom: var(--space-5);
  font-weight: 900;
}

.ai-books__banner {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: clamp(0.9rem, 2vw, 1.25rem) clamp(1rem, 2.2vw, 1.6rem);
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  margin-bottom: var(--space-5);
  font-weight: 800;
  color: #0f172a;
}

.ai-books__banner-text--bad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.ai-books__banner-text--bad::before {
content: "";
  background-color: currentColor;
  -webkit-mask-image: url("../img/wrong.svg");
  mask-image: url("../img/wrong.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px;
  mask-size: 16px;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.ai-books__banner-text--good {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.ai-books__banner-text--good::before {
 content: "";
  background-color: currentColor;
  -webkit-mask-image: url("../img/right.svg");
  mask-image: url("../img/right.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px;
  mask-size: 16px;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.banner-bad,
.ai-books__banner-text--bad {
  color: #991b1b;
}

.banner-good,
.ai-books__banner-text--good {
  color: #065f46;
}

.chips,
.ai-books__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.trust-visual,
.ai-books__visual {
  height: 100%;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;

  box-shadow: rgba(207, 154, 247, 0.2) 0px 4px 30px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.5);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 36px;
}

.ai-books__visual {
  height: auto;
}

.trust-visual:hover,
.ai-books__visual:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 83, 255, 0.18);
  box-shadow: var(--shadow);
}

.stack,
.ai-books__stack {
  width: 100%;
  height: 100%;
  position: relative;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-books__stack {
  height: 220px;
}

.book,
.ai-books__book {
  position: absolute;
  inset-block-end: 0;
  width: 70%;
  height: 48px;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 0.14),
    rgba(0, 143, 255, 0.12)
  );
}

.ai-books__book {
  height: 52px;
}
.book img,
.ai-books__book img {
  border-radius: 50px;
}

.book.b1,
.ai-books__book--b1 {
  inset-inline-start: 6%;
  transform: rotate(-3deg);
}

.book.b2,
.ai-books__book--b2 {
  inset-inline-start: 16%;
  inset-block-end: 44px;
  transform: rotate(2deg);
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.12),
    rgba(47, 83, 255, 0.12)
  );
}

.book.b3,
.ai-books__book--b3 {
  inset-inline-start: 10%;
  inset-block-end: 88px;
  transform: rotate(-1deg);
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.14),
    rgba(47, 83, 255, 0.12)
  );
}

.book.b4,
.ai-books__book--b4 {
  inset-inline-start: 20%;
  inset-block-end: 132px;
  transform: rotate(3deg);
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 0.14),
    rgba(0, 143, 255, 0.1)
  );
}

.ai-cta__title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-content h2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600 !important;
}

.cta-content h2::before,
.ai-cta__title::before {
  content: "";
  background-color: currentColor;
  -webkit-mask-image: url("../img/AI_star.svg");
  mask-image: url("../img/AI_star.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 36px;
  mask-size: 36px;
  display: inline-block;
  width: 36px;
  height: 40px;
  margin-inline-end: 4px;
  padding-bottom: 6px;
  animation: pulse-icon 2.2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.final-cta,
.ai-cta {
  position: relative;
}
.final-cta::after,
.ai-cta::after {
  content: "";
  background-color: currentColor;
  -webkit-mask-image: url("../img/AI_star_Icon.svg");
  mask-image: url("../img/AI_star_Icon.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 64px;
  mask-size: 64px;
  display: inline-block;
  width: 64px;
  height: 70px;
  padding: 2px;
  position: absolute;
  left: 30px;
  top: 30px;
  opacity: 0.2;
  animation: floating-star-1 6s ease-in-out infinite;
}
@keyframes floating-star-1 {
  0% {
    transform: translateY(0) rotate(8deg) scale(1);
  }

  50% {
    transform: translateY(86px) rotate(64deg) scale(1.04);
  }

  100% {
    transform: translateY(0) rotate(8deg) scale(1);
  }
}

.trust-note,
.ai-books__note {
  margin: 0;
  color: var(--muted);
}

/* Steps */
.ai-how {
  position: relative;
  padding: 60px 0;
  background: #ffffff;
  overflow: hidden;
}

.ai-how__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 3vw, 1.25rem);
  text-align: center;
}

.ai-how__head {
  margin-bottom: clamp(2.5rem, 8vw, 5rem);
}

.ai-how__title {
  font-size: var(--fs-4xl);
  font-weight: 600;
  margin: 0 0 12px;
  color: #000000;
}

.ai-how__subtitle {
  margin: 0;
  font-size: var(--fs-base);
  font-weight: 400;
  color: #6b7280;
}

.steps,
.ai-how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-how__steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step,
.ai-how__step {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.step-num,
.ai-how__step-num {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
  border: none;
  transition: transform 0.3s ease;
  position: relative;
}

.step h3,
.ai-how__step-title {
  margin: 0 0 clamp(0.625rem, 2vw, 0.9375rem);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: #111111;
}

.ai-how__step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

.step p,
.ai-how__step-desc {
  margin: 0;
  color: #6b7280;
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.6;
  padding: 0 clamp(0.5rem, 1.5vw, 0.625rem);
}

/* Connector lines between steps */
.ai-how__step:not(:last-child)::after {
  content: none;
}

.ai-how__connector {
  flex-grow: 1;
  height: 2px;
  background-image: linear-gradient(to right, transparent 50%, #e0e7ff 50%);
  background-size: 10px 100%;
  position: relative;
  max-width: 150px;
  min-width: 50px;
  list-style: none;
  align-self: center;
}

.ai-how__connector::before,
.ai-how__connector::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ai-how__connector::before {
  left: -5px;
}

.ai-how__connector::after {
  right: -5px;
}

.ai-how__connector--first::before {
  background-color: #a78bfa;
}

.ai-how__connector--first::after {
  background-color: #22d3ee;
}

.ai-how__connector--second::before {
  background-color: #22d3ee;
}

.ai-how__connector--second::after {
  background-color: #a78bfa;
}

/* Step colors + icon box gradients */
.ai-how__steps .ai-how__step:nth-of-type(1) {
  --line-start: #a78bfa;
  --line-end: #22d3ee;
}

.ai-how__steps .ai-how__step:nth-of-type(2) {
  --line-start: #22d3ee;
  --line-end: #a78bfa;
}

.ai-how__steps .ai-how__step:nth-of-type(3) {
  --line-start: #a78bfa;
  --line-end: #f472b6;
}

.ai-how__steps .ai-how__step:nth-of-type(1) .ai-how__step-num {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.5);
}

.ai-how__steps .ai-how__step:nth-of-type(5) .ai-how__step-num {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.5);
}

.ai-how__steps .ai-how__step:nth-of-type(3) .ai-how__step-num {
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%);
  box-shadow: 0 20px 40px -10px rgba(244, 114, 182, 0.5);
}

@media (max-width: 900px) {
  .ai-how {
    padding: 36px 0;
  }

  .ai-how__head {
    margin-bottom: 50px;
  }

  .ai-how__steps {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .ai-how__step {
    width: 100%;
    max-width: 350px;
    padding: 0;
  }
  .ai-how__connector {
    transform: rotate(90deg);
    margin-top: 10px;
    margin-bottom: 10px;
    min-width: 60px;
  }
}

/* Scroll reveal */
.ai-scroll-reveal {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 280ms ease,
    transform 320ms ease;
  will-change: opacity, transform;
}

.ai-scroll-reveal--rtl {
  transform: translateX(40px);
}

.ai-scroll-reveal--ttb {
  transform: translateY(24px);
}

.ai-scroll-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ai-scroll-reveal--ttb.is-visible {
  transform: translateY(0);
}

.ai-demo__capabilities .ai-scroll-reveal:nth-child(1) {
  transition-delay: 0ms;
}

.ai-demo__capabilities .ai-scroll-reveal:nth-child(2) {
  transition-delay: 60ms;
}

.ai-demo__capabilities .ai-scroll-reveal:nth-child(3) {
  transition-delay: 120ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(1) {
  transition-delay: 0ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(2) {
  transition-delay: 80ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(3) {
  transition-delay: 160ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(4) {
  transition-delay: 240ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(5) {
  transition-delay: 320ms;
}

.ai-faq__list .ai-scroll-reveal:nth-child(6) {
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  .ai-scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ai-faq {
  position: relative;
  overflow: hidden;
  background: #f0f4f8 !important;
}

.ai-faq::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 0%;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
  opacity: 0.4;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: ai-faq-float 8s ease-in-out infinite;
}

.ai-faq::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: 0%;
  width: 700px;
  height: 700px;
  background: linear-gradient(135deg, #00dfd8 0%, #007cf0 100%);
  opacity: 0.4;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: ai-faq-float 8s ease-in-out infinite 0.5s;
}

@keyframes ai-faq-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.ai-faq__container::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(147, 197, 253, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.ai-faq__container::after {
  content: "✦";
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 24px;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  z-index: 1;
  animation: ai-faq-twinkle 3s infinite ease-in-out;
}

@keyframes ai-faq-twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.ai-faq__title::before {
  content: "✦";
  position: absolute;
  bottom: 15%;
  right: 10%;
  font-size: 16px;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: ai-faq-twinkle 3s infinite ease-in-out 1s;
}


.ai-faq__container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(1.25rem, 4vw, 1.875rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  padding: clamp(1.25rem, 5vw, 3.75rem);
  max-width: 800px;
}

/* Header Styles */
.ai-faq__head {
  text-align: center;
  margin-bottom: var(--space-10);
  position: relative;
  z-index: 2;
}

.ai-faq__title {
  font-size: var(--fs-4xl);
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
}

.ai-faq__title::after {
  display: none !important;
}

.ai-faq__subtitle {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.6;
  color: #475569;
}

.faq,
.ai-faq__list {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.ai-faq__item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(224, 242, 254, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.ai-faq__item:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.ai-faq__summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(0.875rem, 3vw, 1.375rem) clamp(1rem, 4vw, 1.875rem);
  color: #1e293b;
  transition: all 0.3s ease;
  user-select: none;
  font-size: var(--fs-base);
  min-height: var(--touch-target-min);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after,
.ai-faq__summary::after {
  content: "+";
  font-size: 1.5rem;
  color: #3b82f6;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  line-height: 1;
  font-weight: 400;
}

details[open] summary::after,
details[open] .ai-faq__summary::after {
  transform: rotate(45deg);
  color: #ec4899;
}

.ai-faq__item[open] {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ai-faq__item[open] .ai-faq__summary {
  color: #1e293b;
}

details p,
.ai-faq__answer {
  margin: 0;
  color: #334155;
  font-size: var(--fs-sm);
  line-height: 1.7;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 clamp(1rem, 4vw, 1.875rem);
  transition: all 0.4s cubic-bezier(0, 1, 0, 1);
}

.ai-faq__item[open] .ai-faq__answer {
  margin-top: 0;
  padding-top: clamp(0.625rem, 2vw, 0.9375rem);
  padding-bottom: clamp(1rem, 3vw, 1.5625rem);
  max-height: 500px;
  opacity: 1;
  transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

@media (max-width: 768px) {
  .ai-faq::before,
  .ai-faq::after {
    width: 300px;
    height: 300px;
  }

  .ai-faq__container {
    padding: clamp(1rem, 4vw, 1.5rem);
    width: 95%;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-faq::before,
  .ai-faq::after,
  .ai-faq__container::after,
  .ai-faq__title::before {
    animation: none;
  }

  .ai-faq__item {
    transition: none;
  }
}

.final-cta,
.ai-cta {
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 1.5rem);
  max-width: 100%; 
  margin: 0 auto;
  background-color: #2979ff;
  color: white;
}

.cta-card,
.ai-cta__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  border-radius: clamp(1.25rem, 4vw, 2rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  direction: rtl;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 30px;
  backdrop-filter: blur(1px);
  background: rgba(255, 255, 255, 0.1);
  border-image: initial;
}

.cta-card::before,
.ai-cta__card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  transform: rotate(-45deg);
  pointer-events: none;
}

.cta-card::after,
.ai-cta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.cta-content,
.ai-cta__content {
  position: relative;
  z-index: 10;
  flex: 1;
}

.cta-content h2,
.ai-cta__title {
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-sub,
.ai-cta__subtitle {
  text-align: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cta-actions,
.ai-cta__actions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  flex-shrink: 0;
}

.ai-cta__button,
.final-cta .cta-actions .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(0.65rem, 2vw, 0.75rem) clamp(0.85rem, 2.5vw, 1rem);
  border-radius: 16px;
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none !important;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: var(--touch-target-min);
}

.ai-cta__button:hover,
.final-cta .cta-actions .btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ai-cta__button:active,
.final-cta .cta-actions .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ai-cta__button-icon,
.final-cta .btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  filter: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-cta__button:hover .ai-cta__button-icon,
.final-cta .cta-actions .btn:hover .btn-icon {
  transform: translateX(-4px) scale(1.1);
}

.cta-hint,
.ai-cta__hint {
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

@media (max-width: 768px) {
  .ai-hero__container {
    padding-inline: var(--space-4);
  }

  .ai-hero__grid {
    flex-direction: column;
    gap: var(--space-5);
    align-items: center;
    text-align: center;
  }

  .ai-hero__content {
    align-items: center;
    max-width: 100%;
  }

  .ai-hero__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .ai-hero__lead {
    font-size: 0.95rem;
  }

  .ai-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .ai-hero__action {
    width: 100%;
    justify-content: center;
  }

  .ai-hero__card {
    width: 100%;
    max-width: 340px;
  }

  .ai-hero__image-stack {
    max-width: 100%;
  }

  .ai-hero__image--primary img {
    max-width: 280px;
  }

  .ai-demo__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .ai-demo__figure {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .ai-demo__capabilities {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .ai-demo__cap-card {
    padding: var(--space-3);
  }

  .ai-study__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .ai-study__phone {
    order: -1;
    min-height: auto;
    margin-bottom: var(--space-3);
  }

  .ai-study__phone-img {
    max-width: 280px !important;
  }

  .ai-study__list {
    width: 100%;
  }

  .ai-study__benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .ai-study__benefit {
    padding: var(--space-3);
  }

  .ai-study__benefit-title {
    font-size: 0.95rem;
  }

  .ai-study__benefit-desc {
    font-size: 0.85rem;
  }

  .ai-cta {
    padding: 1rem;
  }

  .cta-card,
  .ai-cta__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .cta-content,
  .ai-cta__content {
    margin-bottom: 0;
  }
  .ai-cta__title {
    font-size: 1.25rem;
    font-weight: 700;
  }
  .ai-cta__subtitle,
  .ai-cta__hint {
    font-size: 14px;
  }

  .cta-actions,
  .ai-cta__actions {
    width: 100%;
    align-items: center; 
  }

  .ai-books__banner {
    display: flex;
    flex-direction: column !important;
    gap: var(--space-2);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    text-align: center;
  }

  .ai-books__banner-sep {
    display: none;
  }

  .ai-books__banner-text {
    font-size: 0.9rem;
  }

  .ai-books__banner-text--bad,
  .ai-books__banner-text--good {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .ai-books__banner-text--bad::before,
  .ai-books__banner-text--good::before {
    width: 14px;
    height: 14px;
    mask-size: 14px;
    -webkit-mask-size: 14px;
  }
}

@media (max-width: 480px) {
  .ai-hero__container {
    padding-inline: var(--space-3);
  }

  .ai-hero__grid {
    gap: var(--space-4);
  }

  .ai-hero__title {
    font-size: 1.35rem;
  }

  .ai-hero__lead {
    font-size: 0.875rem;
  }

  .ai-hero__action {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .ai-hero__card {
    max-width: 280px;
  }

  .ai-hero__image--primary img {
    max-width: 240px;
  }

  .ai-demo__grid {
    gap: var(--space-3);
  }

  .ai-demo__figure {
    max-width: 260px;
  }

  .ai-demo__cap-card {
    padding: var(--space-2);
  }

  .ai-demo__cap-title {
    font-size: 0.9rem;
  }

  .ai-study__grid {
    gap: var(--space-3);
  }

  .ai-study__phone-img {
    max-width: 240px !important;
  }

  .ai-study__benefit {
    padding: var(--space-2);
  }

  .ai-study__benefit-icon {
    width: 36px;
    height: 36px;
  }

  .ai-study__benefit-title {
    font-size: 0.875rem;
  }

  .ai-study__benefit-desc {
    font-size: 0.8rem;
  }

  .ai-books__banner {
    padding: 0.85rem 1rem;
    gap: var(--space-2);
  }

  .ai-books__banner-text--bad,
  .ai-books__banner-text--good {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    gap: 4px;
  }

  .ai-books__banner-text--bad::before,
  .ai-books__banner-text--good::before {
    width: 12px;
    height: 12px;
    mask-size: 12px;
    -webkit-mask-size: 12px;
  }
}

/* Comparison landing */
.compare-tagline {
  font-weight: 900;
  color: var(--dark-blue);
}

.compare-callout {
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 0.06),
    rgba(0, 143, 255, 0.06)
  );
  padding: var(--space-4);
  font-weight: 750;
  color: #1d3f70;
}

.compare-table-wrap {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  vertical-align: top;
  text-align: start;
}

.compare-table thead th {
  font-weight: 950;
  color: var(--dark-blue);
  background: rgba(47, 83, 255, 0.06);
  border-bottom: 1px solid rgba(47, 83, 255, 0.16);
}

.compare-table tbody th {
  font-weight: 900;
  color: #0b2a4a;
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(47, 83, 255, 0.04);
}

.compare-hint {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-weight: 650;
}

.example-prompt {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.example-prompt-title {
  margin: 0 0 var(--space-2);
  color: var(--muted-2);
  font-weight: 850;
}

.example-prompt-text {
  margin: 0;
  font-weight: 950;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

.example-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.example-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.summary-grid {
  gap: var(--space-4);
}

.summary-card-title {
  margin: 0 0 var(--space-4);
  font-size: 1.2rem;
}

/* Responsive */
@media (min-width: 860px) {
  .floaters {
    display: block;
  }

  .hero-grid,
  .ai-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .demo-grid,
  .ai-demo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    align-items: center;
    justify-items: center;
  }

  .study-grid,
  .ai-study__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    align-items: stretch;
  }

  .ai-study__phone,
  .ai-study__list {
    align-self: stretch;
    width: 100%;
  }

  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .features-grid,
  .ai-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    align-items: stretch;
  }

  .steps,
  .ai-how__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-card,
  .ai-cta__card {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

@media (min-width: 1120px) {
  .features-grid,
  .ai-features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .skip-link {
    transition: none;
  }
  .hero-card,
  .demo-card,
  .cap-card,
  .benefit,
  .feature,
  .trust-card,
  .trust-visual,
  .step {
    transition: none;
  }

  .hero-card:hover,
  .demo-card:hover,
  .cap-card:hover,
  .benefit:hover,
  .feature:hover,
  .trust-card:hover,
  .trust-visual:hover,
  .step:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .ai-features {
    padding-block: clamp(1rem, 5vw, 4rem) !important;
  }
  .ai-features__head {
    margin-bottom: 0;
  }
  .ai-features__grid {
    padding: 1rem 0;
    gap: 1rem;
  }
  .ai-features__item {
    min-height: auto;
  }
}

.compare-page {
  margin-top: 70px;
  --compare-taraz-gradient: linear-gradient(135deg, #2f53ff 0%, #6b8cff 100%);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #6b7280 0%,
    #9ca3af 100%
  );
  --compare-chatgpt-color: #10a37f;
  --compare-gemini-color: #8e75b2;
  --compare-grok-color: #1da1f2;
  --compare-jozve-color: #f59e0b;
  --compare-tutor-color: #8b5cf6;
  --compare-card-bg: #ffffff;
  --compare-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --compare-card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --compare-border-radius: var(--radius, 14px);
  --compare-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --compare-section-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232f53ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --compare-dots-pattern: radial-gradient(
    circle,
    rgba(47, 83, 255, 0.06) 1px,
    transparent 1px
  );
  --compare-glow-soft: 0 0 60px rgba(47, 83, 255, 0.08);
  --compare-glow-medium: 0 0 80px rgba(47, 83, 255, 0.12);
  --compare-animate-duration: 0.6s;
  --compare-animate-stagger: 0.1s;
}

.compare-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.compare-page--chatgpt {
  --compare-competitor-primary: var(--compare-chatgpt-color);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #10a37f 0%,
    #1ed9a4 100%
  );
}

.compare-page--gemini {
  --compare-competitor-primary: var(--compare-gemini-color);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #8e75b2 0%,
    #b59fd8 100%
  );
}

.compare-page--grok {
  --compare-competitor-primary: var(--compare-grok-color);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #1da1f2 0%,
    #5bc0f7 100%
  );
}

.compare-page--jozve {
  --compare-competitor-primary: var(--compare-jozve-color);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #f59e0b 0%,
    #fbbf24 100%
  );
}

.compare-page--tutor {
  --compare-competitor-primary: var(--compare-tutor-color);
  --compare-competitor-gradient: linear-gradient(
    135deg,
    #8b5cf6 0%,
    #a78bfa 100%
  );
}

.compare-page__hero {
  position: relative;
  padding-block: clamp(2.5rem, 8vw, 6rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(248, 250, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    var(--compare-dots-pattern);
  background-size:
    100% 100%,
    20px 20px;
}

.compare-page__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% 40%,
      rgba(47, 83, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 60%,
      rgba(107, 140, 255, 0.06) 0%,
      transparent 50%
    );
  animation: compare-hero-shimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes compare-hero-shimmer {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.compare-page__bg-blobs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: compare-blobs-float 20s ease-in-out infinite;
}

@keyframes compare-blobs-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.compare-page__hero-grid {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .compare-page__hero-grid {
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.compare-page__hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 620px;
  animation: compare-fade-up var(--compare-animate-duration) ease-out both;
}

@keyframes compare-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes compare-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes compare-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.compare-page__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.compare-page__eyebrow {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  color: var(--primary, #2f53ff);
  letter-spacing: 0.02em;
  margin: 0;
}

.compare-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  font-weight: 600;
  background: var(--compare-taraz-gradient);
  color: #fff;
  white-space: nowrap;
}

.compare-page__badge--chatgpt {
  background: var(--compare-competitor-gradient);
}
.compare-page__badge--gemini {
  background: var(--compare-competitor-gradient);
}
.compare-page__badge--grok {
  background: var(--compare-competitor-gradient);
}
.compare-page__badge--jozve {
  background: var(--compare-competitor-gradient);
}
.compare-page__badge--tutor {
  background: var(--compare-competitor-gradient);
}

.compare-page__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary, #1f2937);
  margin: 0;
}

.compare-page__lead {
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-secondary, #4b5563);
  margin: 0;
  max-width: 60ch;
}

.compare-page__tagline {
  display: inline;
  font-weight: 700;
  color: var(--primary, #2f53ff);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(47, 83, 255, 0.1) 50%,
    transparent 100%
  );
  padding: 0 0.25em;
  border-radius: 4px;
}

.compare-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.compare-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--compare-border-radius);
  transition: var(--compare-transition);
  cursor: pointer;
}

.compare-page__btn--primary {
      background: linear-gradient(268deg, #2f53ff 0%, #008fff 100%);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border: none;

}

.compare-page__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 83, 255, 0.4);
}

.compare-page__btn--ghost {
     color: white !important;
    background: linear-gradient(135deg, #80d3f7 0%, #0cbaba 100%);
  padding: 0.8rem 1.4rem;
    border: none;
}


.compare-page__btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.compare-page__btn--primary .compare-page__btn-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(100%) contrast(100%);
}

[dir="rtl"] .compare-page__btn:hover .compare-page__btn-icon {
  transform: translateX(-4px);
}

[dir="ltr"] .compare-page__btn:hover .compare-page__btn-icon {
  transform: translateX(4px);
}

/* Hero Stats */
.compare-page__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
  padding: 0;
}

.compare-page__stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 255, 0.9) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(47, 83, 255, 0.12);
  min-width: 110px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(47, 83, 255, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-page__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f53ff 0%, #6366f1 50%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.compare-page__stat:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(245, 248, 255, 0.98) 100%
  );
  border-color: rgba(47, 83, 255, 0.25);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(47, 83, 255, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.compare-page__stat:hover::before {
  opacity: 1;
}

.compare-page__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  border-radius: 10px;
  margin-bottom: 0.25rem;
}

.compare-page__stat-icon::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(
    --compare-taraz-gradient,
    linear-gradient(135deg, #2f53ff 0%, #6366f1 50%, #8b5cf6 100%)
  );
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M9 4.5a.75.75 0 01.721.544l.813 2.846a3.75 3.75 0 002.576 2.576l2.846.813a.75.75 0 010 1.442l-2.846.813a3.75 3.75 0 00-2.576 2.576l-.813 2.846a.75.75 0 01-1.442 0l-.813-2.846a3.75 3.75 0 00-2.576-2.576l-2.846-.813a.75.75 0 010-1.442l2.846-.813A3.75 3.75 0 007.466 7.89l.813-2.846A.75.75 0 019 4.5zM18 1.5a.75.75 0 01.728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 010 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 01-1.456 0l-.258-1.036a2.625 2.625 0 00-1.91-1.91l-1.036-.258a.75.75 0 010-1.456l1.036-.258a2.625 2.625 0 001.91-1.91l.258-1.036A.75.75 0 0118 1.5zM16.5 15a.75.75 0 01.712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 010 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 01-1.422 0l-.395-1.183a1.5 1.5 0 00-.948-.948l-1.183-.395a.75.75 0 010-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0116.5 15z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M9 4.5a.75.75 0 01.721.544l.813 2.846a3.75 3.75 0 002.576 2.576l2.846.813a.75.75 0 010 1.442l-2.846.813a3.75 3.75 0 00-2.576 2.576l-.813 2.846a.75.75 0 01-1.442 0l-.813-2.846a3.75 3.75 0 00-2.576-2.576l-2.846-.813a.75.75 0 010-1.442l2.846-.813A3.75 3.75 0 007.466 7.89l.813-2.846A.75.75 0 019 4.5zM18 1.5a.75.75 0 01.728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 010 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 01-1.456 0l-.258-1.036a2.625 2.625 0 00-1.91-1.91l-1.036-.258a.75.75 0 010-1.456l1.036-.258a2.625 2.625 0 001.91-1.91l.258-1.036A.75.75 0 0118 1.5zM16.5 15a.75.75 0 01.712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 010 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 01-1.422 0l-.395-1.183a1.5 1.5 0 00-.948-.948l-1.183-.395a.75.75 0 010-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0116.5 15z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.compare-page__stat--users .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M8.25 6.75a3.75 3.75 0 117.5 0 3.75 3.75 0 01-7.5 0zM15.75 9.75a3 3 0 116 0 3 3 0 01-6 0zM2.25 9.75a3 3 0 116 0 3 3 0 01-6 0zM6.31 15.117A6.745 6.745 0 0112 12a6.745 6.745 0 016.709 7.498.75.75 0 01-.372.568A12.696 12.696 0 0112 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 01-.372-.568 6.787 6.787 0 011.019-4.38z'/%3E%3Cpath d='M5.082 14.254a8.287 8.287 0 00-1.308 5.135 9.687 9.687 0 01-1.764-.44l-.115-.04a.563.563 0 01-.373-.487l-.01-.121a3.75 3.75 0 013.57-4.047zM20.226 19.389a8.287 8.287 0 00-1.308-5.135 3.75 3.75 0 013.57 4.047l-.01.121a.563.563 0 01-.373.486l-.115.04c-.567.2-1.156.349-1.764.441z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M8.25 6.75a3.75 3.75 0 117.5 0 3.75 3.75 0 01-7.5 0zM15.75 9.75a3 3 0 116 0 3 3 0 01-6 0zM2.25 9.75a3 3 0 116 0 3 3 0 01-6 0zM6.31 15.117A6.745 6.745 0 0112 12a6.745 6.745 0 016.709 7.498.75.75 0 01-.372.568A12.696 12.696 0 0112 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 01-.372-.568 6.787 6.787 0 011.019-4.38z'/%3E%3Cpath d='M5.082 14.254a8.287 8.287 0 00-1.308 5.135 9.687 9.687 0 01-1.764-.44l-.115-.04a.563.563 0 01-.373-.487l-.01-.121a3.75 3.75 0 013.57-4.047zM20.226 19.389a8.287 8.287 0 00-1.308-5.135 3.75 3.75 0 013.57 4.047l-.01.121a.563.563 0 01-.373.486l-.115.04c-.567.2-1.156.349-1.764.441z'/%3E%3C/svg%3E");
}

.compare-page__stat--questions .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.compare-page__stat--answers .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.compare-page__stat--rating .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.compare-page__stat--time .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 6a.75.75 0 00-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 000-1.5h-3.75V6z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 6a.75.75 0 00-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 000-1.5h-3.75V6z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.compare-page__stat--chart .compare-page__stat-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75zM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 01-1.875-1.875V8.625zM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 013 19.875v-6.75z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75zM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 01-1.875-1.875V8.625zM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 013 19.875v-6.75z'/%3E%3C/svg%3E");
}

.compare-page__stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.compare-page__stat-value {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, #2f53ff 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.2;
}

.compare-page__hero-card { 
  position: relative;
  overflow: hidden;
}

.hero-card__figure {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 418px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin: 0;
}

.hero-card__figure-img {
  width: 100%;
  max-width: 268px;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.compare-page__section--compare {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #e0f2fe 30%,
    #f0f9ff 70%,
    #ffffff 100%
  );
  position: relative;
  overflow: hidden;
}

.compare-page__section--compare::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(99, 102, 241, 0.04) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.compare-page__section--compare::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 5px;
  height: 120px;
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  border-radius: 0 8px 8px 0;
  transform: translateY(-50%);
  opacity: 0.8;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.compare-page__section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  animation: compare-fade-up var(--compare-animate-duration) ease-out both;
}

.compare-page__section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin: 0 0 0.5rem;
}

.compare-page__section-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: var(--text-secondary, #4b5563);
  margin: 0;
}

.compare-page__table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 10px 25px -5px rgba(59, 130, 246, 0.15),
    0 25px 50px -12px rgba(0, 0, 0, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  -webkit-overflow-scrolling: touch;
  animation: compare-scale-in var(--compare-animate-duration) ease-out 0.15s
    both;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.compare-page__table-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  border-radius: 20px 20px 0 0;
}

.compare-page__table-wrap:hover {
  box-shadow:
    0 8px 12px -2px rgba(0, 0, 0, 0.12),
    0 20px 40px -8px rgba(59, 130, 246, 0.2),
    0 35px 60px -15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.compare-page__table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
}

.compare-page__table-head {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1e40af 100%);
}

.compare-page__table-th {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  text-align: start;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
  position: relative;
}

.compare-page__table-th:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  inset-inline-end: 0;
  width: 1px;
  height: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.compare-page__table-th--competitor {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  color: #f3f4f6;
}

.compare-page__table-th--taraz {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
}

.compare-page__table-th--row {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #1e293b;
  font-weight: 600;
}

.compare-page__table-row {
  transition: all 0.3s ease;
}

.compare-page__table-row:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

.compare-page__table-row:nth-child(odd) {
  background: #ffffff;
}

.compare-page__table-row:hover {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(139, 92, 246, 0.06) 50%,
    rgba(6, 182, 212, 0.04) 100%
  );
  transform: scale(1.005);
}

.compare-page__table-row:last-child .compare-page__table-td:first-child {
  border-radius: 0 0 0 20px;
}

.compare-page__table-row:last-child .compare-page__table-td:last-child {
  border-radius: 0 0 20px 0;
}

.compare-page__table-td {
  padding: 1.125rem 1.5rem;
  line-height: 1.6;
  color: #374151;
  vertical-align: middle;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.compare-page__table-row:last-child .compare-page__table-td {
  border-bottom: none;
}

.compare-page__table-td--taraz {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.06) 0%,
    rgba(99, 102, 241, 0.03) 50%,
    transparent 100%
  );
  color: #1e293b;
  font-weight: 500;
  position: relative;
}

.compare-page__table-td--taraz::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.compare-page__table-row:hover .compare-page__table-td--taraz::before {
  opacity: 1;
}

.compare-page__table-td--competitor {
  background: linear-gradient(
    90deg,
    rgba(107, 114, 128, 0.05) 0%,
    transparent 50%
  );
  color: #6b7280;
}

.compare-page__hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: var(--text-muted, #6b7280);
  font-style: italic;
}

.compare-page__section--example {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(
      ellipse 120% 100% at 50% 0%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 60% at 10% 90%,
      rgba(37, 99, 235, 0.07) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse 70% 50% at 95% 70%,
      rgba(6, 182, 212, 0.06) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #eff6ff 0%,
      #e0f2fe 20%,
      #ffffff 50%,
      #f0f9ff 80%,
      #f8fafc 100%
    );
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
.compare-page__section--example::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(59, 130, 246, 0.1) 1px,
    transparent 0
  );
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.compare-page__section--example::after {
  content: "";
  position: absolute;
  bottom: 10%;
  inset-inline-end: 5%;
  width: clamp(100px, 18vw, 180px);
  height: clamp(100px, 18vw, 180px);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(6, 182, 212, 0.12) 100%
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(40px);
  animation: compare-morph 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes compare-morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(180deg);
  }
}

.compare-page__example-prompt {
  max-width: 600px;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--compare-border-radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.compare-page__prompt-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #6b7280);
  margin: 0 0 0.375rem;
}

.compare-page__prompt-text {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  color: var(--text-primary, #1f2937);
  margin: 0;
}

.compare-page__example-grid {
  display: flex;
align-items: flex-start;
justify-content: center;
gap: 24px;
}

@media (max-width: 468px) {
  .compare-page__example-grid {
    flex-direction: column-reverse;
    gap: 16px;
  }
}

.compare-page__demo-figure {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  max-width: 360px;
  overflow: hidden;
  border-radius: 14px;
}

.compare-page__demo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-page__demo-card:hover .compare-page__demo-image {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.compare-page__demo-image--competitor {
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.compare-page__demo-image--taraz {
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.compare-page__demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.compare-page__demo-title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin: 0;
}

.compare-page__demo-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

.compare-page__example-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.compare-page__example-title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin: 0;
}

.compare-page__chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-page__msg {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  line-height: 1.7;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compare-page__msg--user {
  border-radius: 20px 0px 20px 20px;
  background-color: rgba(23, 114, 255, 0.1);
  color: #191c1d;
  max-width: min(94%, 480px);
  padding: 12px !important;
  font-size: 14px;
  line-height: 24px;
}

.compare-page__msg--ai {
  color: #1e293b;
  align-self: flex-end;
  max-width: 90%;
  border-end-end-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.compare-page__demo-card--competitor .compare-page__msg--ai {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid rgba(156, 163, 175, 0.2);
}

.compare-page__msg p {
  margin: 0;
}

.compare-page__msg-steps {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare-page__step-item {
  line-height: 1.6;
}

.compare-page__source-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: rgba(47, 83, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
}

.compare-page__source-label {
  font-weight: 600;
  color: var(--primary, #2f53ff);
}

.compare-page__source-value {
  color: var(--text-secondary, #4b5563);
}

.compare-page__callout--example {
  max-width: 800px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  text-align: center;
  border-inline-start: none;
  border-bottom: 3px solid var(--primary, #2f53ff);
}

.compare-page__section--summary {
  padding-block: clamp(2.5rem, 6vw, 4rem);

  position: relative;
  overflow: hidden;
}


.compare-page__section--summary::after {
  content: "";
  position: absolute;
  top: 15%;
  inset-inline-start: -8%;
  width: clamp(150px, 25vw, 280px);
  height: clamp(150px, 25vw, 280px);
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(99, 102, 241, 0.08) 50%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}

.compare-page__summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 768px) {
  .compare-page__summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .compare-page__summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compare-page__trust-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07),
    0 10px 20px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 5px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: compare-fade-up var(--compare-animate-duration) ease-out both;
  position: relative;
  overflow: hidden;
}

.compare-page__trust-card:nth-child(1) {
  animation-delay: 0.1s;
}
.compare-page__trust-card:nth-child(2) {
  animation-delay: 0.2s;
}
.compare-page__trust-card:nth-child(3) {
  animation-delay: 0.3s;
}

.compare-page__trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(16, 185, 129, 0.04) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.compare-page__trust-card:hover::before {
  opacity: 1;
}

.compare-page__trust-card:hover {
  box-shadow:
    0 8px 12px -2px rgba(0, 0, 0, 0.1),
    0 20px 35px -10px rgba(16, 185, 129, 0.18);
  transform: translateY(-8px) scale(1.01);
}

.compare-page__trust-card--taraz {
  border-top: 5px solid transparent;
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  border-image: linear-gradient(90deg, #10b981 0%, #3b82f6 100%) 1;
}

.compare-page__trust-card--taraz:hover {
  box-shadow:
    var(--compare-card-shadow-hover),
    0 0 30px rgba(47, 83, 255, 0.1);
}

.compare-page__trust-card--competitor {
  border-top-color: var(--compare-competitor-primary, #6b7280);
}

.compare-page__trust-card--combined {
  border-top-color: #10b981;
}

.compare-page__trust-card--combined:hover {
  box-shadow:
    var(--compare-card-shadow-hover),
    0 0 30px rgba(16, 185, 129, 0.1);
}

.compare-page__summary-card-title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin: 0 0 1rem;
}

.compare-page__section--cta {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 100%,
      rgba(47, 83, 255, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  position: relative;
}

.compare-page__cta-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(47, 83, 255, 1) 0%,
    rgba(107, 140, 255, 1) 50%,
    rgba(47, 83, 255, 0.95) 100%
  );
  background-size: 200% 200%;
  animation: compare-cta-gradient 6s ease infinite;
  border-radius: calc(var(--compare-border-radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(47, 83, 255, 0.3),
    0 8px 24px rgba(47, 83, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes compare-cta-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.compare-page__cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

.compare-page__bubble-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.compare-page__bubble {
  position: absolute;
  bottom: -20%;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  background: rgba(255, 255, 255, var(--opacity));
  border-radius: 50%;
  animation: compare-bubble-float var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes compare-bubble-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: var(--opacity);
  }
  50% {
    transform: translateY(calc(-100vh - var(--size))) translateX(var(--drift));
    opacity: 0;
  }
  100% {
    transform: translateY(calc(-100vh - var(--size))) translateX(var(--drift));
    opacity: 0;
  }
}

.compare-page__cta-content {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  animation: compare-fade-up var(--compare-animate-duration) ease-out both;
}

.compare-page__cta-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.01em;
}

.compare-page__cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: compare-fade-up var(--compare-animate-duration) ease-out 0.15s both;
}

.compare-page__cta-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.compare-page__cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.compare-page__btn--cta {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  color: var(--primary, #2f53ff);
  padding: 1rem 2rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
}

.compare-page__btn--cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 83, 255, 0.1),
    transparent
  );
  transition: left 0.4s ease;
}

.compare-page__btn--cta:hover::before {
  left: 100%;
}

.compare-page__btn--cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.3);
}

.compare-page__cta-hint {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-style: italic;
}

@media (max-width: 767px) {
  .compare-page__hero {
    padding-block: clamp(1.5rem, 5vw, 3rem);
    padding-inline: var(--space-4);
  }

  .compare-page__hero-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
  }

  .compare-page__hero-content {
    align-items: center;
    max-width: 100%;
    gap: var(--space-3);
  }

  .compare-page__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
  }

  .compare-page__lead,
  .lead.compare-page__lead {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
  }

  .compare-page__eyebrow-row {
    justify-content: center;
    gap: 0.5rem;
  }

  .compare-page__eyebrow {
    font-size: 0.7rem;
  }

  .compare-page__badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.65rem;
  }

  .compare-page__hero-card {
    order: -1;
    width: 100%;
    max-width: 340px;
  }

  .hero-card__figure {
    max-width: 100%;
  }

  .hero-card__figure-img {
    max-width: 280px;
  }

  .compare-page__stats {
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .compare-page__stat {
    flex: 1 1 calc(33.333% - 0.75rem);
    min-width: 85px;
    padding: 0.75rem;
    text-align: center;
    align-items: center;
  }

  .compare-page__stat-label {
    font-size: 0.7rem;
  }

  .compare-page__stat-value {
    font-size: 0.9rem;
  }

  .compare-page__stat-icon {
    width: 28px;
    height: 28px;
  }

  .compare-page__hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-3);
  }

  .compare-page__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .compare-page__cta-card::before {
    display: none;
  }

  .compare-page__section--compare {
    padding-block: clamp(1.5rem, 5vw, 3rem);
  }

  .compare-page__section-head {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .compare-page__section-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .compare-page__section-subtitle {
    font-size: 0.875rem;
  }

  .compare-page__table-wrap {
    border-radius: 14px;
  }

  .compare-page__table {
    font-size: 0.8rem;
    min-width: 500px;
  }

  .compare-page__table-th,
  .compare-page__table-td {
    padding: 0.75rem 0.875rem;
  }

  .compare-page__table-th {
    font-size: 0.75rem;
  }

  .compare-page__hint {
    font-size: 0.75rem;
    margin-top: 1rem;
  }

  .compare-page__section--example {
    padding-block: clamp(1.5rem, 5vw, 3rem);
  }

  .compare-page__example-prompt {
    padding: 1rem;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  .compare-page__prompt-title {
    font-size: 0.65rem;
  }

  .compare-page__prompt-text {
    font-size: 0.95rem;
  }

  .compare-page__example-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .compare-page__demo-figure {
    max-width: 100%;
  }

  .compare-page__demo-image {
    border-radius: 12px;
  }

  .compare-page__callout--example {
    font-size: 0.875rem;
    padding: 1rem;
    margin-top: 1rem;
  }

  .compare-page__section--summary {
    padding-block: clamp(1.5rem, 5vw, 3rem);
  }

  .compare-page__summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .compare-page__trust-card,
  .compare-page__summary-card {
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 16px;
  }

  .compare-page__summary-title,
  .compare-page__summary-card-title,
  .summary-card-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .compare-page__bullets {
    gap: 0.5rem;
  }

  .compare-page__bullet-item {
    font-size: 0.875rem;
    line-height: 1.6;
    gap: 0.5rem;
  }

  .bullet-icon-bg {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .bullet-checkmark {
    width: 12px;
    height: 12px;
  }

  .compare-page__section--cta {
    padding-block: clamp(1.5rem, 5vw, 3rem);
    padding-inline: 0;
  }

  .compare-page__section--cta .compare-page__container {
    max-width: 100%;
    padding-inline: 0;
  }

  .compare-page__cta-card {
    padding: 1.5rem 1rem;
    border-radius: 0;
    animation: none;
    background-size: 100% 100%;
  }

  .compare-page__cta-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .compare-page__cta-sub {
    font-size: 0.9rem;
  }

  .compare-page__btn--cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .compare-page__cta-hint {
    font-size: 0.75rem;
  }

  .compare-page__section--example::after,
  .compare-page__section--summary::after {
    display: none;
  }

  .compare-page__section--compare::after {
    height: 60px;
  }

  .compare-page__demo-card:hover,
  .compare-page__trust-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 480px) {
  .compare-page__hero {
    padding-inline: var(--space-3);
  }

  .compare-page__title {
    font-size: 1.35rem;
  }

  .compare-page__lead,
  .lead.compare-page__lead {
    font-size: 0.875rem;
  }

  .compare-page__hero-card {
    max-width: 280px;
  }

  .hero-card__figure-img {
    max-width: 240px;
  }

  .compare-page__stat {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
    align-items: center;
    padding: 0.625rem 0.875rem;
  }

  .compare-page__stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
  }

  .compare-page__btn {
    padding: 0.7rem 0.875rem;
    font-size: 0.85rem;
  }

  .compare-page__section--compare,
  .compare-page__section--example,
  .compare-page__section--summary {
    padding-block: clamp(1.25rem, 4vw, 2rem);
  }

  .compare-page__section--cta {
    padding-block: clamp(1.25rem, 4vw, 2rem);
    padding-inline: 0;
  }

  .compare-page__section--cta .compare-page__container {
    max-width: 100%;
    padding-inline: 0;
  }

  .compare-page__cta-card {
    border-radius: 0;
  }

  .compare-page__section-title {
    font-size: 1.15rem;
  }

  .compare-page__section-subtitle {
    font-size: 0.8rem;
  }

  .compare-page__table {
    font-size: 0.75rem;
    min-width: 450px;
  }

  .compare-page__table-th,
  .compare-page__table-td {
    padding: 0.625rem 0.75rem;
  }

  .compare-page__trust-card,
  .compare-page__summary-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .compare-page__summary-title,
  .compare-page__summary-card-title,
  .summary-card-title {
    font-size: 0.95rem;
  }

  .compare-page__bullet-item {
    font-size: 0.8rem;
  }

  .bullet-icon-bg {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }

  .bullet-checkmark {
    width: 10px;
    height: 10px;
  }

  .compare-page__cta-card {
    padding: 14px !important;
    border-radius:0 !important;
  }

  .compare-page__cta-title {
    font-size: 1.15rem;
  }

  .compare-page__cta-sub {
    font-size: 0.85rem;
  }

  .compare-page__btn--cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .compare-page__cta-hint {
    font-size: 0.7rem;
  }

  .compare-page__hero::before {
    animation: none;
  }

  .compare-page__demo-card::before,
  .compare-page__btn--cta::before {
    display: none;
  }
}

@media print {
  .compare-page__bubble-layer,
  .compare-page__bg-blobs {
    display: none !important;
  }

  .compare-page__cta-card {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
  }

  .compare-page__cta-title,
  .compare-page__cta-sub,
  .compare-page__cta-hint {
    color: #1f2937 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-page__dot,
  .compare-page__bubble,
  .compare-page__bg-blobs,
  .compare-page__hero::before,
  .compare-page__section--example::after,
  .compare-page__cta-card {
    animation: none;
  }

  .compare-page__bubble {
    display: none;
  }

  .compare-page__hero-content,
  .compare-page__hero-card,
  .compare-page__section-head,
  .compare-page__table-wrap,
  .compare-page__demo-card,
  .compare-page__trust-card,
  .compare-page__cta-content,
  .compare-page__cta-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .compare-page__btn,
  .compare-page__demo-card,
  .compare-page__trust-card,
  .compare-page__stat,
  .compare-page__hero-card,
  .compare-page__table-wrap {
    transition: none;
  }

  .compare-page__demo-card::before,
  .compare-page__btn--cta::before {
    display: none;
  }
}

.compare-page__section[data-animate] .compare-page__section-head,
.compare-page__section[data-animate] .compare-page__table-wrap,
.compare-page__section[data-animate] .compare-page__demo-card,
.compare-page__section[data-animate] .compare-page__trust-card,
.compare-page__section[data-animate] .compare-page__example-prompt,
.compare-page__section[data-animate] .compare-page__callout {
  opacity: 0;
  transform: translateY(30px);
}

.compare-page__section[data-animate].is-visible .compare-page__section-head,
.compare-page__section[data-animate].is-visible .compare-page__table-wrap,
.compare-page__section[data-animate].is-visible .compare-page__demo-card,
.compare-page__section[data-animate].is-visible .compare-page__trust-card,
.compare-page__section[data-animate].is-visible .compare-page__example-prompt,
.compare-page__section[data-animate].is-visible .compare-page__callout {
  animation: compare-fade-up var(--compare-animate-duration) ease-out forwards;
}

:root {
  --trust-blue-start: #3b82f6;
  --trust-blue-end: #1d4ed8;
  --trust-purple-start: #8b5cf6;
  --trust-purple-end: #6d28d9;
  --trust-emerald-start: #10b981;
  --trust-emerald-end: #059669;
  --trust-cyan-start: #06b6d4;
  --trust-cyan-end: #0891b2;
}

@keyframes trust-card-enter {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trust-glow-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes trust-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes trust-shimmer {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

@keyframes trust-border-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.compare-page__summary-card {
  --tc-padding: clamp(1.5rem, 4vw, 2rem);
  --tc-radius: 24px;
  --tc-icon-size: 56px;

  position: relative;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 255, 0.9) 50%,
    rgba(240, 245, 255, 0.85) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--tc-radius);
  padding: var(--tc-padding);
  padding-top: calc(var(--tc-padding) + 0.5rem);

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.03),
    0 12px 24px rgba(47, 83, 255, 0.06),
    0 24px 48px rgba(47, 83, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  border: 1px solid rgba(255, 255, 255, 0.6);

  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 2.5vw, 1.25rem);
  overflow: hidden;
  animation: trust-card-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.compare-page__summary-card:nth-child(1) {
  animation-delay: 0.1s;
}
.compare-page__summary-card:nth-child(2) {
  animation-delay: 0.25s;
}
.compare-page__summary-card:nth-child(3) {
  animation-delay: 0.4s;
}

.compare-page__summary-card--taraz::before {
  content: "";
  display: inline-block;
  background-image: url(../img/AI_star_Icon.svg);
  background-repeat: no-repeat;
  background-size: 36px;
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  opacity: 0.12;
  transform: rotate(15deg);
  animation: floating-star-1 2.5s ease-in-out infinite;
}
@keyframes floating-star-1 {
  0% {
    transform: translateY(0) rotate(15deg) scale(1);
  }

  50% {
    transform: translateY(15px) rotate(45deg) scale(1.08);
  }

  100% {
    transform: translateY(0) rotate(15deg) scale(1);
  }
}

.compare-page__summary-card .compare-page__summary-title::before,
.compare-page__summary-card .summary-card-title::before {
  display: none;
}

.compare-page__summary-card .compare-page__summary-title,
.compare-page__summary-card .summary-card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.compare-page__summary-card .compare-page__bullets,
.compare-page__summary-card .bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.625rem, 2vw, 0.875rem);
  flex-grow: 1;
}

.compare-page__summary-card .compare-page__bullet-item,
.compare-page__summary-card .bullets li {
  position: relative;
  font-size: clamp(0.875rem, 2.2vw, 0.95rem);
  line-height: 1.7;
  color: #475569;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  padding-inline-start: 0;
}

.compare-page__summary-card .compare-page__bullet-item::before,
.compare-page__summary-card .bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.compare-page__summary-card--competitor {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 50%,
    rgba(241, 245, 249, 0.85) 100%
  );
}

.compare-page__summary-card--competitor::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(100, 116, 139, 0.3) 90deg,
    transparent 180deg,
    rgba(148, 163, 184, 0.3) 270deg,
    transparent 360deg
  );
}

.compare-page__summary-card--competitor:hover::before {
  opacity: 0;
}
.compare-page__summary-card--competitor .compare-page__bullet-item::before,
.compare-page__summary-card--competitor .bullets li::before {
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.15) 0%,
    rgba(100, 116, 139, 0.05) 100%
  );
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-page__summary-card--taraz {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(239, 246, 255, 0.95) 50%,
    rgba(219, 234, 254, 0.9) 100%
  );
  border-color: rgba(59, 130, 246, 0.15);
}

.compare-page__summary-card--action,
.compare-page__summary-card--combined {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(236, 253, 245, 0.95) 50%,
    rgba(209, 250, 229, 0.9) 100%
  );
  border-color: rgba(16, 185, 129, 0.15);
}

.compare-page__summary-card--action::before,
.compare-page__summary-card--combined::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(16, 185, 129, 0.5) 60deg,
    rgba(5, 150, 105, 0.4) 120deg,
    transparent 180deg,
    rgba(52, 211, 153, 0.4) 240deg,
    rgba(16, 185, 129, 0.5) 300deg,
    transparent 360deg
  );
}


.compare-page__summary-card--action .compare-page__bullet-item::before,
.compare-page__summary-card--action .bullets li::before,
.compare-page__summary-card--combined .compare-page__bullet-item::before,
.compare-page__summary-card--combined .bullets li::before {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-page__summary-card--featured {
  transform: scale(1.02);
  z-index: 2;
}

.compare-page__summary-card--featured::before {
  opacity: 0.5;
}


@media (max-width: 1024px) {
  .compare-page__summary-card {
    --tc-padding: clamp(1.25rem, 3.5vw, 1.75rem);
    --tc-icon-size: 48px;
    --tc-radius: 20px;
  }

  .compare-page__summary-card .compare-page__summary-title::before,
  .compare-page__summary-card .summary-card-title::before {
    border-radius: 14px;
    background-size:
      100% 100%,
      24px;
  }
}

@media (max-width: 767px) {
  .compare-page__summary-card {
    --tc-padding: 1.25rem;
    --tc-icon-size: 44px;
    --tc-radius: 18px;
  }

  .compare-page__summary-card .compare-page__summary-title::before,
  .compare-page__summary-card .summary-card-title::before {
    border-radius: 12px;
    background-size:
      100% 100%,
      22px;
    margin-bottom: 0.625rem;
  }

}

@media (max-width: 480px) {
  .compare-page__summary-card {
    --tc-padding: 1rem;
    --tc-icon-size: 40px;
    --tc-radius: 16px;
  }

  .compare-page__summary-card .compare-page__bullet-item::before,
  .compare-page__summary-card .bullets li::before {
    width: 16px;
    height: 16px;
    background-size: 10px;
  }

  .compare-page__summary-card .compare-page__summary-title::before,
  .compare-page__summary-card .summary-card-title::before {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-size:
      100% 100%,
      18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-page__summary-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .compare-page__summary-card::before,
  .compare-page__summary-card::after {
    animation: none;
  }

  .compare-page__summary-card .compare-page__summary-title::before,
  .compare-page__summary-card .summary-card-title::before {
    animation: none;
  }

  .compare-page__summary-card,
  .compare-page__summary-card .compare-page__summary-title::before,
  .compare-page__summary-card .summary-card-title::before,
  .compare-page__summary-card .compare-page__bullet-item::before,
  .compare-page__summary-card .bullets li::before {
    transition: none;
  }
}

.trust-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease,
    background-color 0.25s ease;
  border: 1px solid rgba(23, 114, 255, 0.4);
  box-shadow: rgba(23, 114, 255, 0.8) 0px 0px 10px 0px;
}

.compare-page__bullet-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.compare-page__bullet-item .bullet-icon-bg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(0, 143, 255, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.compare-page__bullet-item .bullet-icon-bg .bullet-checkmark {
  width: 14px;
  height: 14px;
  color: #1d4ed8;
}

.compare-page__bullet-item::before {
  display: none !important;
}

@keyframes prompt-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes prompt-border-glow {
  0%,
  100% {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
      0 4px 16px rgba(59, 130, 246, 0.1),
      0 0 0 1px rgba(59, 130, 246, 0.05);
  }
  50% {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
      0 4px 20px rgba(99, 102, 241, 0.15),
      0 0 0 1px rgba(99, 102, 241, 0.1);
  }
}

@keyframes prompt-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.example-prompt,
.compare-page__example-prompt {
  --prompt-accent: #3b82f6;
  --prompt-accent-light: rgba(59, 130, 246, 0.1);
  --prompt-gradient-start: #3b82f6;
  --prompt-gradient-mid: #8b5cf6;
  --prompt-gradient-end: #06b6d4;

  position: relative;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 255, 0.95) 40%,
    rgba(239, 246, 255, 0.92) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  text-align: center;
  overflow: visible;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 6px -1px rgba(59, 130, 246, 0.07),
    0 10px 20px -5px rgba(59, 130, 246, 0.1),
    0 25px 50px -12px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.example-prompt,
.compare-page__example-prompt {
  background-image:
    radial-gradient(
      ellipse 120px 120px at 10% 90%,
      rgba(6, 182, 212, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 250, 255, 0.95) 40%,
      rgba(239, 246, 255, 0.92) 100%
    );
}

.example-prompt-title,
.compare-page__prompt-title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3b82f6;
  margin: 0 0 1rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(139, 92, 246, 0.08) 100%
  );
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow:
    0 2px 8px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


.example-prompt-text,
.compare-page__prompt-text {
  position: relative;
  z-index: 1;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: linear-gradient(
    135deg,
    #1e293b 0%,
    #334155 50%,
    #1e293b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}


@media (max-width: 767px) {
  .example-prompt,
  .compare-page__example-prompt {
    padding: 1.5rem;
    border-radius: 20px;
    margin-inline: 1rem;
  }


  .example-prompt-title,
  .compare-page__prompt-title {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
}

@keyframes table-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes table-glow-pulse {
  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(59, 130, 246, 0.1),
      0 8px 40px rgba(99, 102, 241, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  50% {
    box-shadow:
      0 4px 24px rgba(59, 130, 246, 0.15),
      0 8px 48px rgba(99, 102, 241, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
}

.compare-table-wrap,
.compare-page__table-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(239, 246, 255, 0.75) 30%,
    rgba(224, 231, 255, 0.7) 60%,
    rgba(238, 242, 255, 0.8) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: table-glow-pulse 4s ease-in-out infinite;
  -webkit-overflow-scrolling: touch;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.compare-table-wrap::before,
.compare-page__table-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 24px 24px 0 0;
}

.compare-table-wrap::after,
.compare-page__table-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 25%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.3) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: table-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.compare-table-wrap,
.compare-page__table-wrap {
  box-shadow:
    0 4px 20px rgba(59, 130, 246, 0.1),
    0 8px 40px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(59, 130, 246, 0.1);
}

.compare-table-wrap:hover,
.compare-page__table-wrap:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(59, 130, 246, 0.15),
    0 16px 56px rgba(99, 102, 241, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(59, 130, 246, 0.2);
}

.compare-table,
.compare-page__table {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
}

.compare-table thead,
.compare-page__table-head {
  background: linear-gradient(
    135deg,
    rgba(241, 245, 249, 0.9) 0%,
    rgba(226, 232, 240, 0.85) 50%,
    rgba(241, 245, 249, 0.9) 100%
  );
  backdrop-filter: blur(10px);
}

.compare-table thead th,
.compare-page__table-th {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  text-align: start;
  color: #1e293b;
  white-space: nowrap;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.compare-page__table-th--competitor {
  color: #64748b;
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.1) 0%,
    rgba(100, 116, 139, 0.05) 100%
  );
}

.compare-page__table-th--taraz {
  color: #2563eb;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(59, 130, 246, 0.06) 100%
  );
}

.compare-page__table-th--row {
  background: rgba(241, 245, 249, 0.7);
  font-weight: 700;
  color: #475569;
}

.compare-table tbody tr,
.compare-page__table-row {
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.25s ease;
  background: transparent;
}

.compare-table tbody tr:nth-child(even),
.compare-page__table-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.3);
}

.compare-table tbody tr:hover,
.compare-page__table-row:hover {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(99, 102, 241, 0.06) 50%,
    rgba(59, 130, 246, 0.08) 100%
  );
}

.compare-table tbody tr:last-child,
.compare-page__table-row:last-child {
  border-bottom: none;
}

.compare-table tbody tr:last-child td:first-child,
.compare-page__table-row:last-child .compare-page__table-td:first-child {
  border-radius: 0 0 0 22px;
}

.compare-table tbody tr:last-child td:last-child,
.compare-page__table-row:last-child .compare-page__table-td:last-child {
  border-radius: 0 0 22px 0;
}

.compare-table td,
.compare-table th,
.compare-page__table-td {
  padding: 1.125rem 1.5rem;
  line-height: 1.6;
  color: #475569;
  vertical-align: middle;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.compare-table tbody th,
.compare-page__table-td--header {
  font-weight: 700;
  color: #334155;
  background: rgba(241, 245, 249, 0.5);
}

.compare-page__table-td--taraz {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.04) 50%,
    transparent 100%
  );
  color: #1e40af;
  font-weight: 600;
  position: relative;
}

.compare-page__table-td--taraz::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.compare-page__table-td--competitor {
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.08) 0%,
    rgba(100, 116, 139, 0.03) 50%,
    transparent 100%
  );
  color: #64748b;
}

.compare-page__hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: #64748b;
  font-style: italic;
  padding: 0.75rem 1.5rem;
  background: rgba(241, 245, 249, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
  .compare-table-wrap,
  .compare-page__table-wrap {
    border-radius: 18px;
  }

  .compare-table thead th,
  .compare-page__table-th,
  .compare-table td,
  .compare-table th,
  .compare-page__table-td {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
  }

  .compare-table thead th:first-child,
  .compare-page__table-th:first-child {
    border-radius: 16px 0 0 0;
  }

  .compare-table tbody tr:last-child td:first-child,
  .compare-page__table-row:last-child .compare-page__table-td:first-child {
    border-radius: 0 0 0 16px;
  }

  .compare-table tbody tr:last-child td:last-child,
  .compare-page__table-row:last-child .compare-page__table-td:last-child {
    border-radius: 0 0 16px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-table-wrap,
  .compare-page__table-wrap {
    animation: none;
  }

  .compare-table-wrap::after,
  .compare-page__table-wrap::after {
    animation: none;
  }
}

.section-compare,
.compare-page__section--table,
.compare-page__section--compare {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.section-compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 0%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 70% 50% at 80% 100%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.5) 0%,
      rgba(241, 245, 249, 0.3) 50%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

.comparison-table,
.compare-table-wrap,
.compare-page__table-wrap {
  position: relative;
  border-radius: clamp(20px, 4vw, 32px);
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow: hidden;
  z-index: 1;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 255, 0.88) 25%,
    rgba(239, 246, 255, 0.85) 50%,
    rgba(224, 231, 255, 0.82) 75%,
    rgba(238, 242, 255, 0.88) 100%
  );
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);

  box-shadow:
    0 4px 6px -1px rgba(59, 130, 246, 0.05),
    0 10px 15px -3px rgba(59, 130, 246, 0.08),
    0 20px 25px -5px rgba(99, 102, 241, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(59, 130, 246, 0.05);

  border: 1.5px solid transparent;
  background-clip: padding-box;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: comparison-table-glow 6s ease-in-out infinite;
}

@keyframes comparison-table-glow {
  0%,
  100% {
    box-shadow:
      0 4px 6px -1px rgba(59, 130, 246, 0.05),
      0 10px 15px -3px rgba(59, 130, 246, 0.08),
      0 20px 25px -5px rgba(99, 102, 241, 0.06),
      0 0 0 1px rgba(255, 255, 255, 0.8),
      inset 0 1px 2px rgba(255, 255, 255, 0.9),
      inset 0 -1px 2px rgba(59, 130, 246, 0.05);
  }
  50% {
    box-shadow:
      0 8px 12px -2px rgba(59, 130, 246, 0.08),
      0 16px 24px -4px rgba(59, 130, 246, 0.12),
      0 24px 32px -6px rgba(99, 102, 241, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.9),
      0 0 40px -10px rgba(59, 130, 246, 0.15),
      inset 0 1px 3px rgba(255, 255, 255, 0.95),
      inset 0 -1px 2px rgba(59, 130, 246, 0.08);
  }
}

.comparison-table::before,
.compare-table-wrap::before,
.compare-page__table-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.25) 30%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.comparison-table::after,
.compare-table-wrap::after,
.compare-page__table-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 300% 100%;
  animation: comparison-table-shimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  opacity: 0.7;
}

@keyframes comparison-table-shimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -150% 0;
  }
}

.comparison-table:hover,
.compare-table-wrap:hover,
.compare-page__table-wrap:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow:
    0 12px 20px -4px rgba(59, 130, 246, 0.1),
    0 24px 40px -8px rgba(59, 130, 246, 0.15),
    0 32px 56px -12px rgba(99, 102, 241, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 0 60px -15px rgba(59, 130, 246, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -1px 3px rgba(59, 130, 246, 0.1);
}

.comparison-table__element,
.compare-table,
.compare-page__table {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  line-height: 1.65;
  overflow: hidden;
  border-radius: clamp(14px, 2.5vw, 20px);
}

.comparison-table__head,
.compare-table thead,
.compare-page__table-head {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.08) 0%,
    rgba(59, 130, 246, 0.06) 50%,
    rgba(99, 102, 241, 0.04) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comparison-table__head::after,
.compare-table thead::after,
.compare-page__table-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(99, 102, 241, 0.05) 50%,
    rgba(59, 130, 246, 0.03) 100%
  );
  pointer-events: none;
}

.comparison-table__head-cell,
.compare-table thead th,
.compare-page__table-th {
  padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1rem, 3vw, 1.75rem);
  font-weight: 800;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  text-align: start;
  color: #1e3a5f;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid transparent;
  background-image:
    linear-gradient(rgba(241, 245, 249, 0.6), rgba(241, 245, 249, 0.6)),
    linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.2),
      rgba(99, 102, 241, 0.3),
      rgba(59, 130, 246, 0.2)
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.comparison-table__head-cell:first-child,
.compare-table thead th:first-child,
.compare-page__table-th:first-child {
  border-top-right-radius: clamp(14px, 2.5vw, 20px);
  background: linear-gradient(
    135deg,
    rgba(241, 245, 249, 0.9) 0%,
    rgba(248, 250, 252, 0.85) 100%
  );
  color: #475569;
  font-weight: 700;
}

.comparison-table__head-cell:last-child {
  border-top-left-radius: 0;
}

.comparison-table__head-cell--competitor,
.compare-page__table-th--competitor {
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.12) 0%,
    rgba(148, 163, 184, 0.08) 50%,
    rgba(100, 116, 139, 0.06) 100%
  ) !important;
  color: #475569 !important;
}

.comparison-table__head-cell--taraz,
.compare-page__table-th--taraz {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.15) 0%,
    rgba(59, 130, 246, 0.1) 50%,
    rgba(99, 102, 241, 0.08) 100%
  ) !important;
  color: #1e40af !important;
  position: relative;
}

.comparison-table__head-cell--taraz::before,
.compare-page__table-th--taraz::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 50%;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}


.comparison-table__row,
.compare-table tbody tr,
.compare-page__table-row {
  position: relative;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
}


.comparison-table__row:nth-child(odd),
.compare-table tbody tr:nth-child(odd),
.compare-page__table-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.4);
}

.comparison-table__row:nth-child(even),
.compare-table tbody tr:nth-child(even),
.compare-page__table-row:nth-child(even) {
  background: rgba(248, 250, 252, 0.5);
}


.comparison-table__row,
.compare-table tbody tr,
.compare-page__table-row {
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.comparison-table__row:last-child,
.compare-table tbody tr:last-child,
.compare-page__table-row:last-child {
  border-bottom: none;
}


.comparison-table__row:hover,
.compare-table tbody tr:hover,
.compare-page__table-row:hover {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(99, 102, 241, 0.06) 30%,
    rgba(59, 130, 246, 0.04) 70%,
    rgba(99, 102, 241, 0.08) 100%
  );
  transform: scale(1.005);
  z-index: 2;
}


.comparison-table__row:last-child .comparison-table__cell:first-child,
.compare-table tbody tr:last-child th:first-child,
.compare-table tbody tr:last-child td:first-child,
.compare-page__table-row:last-child .compare-page__table-th:first-child,
.compare-page__table-row:last-child .compare-page__table-td:first-child,
.compare-page__table-row:last-child .compare-page__table-cell:first-child {
  border-bottom-right-radius: clamp(14px, 2.5vw, 20px);
}

.comparison-table__row:last-child .comparison-table__cell:last-child,
.compare-table tbody tr:last-child td:last-child,
.compare-page__table-row:last-child .compare-page__table-td:last-child,
.compare-page__table-row:last-child .compare-page__table-cell:last-child {
  border-bottom-left-radius: clamp(14px, 2.5vw, 20px);
}


.comparison-table__cell,
.compare-table td,
.compare-table tbody th,
.compare-page__table-td,
.compare-page__table-cell,
.compare-page__table-row-header {
  padding: clamp(0.9rem, 2.2vw, 1.25rem) clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: #475569;
  vertical-align: middle;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  position: relative;
}


.comparison-table__cell--header,
.compare-table tbody th,
.compare-page__table-th--row,
.compare-page__table-row-header {
  font-weight: 700;
  color: #334155;
  background: linear-gradient(
    90deg,
    rgba(241, 245, 249, 0.7) 0%,
    rgba(248, 250, 252, 0.5) 100%
  );
  white-space: nowrap;
  font-size: 0.9em;
  letter-spacing: -0.01em;
}


.comparison-table__cell--competitor,
.compare-page__table-td--competitor,
.compare-page__table-cell--competitor {
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.06) 0%,
    rgba(148, 163, 184, 0.03) 50%,
    transparent 100%
  );
  color: #64748b;
}

.comparison-table__cell--taraz,
.compare-page__table-td--taraz,
.compare-page__table-cell--taraz {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 50%,
    transparent 100%
  );
  color: #1e40af;
  font-weight: 600;
  position: relative;
}


.comparison-table__cell--taraz::before,
.compare-page__table-td--taraz::before,
.compare-page__table-cell--taraz::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 55%;
  background: linear-gradient(180deg, #3b82f6 0%, #6366f1 50%, #1d4ed8 100%);
  border-radius: 0 4px 4px 0;
  box-shadow:
    0 0 8px rgba(59, 130, 246, 0.4),
    0 0 16px rgba(59, 130, 246, 0.2);
  opacity: 0.9;
  transition:
    opacity 0.3s ease,
    height 0.3s ease;
}

.comparison-table__row:hover .comparison-table__cell--taraz::before,
.compare-table tbody tr:hover .compare-page__table-td--taraz::before,
.compare-page__table-row:hover .compare-page__table-td--taraz::before,
.compare-page__table-row:hover .compare-page__table-cell--taraz::before {
  opacity: 1;
  height: 70%;
}

.comparison-table__hint,
.compare-hint,
.compare-page__hint {
  text-align: center;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: #64748b;
  font-weight: 500;
  font-style: italic;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(
    135deg,
    rgba(241, 245, 249, 0.8) 0%,
    rgba(248, 250, 252, 0.6) 100%
  );
  border-radius: clamp(10px, 2vw, 16px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 2px 8px rgba(59, 130, 246, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.comparison-table__hint:hover,
.compare-hint:hover,
.compare-page__hint:hover {
  background: linear-gradient(
    135deg,
    rgba(241, 245, 249, 0.95) 0%,
    rgba(248, 250, 252, 0.85) 100%
  );
  box-shadow:
    0 4px 12px rgba(59, 130, 246, 0.08),
    inset 0 1px 3px rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(0.75rem, 2vw, 1rem);
  }

  .comparison-table__element,
  .compare-table,
  .compare-page__table {
    border-radius: clamp(12px, 2vw, 18px);
  }
}

@media (max-width: 767px) {
  .section-compare,
  .compare-page__section--table,
  .compare-page__section--compare {
    padding-block: clamp(2rem, 6vw, 4rem);
  }

  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    border-radius: 16px;
    padding: 0.5rem;
    margin-inline: -0.5rem;
    width: calc(100% + 1rem);
  }

  .comparison-table__element,
  .compare-table,
  .compare-page__table {
    min-width: 560px;
    font-size: 0.82rem;
    border-radius: 14px;
  }

  .comparison-table__head-cell,
  .compare-table thead th,
  .compare-page__table-th {
    padding: 0.85rem 0.9rem;
    font-size: 0.82rem;
  }

  .comparison-table__cell,
  .compare-table td,
  .compare-table tbody th,
  .compare-page__table-td,
  .compare-page__table-cell,
  .compare-page__table-row-header {
    padding: 0.8rem 0.85rem;
    font-size: 0.8rem;
  }

  .comparison-table__head-cell:first-child,
  .compare-table thead th:first-child,
  .compare-page__table-th:first-child {
    border-top-right-radius: 14px;
  }

  .comparison-table__head-cell:last-child {
    border-top-left-radius: 0;
  }

  .comparison-table__row:last-child .comparison-table__cell:first-child,
  .compare-table tbody tr:last-child th:first-child,
  .compare-table tbody tr:last-child td:first-child,
  .compare-page__table-row:last-child .compare-page__table-th:first-child,
  .compare-page__table-row:last-child .compare-page__table-td:first-child,
  .compare-page__table-row:last-child .compare-page__table-cell:first-child {
    border-bottom-right-radius: 14px;
  }

  .comparison-table__row:last-child .comparison-table__cell:last-child,
  .compare-table tbody tr:last-child td:last-child,
  .compare-page__table-row:last-child .compare-page__table-td:last-child,
  .compare-page__table-row:last-child .compare-page__table-cell:last-child {
    border-bottom-left-radius: 14px;
  }

  .comparison-table__hint,
  .compare-hint,
  .compare-page__hint {
    font-size: 0.78rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    border-radius: 12px;
  }

  .comparison-table__element,
  .compare-table,
  .compare-page__table {
    min-width: 480px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .comparison-table__head-cell,
  .compare-table thead th,
  .compare-page__table-th {
    padding: 0.75rem 0.7rem;
    font-size: 0.78rem;
  }

  .comparison-table__cell,
  .compare-table td,
  .compare-table tbody th,
  .compare-page__table-td,
  .compare-page__table-cell,
  .compare-page__table-row-header {
    padding: 0.7rem 0.65rem;
    font-size: 0.76rem;
  }

  .comparison-table__head-cell:first-child,
  .compare-table thead th:first-child,
  .compare-page__table-th:first-child {
    border-top-right-radius: 10px;
  }

  .comparison-table__head-cell:last-child {
    border-top-left-radius: 0;
  }

  .comparison-table__row:last-child .comparison-table__cell:first-child,
  .compare-table tbody tr:last-child th:first-child,
  .compare-table tbody tr:last-child td:first-child,
  .compare-page__table-row:last-child .compare-page__table-th:first-child,
  .compare-page__table-row:last-child .compare-page__table-td:first-child,
  .compare-page__table-row:last-child .compare-page__table-cell:first-child {
    border-bottom-right-radius: 10px;
  }

  .comparison-table__row:last-child .comparison-table__cell:last-child,
  .compare-table tbody tr:last-child td:last-child,
  .compare-page__table-row:last-child .compare-page__table-td:last-child,
  .compare-page__table-row:last-child .compare-page__table-cell:last-child {
    border-bottom-left-radius: 10px;
  }
}

@media (prefers-contrast: high) {
  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    border: 2px solid #1e40af;
    background: white;
  }

  .comparison-table__row,
  .compare-table tbody tr,
  .compare-page__table-row {
    border-bottom: 2px solid #cbd5e1;
  }

  .comparison-table__cell--taraz::before,
  .compare-page__table-td--taraz::before,
  .compare-page__table-cell--taraz::before {
    width: 6px;
    background: #1e40af;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    animation: none;
    transition: none;
  }

  .comparison-table::after,
  .compare-table-wrap::after,
  .compare-page__table-wrap::after {
    animation: none;
    display: none;
  }

  .comparison-table__row,
  .compare-table tbody tr,
  .compare-page__table-row {
    transition: none;
  }

  .comparison-table__row:hover,
  .compare-table tbody tr:hover,
  .compare-page__table-row:hover {
    transform: none;
  }

  .comparison-table:hover,
  .compare-table-wrap:hover,
  .compare-page__table-wrap:hover {
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    background: linear-gradient(
      145deg,
      rgba(30, 41, 59, 0.95) 0%,
      rgba(15, 23, 42, 0.92) 50%,
      rgba(30, 41, 59, 0.95) 100%
    );
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      0 10px 15px -3px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(59, 130, 246, 0.15),
      inset 0 1px 2px rgba(255, 255, 255, 0.05);
  }

  .comparison-table__head,
  .compare-table thead,
  .compare-page__table-head {
    background: linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.2) 0%,
      rgba(59, 130, 246, 0.15) 100%
    );
  }

  .comparison-table__head-cell,
  .compare-table thead th,
  .compare-page__table-th {
    color: #e2e8f0;
    text-shadow: none;
    background-image: none;
    border-bottom-color: rgba(59, 130, 246, 0.3);
  }

  .comparison-table__row:nth-child(odd),
  .compare-table tbody tr:nth-child(odd),
  .compare-page__table-row:nth-child(odd) {
    background: rgba(30, 41, 59, 0.5);
  }

  .comparison-table__row:nth-child(even),
  .compare-table tbody tr:nth-child(even),
  .compare-page__table-row:nth-child(even) {
    background: rgba(15, 23, 42, 0.5);
  }

  .comparison-table__cell,
  .compare-table td,
  .compare-table tbody th,
  .compare-page__table-td,
  .compare-page__table-cell,
  .compare-page__table-row-header {
    color: #cbd5e1;
  }

  .comparison-table__cell--header,
  .compare-table tbody th,
  .compare-page__table-th--row,
  .compare-page__table-row-header {
    color: #e2e8f0;
    background: linear-gradient(
      90deg,
      rgba(30, 41, 59, 0.8) 0%,
      rgba(15, 23, 42, 0.6) 100%
    );
  }

  .comparison-table__cell--taraz,
  .compare-page__table-td--taraz,
  .compare-page__table-cell--taraz {
    color: #93c5fd;
    background: linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.15) 0%,
      rgba(59, 130, 246, 0.08) 50%,
      transparent 100%
    );
  }

  .comparison-table__hint,
  .compare-hint,
  .compare-page__hint {
    background: linear-gradient(
      135deg,
      rgba(30, 41, 59, 0.9) 0%,
      rgba(15, 23, 42, 0.8) 100%
    );
    color: #94a3b8;
    border-color: rgba(59, 130, 246, 0.2);
  }
}


@media (max-width: 767px) {
  .comparison-table__element,
  .compare-table,
  .compare-page__table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .comparison-table__head,
  .compare-table thead,
  .compare-page__table-head {
    display: none;
  }

  .compare-table tbody,
  .compare-page__table-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .comparison-table__row,
  .compare-table tbody tr,
  .compare-page__table-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 250, 255, 0.9) 100%
    );
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow:
      0 2px 8px rgba(59, 130, 246, 0.06),
      0 4px 16px rgba(99, 102, 241, 0.04);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .comparison-table__row:hover,
  .compare-table tbody tr:hover,
  .compare-page__table-row:hover {
    transform: translateY(-2px);
    box-shadow:
      0 4px 12px rgba(59, 130, 246, 0.1),
      0 8px 24px rgba(99, 102, 241, 0.08);
  }

  .comparison-table__cell--header,
  .compare-table tbody th,
  .compare-page__table-th--row,
  .compare-page__table-row-header {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.08) 0%,
      rgba(59, 130, 246, 0.05) 100%
    );
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e3a5f;
    text-align: center;
    white-space: normal;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  }

  .comparison-table__cell,
  .compare-table td,
  .compare-page__table-td,
  .compare-page__table-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    width: 100%;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
  }

  .comparison-table__cell:last-child,
  .compare-table td:last-child,
  .compare-page__table-td:last-child,
  .compare-page__table-cell:last-child {
    border-bottom: none;
  }

  .comparison-table__cell--competitor::before,
  .compare-page__table-td--competitor::before,
  .compare-page__table-cell--competitor::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
  }

  .comparison-table__cell--taraz::before,
  .compare-page__table-td--taraz::before,
  .compare-page__table-cell--taraz::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
  }

  .comparison-table__cell--competitor,
  .compare-page__table-td--competitor,
  .compare-page__table-cell--competitor {
    background: linear-gradient(
      90deg,
      rgba(100, 116, 139, 0.04) 0%,
      transparent 100%
    );
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .comparison-table__cell--competitor::before,
  .compare-page__table-td--competitor::before,
  .compare-page__table-cell--competitor::before {
    display: none;
  }
  .comparison-table__cell--taraz,
  .compare-page__table-td--taraz,
  .compare-page__table-cell--taraz {
    background: linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.08) 0%,
      rgba(59, 130, 246, 0.03) 100%
    );
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.6;
    border-inline-start: 4px solid;
    border-image: linear-gradient(180deg, #3b82f6 0%, #6366f1 50%, #1d4ed8 100%)
      1;
  }

  .comparison-table__cell--taraz::before,
  .compare-page__table-td--taraz::before,
  .compare-page__table-cell--taraz::before {
    display: none;
  }

  .comparison-table__cell--taraz::after,
  .compare-page__table-td--taraz::after,
  .compare-page__table-cell--taraz::after {
    display: none;
  }

  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    padding: 1rem;
    margin-inline: 0;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .compare-table tbody,
  .compare-page__table-body {
    gap: 0.875rem;
  }

  .comparison-table__row,
  .compare-table tbody tr,
  .compare-page__table-row {
    border-radius: 14px;
  }

  .comparison-table__cell--header,
  .compare-table tbody th,
  .compare-page__table-th--row,
  .compare-page__table-row-header {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .comparison-table__cell,
  .compare-table td,
  .compare-page__table-td,
  .compare-page__table-cell {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
  }

  .comparison-table,
  .compare-table-wrap,
  .compare-page__table-wrap {
    padding: 0.75rem;
    border-radius: 14px;
  }
}

@media (max-width: 767px) {
  .compare-page__table-row td:first-of-type,
  .compare-page__table-row .compare-page__table-cell:first-of-type,
  .compare-page__table-row .compare-page__table-td:first-of-type {
    position: relative;
  }

  .compare-page__table-row td:first-of-type::before,
  .compare-page__table-row .compare-page__table-cell--competitor::before,
  .compare-page__table-row .compare-page__table-td--competitor::before {
    content: "رقیب";
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
  }

  .compare-page__table-row td:last-of-type::before,
  .compare-page__table-row .compare-page__table-cell--taraz::before,
  .compare-page__table-row .compare-page__table-td--taraz::before {
    content: "AI تراز";
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  }
}


.ai-study__list label[for^="study-"] {
  position: relative;
  padding-left: 3rem;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

[dir="ltr"] .ai-study__list label[for^="study-"] {
  padding-left: 3rem;
  padding-right: 1rem;
}

.ai-study__list label[for^="study-"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.75rem; 
  transform: translateY(-50%) scale(0);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb); 
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}

/* 1. Blue */
.ai-study__benefit-list li:nth-child(1) label[for^="study-"]::before {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}
/* 2. Purple */
.ai-study__benefit-list li:nth-child(2) label[for^="study-"]::before {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}
/* 3. Green */
.ai-study__benefit-list li:nth-child(3) label[for^="study-"]::before {
  background: linear-gradient(135deg, #4ade80, #16a34a);
}
/* 4. Amber/Orange */
.ai-study__benefit-list li:nth-child(4) label[for^="study-"]::before {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}
/* 5. Red */
.ai-study__benefit-list li:nth-child(5) label[for^="study-"]::before {
  background: linear-gradient(135deg, #f87171, #dc2626);
}
/* 6. Cyan */
.ai-study__benefit-list li:nth-child(6) label[for^="study-"]::before {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
}

[dir="ltr"] .ai-study__list label[for^="study-"]::before {
  left: 0.75rem;
  right: auto;
}

.ai-study__list label[for^="study-"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(0.75rem + 0.75rem);
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg) scale(0);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
    opacity 0.25s ease 0.05s;
}

[dir="ltr"] .ai-study__list label[for^="study-"]::after {
  left: 1.5rem;
  right: auto;
}

#study-solve:checked ~ .ai-study__list label[for="study-solve"]::before,
#study-lesson:checked ~ .ai-study__list label[for="study-lesson"]::before,
#study-exam:checked ~ .ai-study__list label[for="study-exam"]::before,
#study-photo:checked ~ .ai-study__list label[for="study-photo"]::before,
#study-pdf:checked ~ .ai-study__list label[for="study-pdf"]::before,
#study-voice:checked ~ .ai-study__list label[for="study-voice"]::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

#study-solve:checked ~ .ai-study__list label[for="study-solve"]::after,
#study-lesson:checked ~ .ai-study__list label[for="study-lesson"]::after,
#study-exam:checked ~ .ai-study__list label[for="study-exam"]::after,
#study-photo:checked ~ .ai-study__list label[for="study-photo"]::after,
#study-pdf:checked ~ .ai-study__list label[for="study-pdf"]::after,
#study-voice:checked ~ .ai-study__list label[for="study-voice"]::after {
  transform: translate(-50%, -60%) rotate(45deg) scale(1);
  opacity: 1;
}


@media (max-width: 768px) {
  .ai-study__list label[for^="study-"] {
    padding-right: 1rem;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"] {
    padding-right: 0.75rem;
    padding-left: 2.5rem;
  }

  .ai-study__list label[for^="study-"]::before {
    width: 1.25rem;
    height: 1.25rem;
    left: 0.5rem;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"]::before {
    right: auto;
    left: 0.5rem;
  }

  .ai-study__list label[for^="study-"]::after {
    left: 1.125rem; 
    width: 0.35rem;
    height: 0.55rem;
    border-width: 0 2px 2px 0;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"]::after {
    right: auto;
    left: 1.125rem;
  }
}

@media (max-width: 480px) {
  .ai-study__list label[for^="study-"] {
    padding-right:1rem;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"] {
    padding-right: 0.5rem;
    padding-left: 2.25rem;
  }

  .ai-study__list label[for^="study-"]::before {
    width: 1.1rem;
    height: 1.1rem;
    left: 0.4rem;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"]::before {
    right: auto;
    left: 0.4rem;
  }

  .ai-study__list label[for^="study-"]::after {
    left: 0.95rem; 
    width: 0.3rem;
    height: 0.45rem;
  }

  [dir="ltr"] .ai-study__list label[for^="study-"]::after {
    right: auto;
    left: 0.95rem;
  }
}



@media (prefers-reduced-motion: reduce) {
  .ai-study__list label[for^="study-"],
  .ai-study__list label[for^="study-"]::before,
  .ai-study__list label[for^="study-"]::after {
    transition: none;
  }

  #study-solve:checked ~ .ai-study__list label[for="study-solve"],
  #study-lesson:checked ~ .ai-study__list label[for="study-lesson"],
  #study-exam:checked ~ .ai-study__list label[for="study-exam"],
  #study-photo:checked ~ .ai-study__list label[for="study-photo"],
  #study-pdf:checked ~ .ai-study__list label[for="study-pdf"],
  #study-voice:checked ~ .ai-study__list label[for="study-voice"] {
    transform: scale(1);
  }
}


main {
  overflow-x: hidden;
  width: 100%;
}

main p,
main li {
  font-size: var(--fs-base);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

main h1 {
  font-size: var(--fs-4xl);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

main h2 {
  font-size: var(--fs-3xl);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

main h3 {
  font-size: var(--fs-2xl);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

main h4 {
  font-size: var(--fs-xl);
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

main h5,
main h6 {
  font-size: var(--fs-lg);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

main img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .section,
  .ai-demo,
  .ai-features,
  .ai-books,
  .ai-faq,
  .ai-how,
  .ai-cta,
  .ai-study,
  .ai-popular-searches {
    padding-block: clamp(2rem, 5vw, 3.5rem);
  }


  .hero,
  .ai-hero {
    padding-block: clamp(1rem, 5vw, 3.5rem);
  }

  .ai-hero__stats {
    gap: var(--space-2);
  }

  .stat,
  .ai-hero__stat {
    padding: var(--space-3);
  }


  .ai-demo__grid,
  .ai-study__grid {
    gap: var(--space-5);
  }


  .ai-popular-searches {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  }


  .ai-how {
    padding: clamp(2rem, 5vw, 3.75rem) 0;
  }
  .ai-popular-searches__title::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --radius-sm: 10px;
    --radius: 12px;
    --radius-lg: 16px;
  }

  .ai-hero__content .ai-hero__title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    text-align: center;
  }

  .ai-hero__content .ai-hero__lead {
    font-size: var(--fs-sm);
    text-align: center;
  }

  .ai-hero__eyebrow-row,
  .ai-hero__badge-list {
    justify-content: center;
  }

  .ai-hero__stats {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .stat,
  .ai-hero__stat {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
  }

  .ai-hero__stat-head {
    flex-direction: row;
  }

  .img_container,
  .ai-hero__image-stack {
    width: 100%;
    max-width: 320px;
  }

  .ai-demo__capabilities {
    gap: var(--space-3);
  }

  .ai-demo__cap-card-head {
    gap: 6px;
    margin-bottom: var(--space-2);
  }

  .ai-demo__cap-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ai-study__benefit-list {
    gap: var(--space-2);
  }

  .ai-study__benefit {
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: 0.875rem;
  }

  .ai-study__benefit-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .ai-study__benefit-icon img {
    width: 1.25rem;
    height: 1.25rem;
  }

  .ai-study__benefit-title {
    font-size: var(--fs-base);
    margin-bottom: 0.25rem;
  }

  .ai-study__benefit-desc {
    font-size: var(--fs-sm);
    line-height: 1.5;
  }

  .ai-features__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .ai-features__icon img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .ai-books__grid {
    gap: var(--space-4);
  }

  .ai-books__bullets {
    padding: var(--space-4);
    gap: var(--space-2);
  }

  .ai-books__bullets li {
    font-size: var(--fs-sm);
    padding-inline-start: 1.4rem;
  }

  .ai-books__figure {
    margin-top: var(--space-4);
    padding: var(--space-4);
  }

  .ai-how__step {
    width: 100%;
    padding: 0 var(--space-2);
  }

  .ai-how__step-num {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-bottom: var(--space-4);
  }

  .ai-popular-searches__link {
    padding: var(--space-3);
    border-radius: 16px;
  }

  .ai-popular-searches__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 14px;
  }

  .container,
  .ai-hero__container,
  .ai-demo__container,
  .ai-study__container,
  .ai-features__container,
  .ai-books__container,
  .ai-how__container,
  .ai-popular-searches__container,
  .ai-faq__container {
    padding-inline: var(--space-3);
  }

  .ai-hero__content .ai-hero__title {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }

  .ai-hero__eyebrow,
  .ai-hero__badge {
    padding: var(--space-1) var(--space-3);
    font-size: 0.65rem;
  }

  .ai-hero__action {
    padding: var(--space-3);
    font-size: var(--fs-sm);
    border-radius: 12px;
  }

  .stat,
  .ai-hero__stat {
    padding: var(--space-2);
    border-radius: var(--radius-sm);
  }

  .stat dt,
  .ai-hero__stat-label {
    font-size: var(--fs-sm);
  }

  .stat dd,
  .ai-hero__stat-value {
    font-size: var(--fs-xs);
  }


  .section,
  .ai-demo,
  .ai-features,
  .ai-books,
  .ai-faq,
  .ai-how,
  .ai-cta,
  .ai-study,
  .ai-popular-searches {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
  }

  .section-head,
  .ai-demo__head,
  .ai-study__head,
  .ai-features__head,
  .ai-books__head,
  .ai-how__head,
  .ai-popular-searches__head,
  .ai-faq__head {
    margin-bottom: var(--space-5);
  }

  /* Demo */
  .ai-demo__cap-card {
    padding: var(--space-3);
    border-radius: var(--radius);
  }

  .ai-demo__cap-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .ai-demo__cap-icon {
    width: 28px;
    height: 28px;
    mask-size: 20px;
  }

  .ai-study__benefit {
    padding: var(--space-2);
    gap: var(--space-2);
    border-radius: 0.75rem;
  }

  .ai-study__benefit-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
  }

  .ai-study__benefit-icon img {
    width: 1.125rem;
    height: 1.125rem;
  }

  .ai-features__grid {
    gap: var(--space-3);
    padding: var(--space-2) 0;
  }

  .ai-features__item {
    padding: var(--space-3);
    gap: var(--space-2);
    border-radius: var(--radius);
  }

  .ai-features__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
  }

  .ai-features__icon img {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* Books */
  .ai-books__bullets {
    padding: var(--space-3);
    border-radius: 16px;
    gap: var(--space-2);
  }

  .ai-books__bullets li::before {
    width: 10px;
    height: 10px;
    inset-block-start: 0.5em;
  }

  .ai-books__figure {
    padding: var(--space-3);
    margin-top: var(--space-3);
  }

  .ai-how__container {
    padding: var(--space-4) var(--space-3);
  }

  .ai-how__head {
    margin-bottom: var(--space-8);
  }

  .ai-how__step {
    padding: 0;
  }

  .ai-how__step-num {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: var(--space-3);
  }

  .ai-how__connector {
    min-width: 70px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .ai-popular-searches__link {
    padding: var(--space-2);
    border-radius: 14px;
    gap: var(--space-2);
  }

  .ai-popular-searches__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .cta-card,
  .ai-cta__card {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    gap: var(--space-3);
  }

  .ai-cta__title {
    font-size: var(--fs-lg);
  }

  .ai-faq__container {
    padding: var(--space-4);
    border-radius: 16px;
  }

  .ai-faq__item {
    border-radius: 12px;
  }

  .ai-faq__summary {
    padding: var(--space-3);
    gap: var(--space-2);
  }

  .ai-faq__answer {
    padding: 0 var(--space-3);
  }

  .ai-faq__item[open] .ai-faq__answer {
    padding-bottom: var(--space-3);
  }
}


@media (max-width: 360px) {
  .container,
  .ai-hero__container,
  .ai-demo__container,
  .ai-study__container,
  .ai-features__container,
  .ai-books__container,
  .ai-how__container,
  .ai-popular-searches__container,
  .ai-faq__container {
    padding-inline: var(--space-2);
  }

  .ai-hero__content .ai-hero__title {
    font-size: 1.15rem;
  }

  .ai-hero__action {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8rem;
  }

  .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-sm);
  }

  h2,
  .ai-demo__title,
  .ai-study__title,
  .ai-features__title,
  .ai-books__title,
  .ai-how__title,
  .ai-popular-searches__title,
  .ai-faq__title {
    font-size: 1.2rem;
  }

  .ai-study__benefit,
  .ai-features__item {
    padding: var(--space-2);
  }

  .ai-books__bullets li {
    font-size: 0.75rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .section,
  .ai-demo,
  .ai-features,
  .ai-books,
  .ai-faq,
  .ai-how,
  .ai-cta,
  .ai-study,
  .ai-popular-searches {
    padding-block: var(--space-4);
  }

  .hero,
  .ai-hero {
    padding-block: var(--space-4);
  }

  .section-head,
  .ai-demo__head,
  .ai-study__head,
  .ai-features__head,
  .ai-books__head,
  .ai-how__head,
  .ai-popular-searches__head,
  .ai-faq__head {
    margin-bottom: var(--space-4);
  }
}


@media (pointer: coarse) {
  .btn,
  .ai-hero__action,
  .ai-cta__button,
  .final-cta .cta-actions .btn,
  .ai-faq__summary,
  .ai-popular-searches__link,
  input,
  select,
  textarea,
  button {
    min-height: var(--touch-target-min);
    min-width: var(--touch-target-min);
  }

  .ai-study__benefit,
  .ai-features__item,
  .ai-demo__cap-card {
    margin-bottom: var(--space-1);
  }

  .ai-faq__summary {
    padding-block: var(--space-4);
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.compare-cards-section {
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
      background: linear-gradient(180deg, rgba(12, 186, 186, 0.05), rgba(255, 255, 255, 0));
}

.compare-cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 1;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.9) 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.12);
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: compare-card-enter 0.5s ease-out both;
}

.compare-row:nth-child(1) { animation-delay: 0.05s; }
.compare-row:nth-child(2) { animation-delay: 0.1s; }
.compare-row:nth-child(3) { animation-delay: 0.15s; }
.compare-row:nth-child(4) { animation-delay: 0.2s; }
.compare-row:nth-child(5) { animation-delay: 0.25s; }

@keyframes compare-card-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compare-row:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 32px rgba(59, 130, 246, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.compare-row__topic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem !important;
  background: #f2fcff;
  color: #0088b2;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.compare-row__topic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
background: #0088b2;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.compare-row__topic-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.compare-row__topic-text {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 800;
    color: #0088b2;
  margin: 0;
}

.compare-row__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.compare-card {
  padding: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare-card--competitor {
  border-inline-end: 1px solid rgba(226, 232, 240, 0.8);
}

.compare-card--taraz {
  position: relative;
}

.compare-card--taraz::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #0088b2;
  border-radius: 0 4px 4px 0;
}

.compare-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}

.compare-card--competitor .compare-card__label {
  background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
      color: #1e3a8a;
}

.compare-card--taraz .compare-card__label {
     background: linear-gradient(98deg, #f2fcff 0%, #d9f6ff 98.05%) !important;
    color: #0088b2 !important;
    border: 1px solid #0088b2 !important;
}

.compare-card__label-icon {
  width: 12px;
  height: 12px;
}

.compare-card--taraz .compare-card__label-icon {
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url('../img/AI_star_alt_blue_3.svg') center / contain no-repeat;
  mask: url('../img/AI_star_alt_blue_3.svg') center / contain no-repeat;
}

.compare-card--taraz .compare-card__label-icon * {
  display: none;
}

.compare-card__content {
  font-size: clamp(0.875rem, 2.2vw, 0.95rem);
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.compare-card--taraz .compare-card__content {
  color: #0b2a4a;
  font-weight: 500;
}

@media (min-width: 768px) {


  .compare-row__topic {
    padding: 1.25rem 1.5rem;
  }

  .compare-row__topic-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .compare-row__topic-icon svg {
    width: 22px;
    height: 22px;
  }

  .compare-card {
    padding: 1.5rem;
  }

  .compare-card__label {
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 767px) {
  .compare-cards-section {
    padding-block: clamp(1.5rem, 5vw, 2.5rem);
  }

  .compare-cards {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .compare-row {
    border-radius: 14px;
  }

  .compare-row__topic {
    padding: 0.75rem 1rem;
    gap: 0.625rem;
  }

  .compare-row__topic-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .compare-row__topic-icon svg {
    width: 16px;
    height: 16px;
  }

  .compare-row__topic-text {
    font-size: 0.9rem;
  }

  .compare-row__cards {
    grid-template-columns: 1fr;
  }

  .compare-card {
    padding: 0.875rem 1rem;
    gap: 0.375rem;
  }

  .compare-card--competitor {
    border-inline-end: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  }

  .compare-card--taraz::before {
    width: 4px;
  }

  .compare-card__label {
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
  }

  .compare-card__content {
    font-size: 0.8rem;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .compare-cards-section {
    padding-block: clamp(1.25rem, 4vw, 2rem);
  }

  .compare-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .compare-row {
    border-radius: 12px;
  }

  .compare-row__topic {
    padding: 0.625rem 0.75rem;
    gap: 0.5rem;
  }

  .compare-row__topic-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .compare-row__topic-icon svg {
    width: 14px;
    height: 14px;
  }

  .compare-row__topic-text {
    font-size: 0.85rem;
  }

  .compare-card {
    padding: 0.75rem 0.875rem;
    gap: 0.3rem;
  }

  .compare-card--taraz::before {
    width: 3px;
  }

  .compare-card__label {
    padding: 0.15rem 0.4rem;
    font-size: 0.6rem;
  }

  .compare-card__content {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

.compare-card--winner {
  position: relative;
}

.compare-card--winner::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.compare-card--winner::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill-rule='evenodd' d='M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-cards-header {
  display: none;
  grid-template-columns: minmax(180px, 1fr) 1fr 1fr;
  gap: 0;
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.9) 0%, rgba(248, 250, 252, 0.85) 100%);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

@media (min-width: 768px) {
  .compare-cards-header {
    display: grid;
  }
}

.compare-cards-header__cell {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  padding: 0.5rem;
  text-align: center;
}

.compare-cards-header__cell:first-child {
  text-align: start;
  color: #64748b;
}

.compare-cards-header__cell--taraz {
  color: #2563eb;
}

@media (prefers-reduced-motion: reduce) {
  .compare-row {
    animation: none;
    transition: none;
  }

  .compare-row:hover {
    transform: none;
  }
}

