@tailwind base;
@tailwind components;
@tailwind utilities;

/* Landing background */
.landing-bg {
 inset: 0;
  background: linear-gradient(
    180deg,
    #D4C7FF 2%,
    #F8F5FF 8%,
    #F8F5FF 55%,
    #F8F5FF 80%,
    #D4C7FF 90%,
    #A78DFF 100%
  );
  background-repeat: no-repeat;
}

.dark .landing-bg {
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.5) 0%,
    #18123F 20%,
    #18123F 90%,
    rgba(9, 9, 11, 0.5) 100%
  );
}

.landing-bg-sm {
  inset: 0;
  background: linear-gradient(
     180deg,
    #D4C7FF 5%,
    #F8F5FF 15%,
    #F8F5FF 65%,
    #D4C7FF 80%,
    #A78DFF 100%
  );
  z-index: 0;
}

.dark .landing-bg-sm {
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.5) 0%,
    #18123F 20%,
    #18123F 90%,
    rgba(9, 9, 11, 0.5) 100%
  );
}

/* TipTap Editor Styles */
.ProseMirror {
  outline: none;
  color: hsl(var(--foreground));
}

.ProseMirror p.is-editor-empty:first-child::before {
  color: hsl(var(--muted-foreground));
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
}

.ProseMirror p {
  margin: 0.5rem 0;
  color: hsl(var(--foreground));
}

.ProseMirror code {
  background-color: hsl(var(--muted));
  border-radius: 0.25rem;
  color: hsl(var(--foreground));
  font-size: 0.9em;
  padding: 0.2em 0.4em;
}

.ProseMirror pre {
  background: hsl(var(--muted));
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-family: 'JetBrainsMono', monospace;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border: 1px solid hsl(var(--border));
}

.ProseMirror pre code {
  background: none;
  color: inherit;
  font-size: 0.8rem;
  padding: 0;
}

.ProseMirror blockquote {
  border-left: 3px solid hsl(var(--border));
  padding-left: 1rem;
  margin: 1rem 0;
  color: hsl(var(--foreground));
  background-color: hsl(var(--muted) / 0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.ProseMirror tg-spoiler {
  background-color: hsl(var(--muted));
  border-radius: 0.25rem;
  padding: 0.1em 0.2em;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.ProseMirror a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.ProseMirror strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.ProseMirror em {
  font-style: italic;
  color: hsl(var(--foreground));
}

.ProseMirror u {
  text-decoration: underline;
  color: hsl(var(--foreground));
}

.ProseMirror del {
  text-decoration: line-through;
  color: hsl(var(--foreground));
}

/* Dark mode specific adjustments - improved visibility */
.dark .ProseMirror {
  color: hsl(var(--foreground));
  background-color: transparent;
}

.dark .ProseMirror p {
  color: hsl(var(--foreground));
}

.dark .ProseMirror code {
  background-color: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border) / 0.3);
}

.dark .ProseMirror pre {
  background: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.dark .ProseMirror pre code {
  color: hsl(var(--foreground));
  background: transparent;
}

.dark .ProseMirror blockquote {
  border-left-color: hsl(var(--border));
  background-color: hsl(var(--muted) / 0.3);
  color: hsl(var(--foreground));
}

.dark .ProseMirror tg-spoiler {
  background-color: hsl(var(--muted) / 0.7);
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border) / 0.3);
}

.dark .ProseMirror a {
  color: hsl(var(--primary));
}

.dark .ProseMirror strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.dark .ProseMirror em {
  color: hsl(var(--foreground));
}

.dark .ProseMirror u {
  color: hsl(var(--foreground));
}

.dark .ProseMirror del {
  color: hsl(var(--foreground));
  opacity: 0.8;
}

/* LIGHT MODE */
:root {
  /* TeGem Brand Colors */
  --brand-violet: #6C63FF;
  --brand-cyan: #00E0FF;
  --brand-lavender: #9A8CFF;
  --brand-ink: #1E1E2F;
  --brand-bg: #F8F9FC;

  --button-outline: rgba(0,0,0, .10);
  --badge-outline: rgba(0,0,0, .05);
  --hero-gradient: radial-gradient(at 80.7% 58.1%, #100A37 0px, transparent 55%),
    radial-gradient(at 28.2% 12.7%, #3E1CB9 0px, transparent 55%),
    radial-gradient(at 78.1% 78.4%, #381C9A 0px, transparent 55%),
    radial-gradient(at 69.5% 13.1%, #271275 0px, transparent 55%),
    radial-gradient(at 27.2% 80.9%, #B49DFF 0px, transparent 55%) #000000;

  /* Automatic computation of border around primary / danger buttons */
  --opaque-button-border-intensity: -8; /* In terms of percentages */

  /* Backgrounds applied on top of other backgrounds when hovered/active */
  --elevate-1: rgba(0,0,0, .03);
  --elevate-2: rgba(0,0,0, .08);

  --background: 0 0% 100%;

  --foreground: 210 25% 7.8431%;

  --border: 201.4286 30.4348% 90.9804%;

  --card: 180 6.6667% 97.0588%;

  --card-foreground: 210 25% 7.8431%;

  --card-border: 220 15% 92%;

  --sidebar: 180 6.6667% 97.0588%;

  --sidebar-foreground: 210 25% 7.8431%;

  --sidebar-border: 205.0000 25.0000% 90.5882%;

  --sidebar-primary: 203.8863 88.2845% 53.1373%;

  --sidebar-primary-foreground: 0 0% 100%;

  --sidebar-accent: 211.5789 51.3514% 92.7451%;

  --sidebar-accent-foreground: 203.8863 88.2845% 53.1373%;

  --sidebar-ring: 202.8169 89.1213% 53.1373%;

  --popover: 0 0% 100%;

  --popover-foreground: 210 25% 7.8431%;

  --popover-border: 220 20% 92%;

  --primary: 203.8863 88.2845% 53.1373%;

  --primary-foreground: 0 0% 100%;

  --secondary: 210 25% 7.8431%;

  --secondary-foreground: 0 0% 100%;

  --muted: 240 1.9608% 90%;

  --muted-foreground: 210 25% 7.8431%;

  --accent: 211.5789 51.3514% 92.7451%;

  --accent-foreground: 203.8863 88.2845% 53.1373%;

  --destructive: 356.3033 90.5579% 54.3137%;

  --destructive-foreground: 0 0% 100%;

  --input: 200 23.0769% 97.4510%;
  --ring: 202.8169 89.1213% 53.1373%;
  --chart-1: 203.8863 88.2845% 53.1373%;
  --chart-2: 159.7826 100% 36.0784%;
  --chart-3: 42.0290 92.8251% 56.2745%;
  --chart-4: 147.1429 78.5047% 41.9608%;
  --chart-5: 341.4894 75.2000% 50.9804%;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: Menlo, monospace;
  --radius: 1.3rem;
  --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-sm: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-md: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-lg: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --tracking-normal: 0em;
  --spacing: 0.25rem;

  /* Automatically computed borders - intensity can be controlled by the user by the --opaque-button-border-intensity setting */

  /* Fallback for older browsers */
  --sidebar-primary-border: hsl(var(--sidebar-primary));
  --sidebar-accent-border: hsl(var(--sidebar-accent));
  --primary-border: hsl(var(--primary));
  --secondary-border: hsl(var(--secondary));
  --muted-border: hsl(var(--muted));
  --accent-border: hsl(var(--accent));
  --destructive-border: hsl(var(--destructive));
  --hero-title-color: #180B64;
  --hero-highlight-bg: #E1D7FF;
  --hero-highlight-text: #180B64;
  --hero-subtitle-color: #46465C;

  --feature-card-bg: #FFFFFF66;
  --feature-card-border-gradient: linear-gradient(105.21deg, #D6CBFF 3.05%, rgba(255, 255, 255, 0.2) 97.97%);
  --feature-card-shadow: 0px 4px 12px 0px #5B37D126;
  --feature-card-title-color: #100A37;
  --feature-card-description-color: #23232F;
}

.dark {
  --button-outline: rgba(255,255,255, .10);
  --badge-outline: rgba(255,255,255, .05);
  --hero-gradient: radial-gradient(at 80.7% 58.1%, #0A0A0A 0px, transparent 50%),
    radial-gradient(at 28.2% 12.7%, #3E1CB9 0px, transparent 50%),
    radial-gradient(at 78.1% 78.4%, #271378 0px, transparent 50%),
    radial-gradient(at 69.5% 13.1%, #18123F 0px, transparent 50%),
    radial-gradient(at 27.2% 80.9%, #A890F2 0px, transparent 50%) #000000;

  --opaque-button-border-intensity: 9;  /* In terms of percentages */

  /* Backgrounds applied on top of other backgrounds when hovered/active */
  --elevate-1: rgba(255,255,255, .04);
  --elevate-2: rgba(255,255,255, .09);

  --background: 0 0% 0%;

  --foreground: 200 6.6667% 91.1765%;

  --border: 210 5.2632% 14.9020%;

  --card: 228 9.8039% 10%;

  --card-foreground: 0 0% 85.0980%;

  --card-border: 228 9% 13%;

  --sidebar: 228 9.8039% 10%;

  --sidebar-foreground: 0 0% 85.0980%;

  --sidebar-border: 205.7143 15.7895% 26.0784%;

  --sidebar-primary: 202.8169 89.1213% 53.1373%;

  --sidebar-primary-foreground: 0 0% 100%;

  --sidebar-accent: 205.7143 70% 7.8431%;

  --sidebar-accent-foreground: 203.7736 87.6033% 52.5490%;

  --sidebar-ring: 202.8169 89.1213% 53.1373%;

  --popover: 0 0% 0%;

  --popover-foreground: 200 6.6667% 91.1765%;

  --popover-border: 220 8% 8%;

  --primary: 203.7736 87.6033% 52.5490%;

  --primary-foreground: 0 0% 100%;

  --secondary: 195.0000 15.3846% 94.9020%;

  --secondary-foreground: 210 25% 7.8431%;

  --muted: 0 0% 9.4118%;

  --muted-foreground: 210 3.3898% 46.2745%;

  --accent: 205.7143 70% 7.8431%;

  --accent-foreground: 203.7736 87.6033% 52.5490%;

  --destructive: 356.3033 90.5579% 54.3137%;

  --destructive-foreground: 0 0% 100%;

  --input: 207.6923 27.6596% 18.4314%;
  --ring: 202.8169 89.1213% 53.1373%;
  --chart-1: 203.8863 88.2845% 53.1373%;
  --chart-2: 159.7826 100% 36.0784%;
  --chart-3: 42.0290 92.8251% 56.2745%;
  --chart-4: 147.1429 78.5047% 41.9608%;
  --chart-5: 341.4894 75.2000% 50.9804%;

  --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-sm: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-md: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-lg: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
  --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);

  /* Fallback for older browsers */
  --sidebar-primary-border: hsl(var(--sidebar-primary));
  --sidebar-accent-border: hsl(var(--sidebar-accent));
  --primary-border: hsl(var(--primary));
  --secondary-border: hsl(var(--secondary));
  --muted-border: hsl(var(--muted));
  --accent-border: hsl(var(--accent));
  --destructive-border: hsl(var(--destructive));
  --radius: 1.3rem;
  --spacing: 0.25rem;
  --font-mono: Menlo, monospace;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, serif;
  --tracking-normal: 0em;

  --hero-title-color: #F7F7FF;
  --hero-highlight-bg: #271275;
  --hero-highlight-text: #F7F7FF;
  --hero-subtitle-color: #F0ECFF;

  --feature-card-bg: #46465C66;
  --feature-card-border-gradient: linear-gradient(105.21deg, #553DB7 3.05%, rgba(15, 6, 43, 0.2) 97.97%);
  --feature-card-shadow: 0px 4px 12px 0px #00000040;
  --feature-card-title-color: #F7F7FF;
  --feature-card-description-color: #F0ECFF;
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply font-sans antialiased bg-background text-foreground;
  }
}

.landing-footer {
  padding-top: 64px;
}

.landing-footer-copy {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  vertical-align: middle;
  color: #ffffff;
}

.dark .landing-footer-copy {
  color: #f0ecff;
}

.landing-footer-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: middle;
  color: #ffffff;
}

.landing-footer-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: middle;
  color: #ffffff;
  text-decoration: none;
}

.dark .landing-footer-link {
  color: #f0ecff;
}

.landing-footer-link:hover {
  color: #5c3cfc;
  text-decoration: underline;
}

.dark .landing-footer-link:hover {
  color: #b49dff;
}

.landing-footer-link-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.landing-footer-social {
  gap: 16px;
}

.landing-footer-social-mobile {
  gap: 8px;
}

.landing-footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f8f5ff;
}

.landing-footer-social-link--mobile {
  width: 32px;
  height: 32px;
}

.landing-footer-social-icon {
  width: 24px;
  height: 24px;
  color: #7559ff;
}

.landing-footer-social-icon--mobile {
  width: 16px;
  height: 16px;
}

@layer utilities {

  /* iOS Scrolling Optimization */
  /* Improve scrolling performance on iOS devices */
  .ios-scroll {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
  }

  /* Prevent scroll chaining on nested scrollable elements */
  .scroll-container {
    overscroll-behavior: contain;
  }

  /* Smooth momentum scrolling for iOS */
  @supports (-webkit-overflow-scrolling: touch) {
    .overflow-y-auto,
    .overflow-x-auto,
    .overflow-auto {
      -webkit-overflow-scrolling: touch;
    }
  }

  /* Hide ugly search cancel button in Chrome until we can style it properly */
  input[type="search"]::-webkit-search-cancel-button {
    @apply hidden;
  }

  /* Placeholder styling for contentEditable div */
  [contenteditable][data-placeholder]:empty::before {
    content: attr(data-placeholder);
    color: hsl(var(--muted-foreground));
    pointer-events: none;
  }

  /* Light gray placeholder text for inputs and textareas */
  input::placeholder,
  textarea::placeholder,
  select::placeholder {
    color: hsl(0 0% 60%) !important;
    opacity: 1 !important;
  }

  .dark input::placeholder,
  .dark textarea::placeholder,
  .dark select::placeholder {
    color: hsl(0 0% 45%) !important;
    opacity: 1 !important;
  }

  /* Light gray text for empty select options */
  select option[value=""] {
    color: hsl(0 0% 60%);
  }

  .dark select option[value=""] {
    color: hsl(0 0% 45%);
  }

  .no-default-hover-elevate {}

  .no-default-active-elevate {}

  .toggle-elevate::before,
  .toggle-elevate-2::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0px;
    border-radius: inherit;
    z-index: -1;
  }

  .toggle-elevate.toggle-elevated::before {
    background-color: var(--elevate-2);
  }

  .border.toggle-elevate::before {
    inset: -1px;
  }

  .hover-elevate:not(.no-default-hover-elevate),
  .active-elevate:not(.no-default-active-elevate),
  .hover-elevate-2:not(.no-default-hover-elevate),
  .active-elevate-2:not(.no-default-active-elevate) {
    position: relative;
    z-index: 0;
  }

  .hover-elevate:not(.no-default-hover-elevate)::after,
  .active-elevate:not(.no-default-active-elevate)::after,
  .hover-elevate-2:not(.no-default-hover-elevate)::after,
  .active-elevate-2:not(.no-default-active-elevate)::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0px;
    border-radius: inherit;
    z-index: 999;
  }

  .hover-elevate:hover:not(.no-default-hover-elevate)::after,
  .active-elevate:active:not(.no-default-active-elevate)::after {
    background-color: var(--elevate-1);
  }

  .hover-elevate-2:hover:not(.no-default-hover-elevate)::after,
  .active-elevate-2:active:not(.no-default-active-elevate)::after {
    background-color: var(--elevate-2);
  }

  .border.hover-elevate:not(.no-hover-interaction-elevate)::after,
  .border.active-elevate:not(.no-active-interaction-elevate)::after,
  .border.hover-elevate-2:not(.no-hover-interaction-elevate)::after,
  .border.active-elevate-2:not(.no-active-interaction-elevate)::after,
  .border.hover-elevate:not(.no-hover-interaction-elevate)::after {
    inset: -1px;
  }

  /* TeGem Landing Styles */
  
  /* Prevent horizontal scroll from aurora background */
  html, body {
    overflow-x: clip;
    width: 100%;
  }
  
  #root {
    min-height: 100vh;
    width: 100%;
  }

  /* Aurora Background */
  .aurora {
    position: fixed;
    top: -30%;
    left: -15%;
    right: -15%;
    bottom: -30%;
    z-index: 0;
    filter: blur(80px);
    pointer-events: none;
  }

  .aurora::before,
  .aurora::after {
    content: "";
    position: absolute;
    inset: 0;
  }

  .aurora::before {
    background: 
      radial-gradient(ellipse 1000px 800px at 25% 35%, rgba(108, 99, 255, 0.5) 0%, rgba(108, 99, 255, 0.15) 40%, transparent 70%),
      radial-gradient(ellipse 900px 700px at 75% 25%, rgba(0, 224, 255, 0.45) 0%, rgba(0, 224, 255, 0.1) 40%, transparent 70%);
    animation: aurora-drift-1 8s ease-in-out infinite;
    will-change: opacity;
  }

  .aurora::after {
    background: 
      radial-gradient(ellipse 1100px 900px at 50% 75%, rgba(154, 140, 255, 0.4) 0%, rgba(154, 140, 255, 0.08) 45%, transparent 75%),
      radial-gradient(ellipse 800px 600px at 30% 50%, rgba(108, 99, 255, 0.35) 0%, transparent 65%);
    animation: aurora-drift-2 10s ease-in-out infinite 1s;
    will-change: opacity;
  }

  @keyframes aurora-drift-1 {
    0%, 100% { 
      opacity: 1;
    }
    50% { 
      opacity: 0.3;
    }
  }

  @keyframes aurora-drift-2 {
    0%, 100% { 
      opacity: 0.8;
    }
    50% { 
      opacity: 0.4;
    }
  }

  /* Reveal Animation */
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.48s cubic-bezier(0.22, 0.61, 0.36, 1), 
                transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .reveal.show {
    opacity: 1;
    transform: none;
  }

  /* Animated Gradient Title */
  .hero-title {
    background: linear-gradient(
      90deg,
      #6C63FF 0%,
      #00E0FF 25%,
      #9A8CFF 50%,
      #00E0FF 75%,
      #6C63FF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
  }

  @keyframes gradient-shift {
    0%, 100% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
  }

  /* CTA Pulse */
  .cta-pulse {
    box-shadow: 0 0 0 0 rgba(0, 224, 255, 0.45);
    animation: pulse 5s ease-out infinite;
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 224, 255, 0.45); }
    70% { box-shadow: 0 0 0 24px rgba(0, 224, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 224, 255, 0); }
  }

  /* 3D Tilt Card */
  .tilt-card-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tilt-card {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(135deg, #6C63FF, #00E0FF);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.4), 0 10px 30px rgba(0, 224, 255, 0.3);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    animation: tilt-card-appear 1s ease-out;
  }

  .tilt-card:hover {
    box-shadow: 0 30px 80px rgba(108, 99, 255, 0.5), 0 15px 40px rgba(0, 224, 255, 0.4);
  }

  @keyframes tilt-card-appear {
    from {
      opacity: 0;
      transform: perspective(1000px) translateY(50px) rotateX(20deg);
    }
    to {
      opacity: 1;
      transform: perspective(1000px) translateY(0) rotateX(0deg);
    }
  }

  /* Small 3D Tilt Card for Features Section */
  .tilt-card-container-small {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tilt-card-small {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #6C63FF, #00E0FF);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3), 0 5px 15px rgba(0, 224, 255, 0.2);
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    animation: tilt-card-appear-small 0.8s ease-out;
  }

  .tilt-card-small:hover {
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4), 0 8px 20px rgba(0, 224, 255, 0.3);
  }

  @keyframes tilt-card-appear-small {
    from {
      opacity: 0;
      transform: perspective(1000px) translateY(30px) rotateX(10deg);
    }
    to {
      opacity: 1;
      transform: perspective(1000px) translateY(0) rotateX(0deg);
    }
  }

  /* Animated Gradient Background for Features Section */
  .features-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
      hsl(var(--primary) / 0.05) 0%, 
      hsl(200 100% 50% / 0.05) 50%,
      hsl(var(--primary) / 0.05) 100%
    );
    background-size: 200% 200%;
    animation: gradient-shift-bg 8s ease infinite;
    z-index: 0;
  }

  @keyframes gradient-shift-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  /* Shimmer Text Effect */
  .shimmer-text {
    background: linear-gradient(
      90deg,
      hsl(var(--foreground)) 0%,
      hsl(var(--primary)) 25%,
      hsl(200 100% 50%) 50%,
      hsl(var(--primary)) 75%,
      hsl(var(--foreground)) 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
  }

  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* Compact Feature Card Hover Effects */
  .feature-card-compact {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
  }

  .feature-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 12px 24px rgba(108, 99, 255, 0.2),
      0 6px 12px rgba(0, 224, 255, 0.15);
  }

  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .aurora,
    .hero-title,
    .reveal,
    .cta-pulse,
    .shimmer-text,
    .features-gradient-bg {
      animation: none !important;
      transition: none !important;
    }
    .reveal {
      opacity: 1;
      transform: none;
    }
    .hero-title {
      background-position: 0% center;
    }
    .tilt-card,
    .tilt-card-small {
      animation: none;
      transform: none !important;
    }
    .shimmer-text {
      background: hsl(var(--foreground));
      -webkit-text-fill-color: hsl(var(--foreground));
    }
    .feature-card-compact:hover {
      transform: none;
    }
  }

   @layer components {
    /* Hero Title Styles */
    .hero-title {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 4px;
      text-align: center;
      padding: 0 1rem;
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1;
    }

    @media (min-width: 1024px) {
      .hero-title {
        max-width: 1000px;
        margin: 0 auto;
        display: -webkit-box;
        overflow: hidden;
      }
    }

    .hero-title-text {
      font-size: 32px;
      line-height: 1;
      color: var(--hero-title-color, #180b64);
      background: none !important;
      -webkit-text-fill-color: var(--hero-title-color, #180b64) !important;
    }

    @media (min-width: 768px) {
      .hero-title-text,
      .hero-highlight-text {
        font-size: 60px;
        line-height: 1;
      }
    }

    .hero-highlight {
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      margin: 0 4px;
      border-radius: 12px;
      height: 69px;
      gap: 10px;
      white-space: nowrap;
      background-color: var(--hero-highlight-bg, #e1d7ff);
    }

    .hero-highlight-text {
      font-size: var(--hero-highlight-font-size, 48px);
      color: var(--hero-highlight-text, #180b64);
      background: none !important;
      -webkit-text-fill-color: var(--hero-highlight-text, #180b64) !important;
    }

    /* Mobile */
    @media (max-width: 1023px) {
      .hero-highlight {
        height: 45px; 
        padding: 6px 10px;
        gap: 8px; 
      }

      .hero-title {
        padding: 0; 
      }
    }

    .hero-subtitle {
      font-weight: 500;
      font-size: 16px;
      line-height: 26px;
      letter-spacing: 0;
      text-align: center;
      max-width: 64rem;
      margin: 0 auto;
      padding: 0 1rem;
      color: var(--hero-subtitle-color, #46465c);
    }

    @media (min-width: 768px) {
      .hero-subtitle {
        font-size: 20px;
        line-height: 32px;
      }
    }

    /* Hero CTA Buttons Styles */
    .hero-cta-button {
      font-weight: 600;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
      height: 60px;
      min-width: 125px;
      padding: 16px 24px;
      border-radius: 1000px;
      gap: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
      outline: none;
      position: relative;
      overflow: hidden;
      white-space: nowrap;
    }

    .hero-cta-button-primary {
      background: linear-gradient(85.93deg, #7f59e7 0%, #5121e5 100%);
      box-shadow: 0px 4px 12px 0px #5b37d126;
      color: #ffffff;
    }

    .hero-cta-button-primary:hover {
      background: linear-gradient(85.93deg, #5121e5 0%, #7f59e7 100%);
      box-shadow: 0px 4px 16px 0px #5b37d16e;
    }

    :root .hero-cta-button-secondary {
      background: #ffffff;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      color: #5121E5;
    }

    :root .hero-cta-button-secondary:hover {
      background: #f7f7ff;
      box-shadow: 0px 4px 16px 0px #5b37d16e;
    }

    .dark .hero-cta-button-secondary {
      background: #7f59e74d;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      color: #ffffff;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .dark .hero-cta-button-secondary:hover {
      background: #7f59e74d;
      box-shadow: 0px 4px 16px 0px #5b37d16e;
      box-shadow: 0px 4px 16px 0px #5b37d16e;
    }

    .dark .hero-cta-button-secondary::after {
      content: "";
      position: absolute;
      inset: 0;
      padding: 1px;
      border-radius: inherit;
      background: linear-gradient(
        105.21deg,
        #3e1cb9 3.05%,
        rgba(180, 157, 255, 0.5) 97.97%
      );
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .hero-cta-button * {
      position: relative;
      z-index: 1;
    }

    .hero-cta-button::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.1);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: inherit;
    }

    .hero-cta-button:hover::before {
      opacity: 1;
    }

    @media (max-width: 768px) {
      .hero-cta-button {
        font-size: 14px;
        height: 44px;
        padding: 12px 20px;
        min-width: 110px;
      }
    }

    /* Stats Styles */
    .stats-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      max-width: 800px;
      margin: 1.5rem auto;
      padding: 0 1rem;
      position: relative;
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      text-align: center;
      position: relative;
    }

    .stat-item:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 50%;
      right: -0.5rem;
      transform: translateY(-50%);
      width: 1px;
      height: 100%;
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(160, 160, 200, 0.3) 0%,
        rgba(160, 160, 200, 0.6) 50%,
        rgba(160, 160, 200, 0.3) 90%,
        transparent 100%
      );
    }

    .dark .stat-item:not(:last-child)::after {
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(240, 236, 255, 0.3) 0%,
        rgba(240, 236, 255, 0.6) 50%,
        rgba(240, 236, 255, 0.3) 90%,
        transparent 100%
      );
    }

    .stat-number {
      font-weight: 700;
      font-style: normal;
      font-size: 24px;
      line-height: 150%;
      letter-spacing: 0;
      text-align: center;
      background: #7559ff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .dark .stat-number {
      background: #7f59e7;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-label {
      font-weight: 400;
      font-style: normal;
      font-size: 14px;
      line-height: 110%;
      letter-spacing: 0;
      text-align: center;
      background: linear-gradient(0deg, #a4a4c9, #a4a4c9),
        linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .dark .stat-label {
      background: #f0ecff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (min-width: 1024px) {
      .stats-container {
        gap: 0.25rem;
        margin: 0.5rem auto;
        max-width: 800px;
      }

      .stat-item:not(:last-child)::after {
        right: -1rem;
        height: 85%;
      }

      .stat-item {
        gap: 0.375rem;
      }

      .stat-number {
        font-size: 28px;
      }

      .stat-label {
        font-size: 16px;
      }
    }

    /* Feature Card Styles */
    .feature-card {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px;
      align-items: flex-start;
      padding: 24px;
      border-radius: 16px;
      width: 100%;
      min-width: 0;
      margin: 0 auto;
      backdrop-filter: blur(12.06px);
      position: relative;
      border: 1px solid transparent;
      background: #ffffff66;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      --feature-card-border-gradient: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
    }

    .feature-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: 16px;
      padding: 1px;
      background: var(--feature-card-border-gradient);
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .feature-card {
      background: #46465c66;
      box-shadow: 0px 4px 12px 0px #00000040;
      --feature-card-border-gradient: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .feature-card-icon-container {
      width: 32px;
      height: 32px;
      position: relative;
      flex-shrink: 0;
    }

    .feature-card-icon-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #5a7efa 0%, #8d55fd 100%);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-size: contain;
      mask-size: contain;
      border-radius: 4px;
    }

    .feature-card-icon-wrapper {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .feature-card-icon-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: brightness(0) saturate(100%) invert(27%) sepia(85%)
        saturate(4647%) hue-rotate(238deg) brightness(98%) contrast(91%);
    }

    .feature-card-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
    }

    .feature-card-title {
      font-weight: 700;
      font-size: 24px;
      line-height: 130%;
      letter-spacing: 0;
      margin: 0;
      background: #100a37;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .dark .feature-card-title {
      background: #f7f7ff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .feature-card-description {
      font-weight: 500;
      font-size: 16px;
      line-height: 150%;
      letter-spacing: 0;
      margin: 0;
      background: #23232f;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .dark .feature-card-description {
      background: #f0ecff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 1024px) {
      .feature-card {
        padding: 20px;
        gap: 10px;
        max-width: 100%;
      }

      .feature-card-icon {
        width: 28px;
        height: 28px;
      }

      .feature-card-icon svg {
        width: 28px;
        height: 28px;
      }

      .feature-card-title {
        font-size: 20px;
      }

      .feature-card-description {
        font-size: 14px;
      }
    }

    /* WhySection Cards */
    .why-card {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      border-radius: 24px;
      padding: 32px 24px;
      opacity: 1;
      position: relative;
      width: 100%;
      box-sizing: border-box;

      background-origin: border-box;
      background-clip: padding-box, border-box;
      border: double 1px transparent;
    }

    .why-card-first {
      box-shadow: 0px 4px 12px 0px #5b37d126;
      background: linear-gradient(#23232f, #23232f) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
    }

    .dark .why-card-first {
      background: linear-gradient(#c4c4df, #c4c4df) padding-box,
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%)
          border-box;
    }

    .why-card-middle {
      border-width: 1px;
      background: linear-gradient(#f0ecff, #f0ecff) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
      box-shadow: 0px 4px 12px 0px #5b37d126;
    }

    .dark .why-card-middle {
      background: linear-gradient(#28224b, #28224b) padding-box,
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%)
          border-box;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .why-card-last {
      background: linear-gradient(#7559ff, #7559ff) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
      border: 1px solid transparent;
      border-radius: 24px;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      background-origin: border-box;
      background-clip: padding-box, border-box;
    }

    .dark .why-card-last {
      background: #7559ff;
      border: 1px solid #7559ff;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .why-card-icon-wrapper {
      width: 68px;
      height: 68px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 1;
      margin-bottom: 30px;
    }

    .why-card-icon {
      width: 30px;
      height: 30px;
      object-fit: contain;
    }

    .why-card-first .why-card-icon-wrapper {
      background: #ffffff40;
      box-shadow: 0px 3px 4px 0px #0f09313b inset;
    }

    .why-card-first .why-card-icon {
      filter: brightness(0) invert(1);
    }

    .dark .why-card-first .why-card-icon-wrapper {
      background: #ffffff40;
      box-shadow: 0px 3px 4px 0px #0f09313b inset;
    }

    .dark .why-card-first .why-card-icon {
      filter: brightness(0) saturate(100%) invert(11%) sepia(11%)
        hue-rotate(314deg) brightness(94%) contrast(92%); 
    }

    .why-card-middle .why-card-icon-wrapper {
      background: #ffffffb2;
      box-shadow: 0px 3px 4px 0px #6041ff3b inset;
    }

    .why-card-middle .why-card-icon {
      filter: brightness(0) saturate(100%) invert(11%) sepia(11%)
        hue-rotate(314deg) brightness(94%) contrast(92%);
    }

    .dark .why-card-middle .why-card-icon-wrapper {
      background: #110b3066;
      box-shadow: 0px 3px 4px 0px #0000003b inset;
    }

    .dark .why-card-middle .why-card-icon {
      filter: brightness(0) invert(1);
    }

    .why-card-last .why-card-icon-wrapper {
      background: #f0ecff40;
      box-shadow: 0px 3px 4px 0px #6041ff3b inset;
    }

    .why-card-last .why-card-icon {
      filter: brightness(0) invert(1);
      opacity: 0.98;
    }

    .why-card-title {
      font-size: 24px;
      font-weight: 700;
      line-height: 130%;
      margin-bottom: 6px;
    }

    .why-card-text {
      font-size: 16px;
      font-weight: 500;
      line-height: 150%;
    }

    .why-card-first .why-card-title {
      color: #f7f7ff;
    }
    .why-card-first .why-card-text {
      color: #f0ecff;
    }
    .why-card-middle .why-card-title {
      color: #100a37;
    }
    .why-card-middle .why-card-text {
      color: #46465c;
    }

    .dark .why-card-first .why-card-title {
      color: #09090B;
    }
    .dark .why-card-middle .why-card-title {
      color: #f7f7ff;
    }
    .dark .why-card-first .why-card-text {
      color: #23232F;
    }
    .dark .why-card-middle .why-card-text {
      color: #ebe4ff;
    }

    .why-card-last .why-card-title,
    .why-card-last .why-card-text {
      color: #ffffff;
    }

    .why-card-last .why-card-text {
      opacity: 0.9;
    }

    @media (max-width: 1024px) {
      .why-card {
        
        padding: 24px 20px;
      }

      .why-card-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
      }

      .why-card-icon {
        width: 20px;
        height: 42px;
      }

      .why-card-title {
        font-size: 20px;
        margin-bottom: 4px;
      }

      .why-card-text {
        font-size: 14px;
      }
    }
   
    /* Monetize Section Styles */
    .monetize-card-container {
      width: 518px;
      opacity: 1;
      box-shadow: 0px 4px 12px 0px #5b37d16e;
      border-radius: 32px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .dark .monetize-card-container {
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .monetize-card-container:hover {
      transform: translateY(-4px);
    }

    .monetize-card-top {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 32px 24px;
      border-top-left-radius: 32px;
      border-top-right-radius: 32px;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      flex: 1;
      position: relative;
      background: #f0ecff;
      --card-top-border-gradient: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
    }

    .monetize-card-top::before {
      content: "";
      position: absolute;
      inset: 0;
      border-top-left-radius: 32px;
      border-top-right-radius: 32px;
      padding: 1.1px;
      background: var(--card-top-border-gradient);
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .monetize-card-top {
      background: #28224b;
      --card-top-border-gradient: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .monetize-card-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .monetize-card-key {
      border-radius: 1000px;
      padding: 8px 12px;
      background: #dfd5ff;
      box-shadow: inset 0px 3px 4px 0px rgba(96, 65, 255, 0.23);
      opacity: 1;
      width: fit-content;
      display: flex;
      gap: 10px;
    }

    .monetize-card-key-icon {
      width: 16px;
      height: 16px;
      filter: invert(30%) sepia(95%) saturate(750%) hue-rotate(230deg)
        brightness(90%) contrast(90%);
    }

    .monetize-card-key-text {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.2;
      color: #7559ff;
    }

    .dark .monetize-card-key-text {
      color: #180b64;
    }

    .dark .monetize-card-key-icon {
      filter: invert(10%) sepia(90%) saturate(1500%) hue-rotate(250deg)
        brightness(40%) contrast(100%);
    }

    .monetize-card-title {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.2;
      color: #100a37;
      margin: 0;
      margin-top: 8px;
    }

    .dark .monetize-card-title {
      color: #f7f7ff;
    }

    .monetize-card-subtitle {
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      color: #46465c;
      margin: 0;
    }

    .dark .monetize-card-subtitle {
      color: #ebe4ff;
    }

    .monetize-card-elements {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }

    .monetize-element {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 4px 12px;
      position: relative;
      background: #f8f5ff;
      border-radius: 9px;
      overflow: hidden;
    }

    .monetize-element::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 9px;
      padding: 1.2px;
      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .monetize-element {
      background: #0e052a;
    }

    .dark .monetize-element::before {
      background: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
      padding: 1.2px;
    }

    .monetize-element-icon-wrapper {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .monetize-element-icon-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #5a7efa 0%, #8d55fd 100%);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-size: 70%;
      mask-size: 70%;
    }

    .monetize-element-text {
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0;
      color: #23232f;
    }

    .dark .monetize-element-text {
      color: #f7f7ff;
    }

    .monetize-card-stats {
      display: flex;
      align-items: center;
      padding-top: 10px;
      border-color: rgba(214, 203, 255, 0.3);
    }

    .dark .monetize-card-stats {
      border-color: rgba(85, 61, 183, 0.3);
    }

    .monetize-stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex: 1;
      text-align: center;
      padding: 0 8px;
    }

    .monetize-stat-number {
      font-size: 24px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 4px;
      color: #7559ff;
    }

    .monetize-stat-label {
      font-size: 14px;
      font-weight: 400;
      line-height: 1.5;
      color: #666686;
    }

    .dark .monetize-stat-label {
      color: #f0ecff;
    }

    .monetize-stat-divider {
      width: 1.2px;
      height: 55px;
      background: #dcdcef;
    }

    .monetize-card-bottom {
      width: 518px;
      height: 86px;
      background: #7559ff;
      border-bottom-left-radius: 32px;
      border-bottom-right-radius: 32px;
      padding: 24px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .monetize-bottom-stat {
      display: flex;
      align-items: baseline;
      gap: 12px;
      text-align: left;
      width: 100%;
    }

    .monetize-bottom-stat-value {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.2;
      color: #f8f5ff;
      white-space: nowrap;
    }

    .monetize-bottom-stat-label {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
      color: #f8f5ff;
      opacity: 0.9;
    }

    @media (max-width: 1024px) {
      .monetize-card-container {
        width: 100%;
        height: auto;
        margin: 0 auto;
      }

      .monetize-card-top {
        width: 100%;
        height: auto;
        padding: 24px 20px;
      }

      .monetize-card-bottom {
        width: 100%;
        height: auto;
        padding: 20px;
      }

      .monetize-card-title {
        font-size: 20px;
        margin-bottom: 2px;
      }

      .monetize-card-subtitle {
        font-size: 16px;
      }

      .monetize-element-text {
        font-size: 16px;
      }

      .monetize-card-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }

      .monetize-stat-value {
        font-size: 20px;
      }

      .monetize-stat-label {
        font-size: 10px;
      }

      .monetize-bottom-stat-value {
        font-size: 26px;
      }

      .monetize-bottom-stat-label {
        font-size: 14px;
      }
    }

    /* Feedback Card Styles */
    .feedback-card {
      width: 520px;
      border-radius: 24px;
      opacity: 1;
      display: flex;
      flex-direction: column;
      gap: 7px;
      padding: 24px;
      backdrop-filter: blur(12.06px);
      box-sizing: border-box;
      background: #ffffff66;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      position: relative;
      overflow: hidden;
      --feedback-border-gradient: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
    }

    .feedback-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1.1px;
      background: var(--feedback-border-gradient);
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .feedback-card {
      background: #46465c66;
      --feedback-border-gradient: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .feedback-card-top {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
    }

    .feedback-card-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: inset 0px 3px 4px 0px rgba(96, 65, 255, 0.23);
      position: relative;
      background: transparent;
    }

    .feedback-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .feedback-card-info {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1;
    }

    .feedback-card-name {
      font-size: 16px;
      font-weight: 700;
      margin: 0;
      color: #100a37;
    }

    .dark .feedback-card-name {
      color: #f7f7ff;
    }

    .feedback-star {
      width: 20px;
      height: 20px;
      color: #ffc107;
      fill: currentColor;
    }

    .feedback-card-bottom {
      width: 100%;
      margin-top: 7px;
    }

    .feedback-card-text {
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 6;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-word;
      color: #46465c;
    }

    .dark .feedback-card-text {
      color: #ebe4ff;
    }

    .feedback-card-rating {
      display: flex;
      gap: 4px;
      position: relative;
    }

    .feedback-star-wrapper {
      position: relative;
      width: 20px;
      height: 20px;
    }

    .feedback-star-empty {
      width: 20px;
      height: 20px;
      color: #c4c4df;
    }

    .dark .feedback-star-empty {
      color: #a4a4c9;
    }

    .feedback-star-filled {
      position: absolute;
      top: 0;
      left: 0;
      overflow: hidden;
      height: 100%;
      filter: drop-shadow(0px 0px 4px #ffd900);
    }

    .feedback-star-filled-icon {
      width: 20px;
      height: 20px;
      color: #ffb847;
    }

    .infinite-scroll-container {
      width: 100%;
      overflow: hidden;
      padding: 20px 0;
      margin: 0 auto;
    }

    .infinite-scroll-track {
      display: flex;
      gap: 28px;
      animation: scroll-left 40s linear infinite;
      width: max-content;
    }

    .infinite-scroll-track-mobile {
      display: flex;
      gap: 16px;
      animation: scroll-left 40s linear infinite;
      width: max-content;
    }

    .infinite-scroll-item {
      flex-shrink: 0;
    }

    .infinite-scroll-container-mobile {
      width: 100%;
      overflow: hidden;
      padding: 20px 0;
    }

    .infinite-scroll-track-mobile {
      display: flex;
      gap: 16px;
      width: max-content;
      animation: scroll-left 40s linear infinite;
    }

    .infinite-scroll-item-mobile {
      flex-shrink: 0;
      width: 280px;
      min-width: 280px;
    }

    .infinite-scroll-container:hover .infinite-scroll-track {
      animation-play-state: paused;
    }

    .infinite-scroll-container-mobile:active .infinite-scroll-track-mobile {
      animation-play-state: paused;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 1024px) {
      .feedback-card {
        width: 100%;
        min-width: 280px;
        max-width: 400px;
        padding: 20px;
      }

      .feedback-card-avatar {
        width: 56px;
        height: 56px;
      }

      .feedback-card-name {
        font-size: 16px;
      }

      .feedback-card-text {
        font-size: 13px;
        -webkit-line-clamp: 10;
      }

      .feedback-star {
        width: 14px;
        height: 14px;
      }
      .feedback-star-wrapper,
      .feedback-star-empty,
      .feedback-star-filled-icon {
        width: 14px;
        height: 14px;
      }
    }

    /* Blog Card */
    .blog-card {
      position: relative;
      box-sizing: border-box;
      width: 100%;
      max-width: 780px;
      margin: 0 auto;

      height: 330px;

      padding: 24px;
      border-radius: 24px;
      border: 0.92px solid transparent;

      background: #f0ecff;
      box-shadow: 0px 4px 12px 0px #5b37d126;

      display: flex;
      flex-direction: column;
      gap: 24px;

      backface-visibility: hidden;
      transform-origin: center;
      will-change: transform, opacity;
    }

    .blog-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 0.92px;

      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );

      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%),
        linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;

      pointer-events: none;
    }

    .dark .blog-card {
      background: #28224b;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .dark .blog-card::before {
      background: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .blog-card-main {
      transform: scale(1);
      z-index: 20;
      animation: fadeScaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .blog-card-side {
      transform: scale(0.8);
      opacity: 0.7;
      filter: blur(1px);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform, opacity, filter;
    }

    .blog-card-side.slide-left {
      animation: slideFromRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .blog-card-side.slide-right {
      animation: slideFromLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slide-transition {
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slide-exit {
      animation: fadeScaleOut 0.3s ease-out;
    }

    .slide-enter {
      animation: fadeScaleIn 0.5s ease-out 0.2s both;
    }

    .blog-card-image {
      width: 100%;
      height: 168px;
      border-radius: 16px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .blog-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
    }

    .blog-card-content {
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 16px;
      min-height: 0;
    }

    .blog-card-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.2;

      margin: 0;
      text-align: left;
      color: #23232f;
    }

    .dark .blog-card-title {
      color: #f7f7ff;
    }

    .blog-card-description-container {
      flex: 1;
      overflow: hidden;
      min-height: 0;
    }

    .blog-card-description {
      font-size: 16px;
      font-weight: 500;
      margin: 0;
      word-break: break-word;
      color: #23232f;
    }

    .dark .blog-card-description {
      color: #ebe4ff;
    }

    .blog-card-footer {
      margin-top: auto;
      flex-shrink: 0;
      text-align: right;
    }

    .blog-card-link {
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s ease;
      color: #7559ff;
      text-decoration: underline;
    }

    .dark .blog-card-link {
      color: #8d55fd;
    }

    .blog-card-link:hover {
      opacity: 0.6;
    }

    .slider-navigation-container {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      width: 100%;
    }

    .slider-navigation {
      display: flex;
      align-items: center;
      gap: 32px;
      justify-content: center;
    }

    .slider-nav-button {
      width: 56px;
      height: 56px;
      border-radius: 100px;
      opacity: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      flex-shrink: 0;
      background: #ffffff;
      box-shadow: 3.46px 4.62px 34.64px 0px rgba(123, 123, 179, 0.2);
      transform-origin: center;
    }

    .dark .slider-nav-button {
      background: #381c9a;
      box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.4);
    }

    .slider-nav-button:hover:not(:disabled) {
      transform: scale(1.05);
    }

    .slider-nav-button:active:not(:disabled) {
      transform: scale(0.95);
    }

    .slider-nav-button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .slider-nav-icon {
      width: 24px;
      height: 24px;
      color: #46465c;
    }

    .dark .slider-nav-icon {
      color: #f7f7ff;
    }

    .slider-progress {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .progress-dot {
      width: 24px;
      height: 4px;
      border-radius: 100px;
      opacity: 1;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .progress-dot.active {
      background: #9b7efb;
      animation: pulseDot 2s infinite;
    }

    .progress-dot.inactive {
      background: #c4c4df;
    }

    .dark .progress-dot.inactive {
      background: #46465c;
    }

    @keyframes pulseDot {
      0%,
      100% {
        opacity: 1;
      }
      50% {
        opacity: 0.7;
      }
    }

    @keyframes slideFromRight {
      from {
        transform: translateX(100%);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideFromLeft {
      from {
        transform: translateX(-100%);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideToRight {
      from {
        transform: translateX(0);
        opacity: 1;
      }
      to {
        transform: translateX(100%);
        opacity: 0;
      }
    }

    @keyframes slideToLeft {
      from {
        transform: translateX(0);
        opacity: 1;
      }
      to {
        transform: translateX(-100%);
        opacity: 0;
      }
    }

    @keyframes fadeScaleIn {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes fadeScaleOut {
      from {
        opacity: 1;
        transform: scale(1);
      }
      to {
        opacity: 0;
        transform: scale(0.9);
      }
    }

    @media (min-width: 1024px) {
      .blog-card-desktop-layout {
        display: flex;
        flex: 1;
        gap: 24px;
        min-height: 0;
      }

      .blog-card-image-desktop {
        width: 35%;
        border-radius: 16px;
        overflow: hidden;
        flex-shrink: 0;
      }

      .blog-image-desktop {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
      }

      .blog-card-content-desktop {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 0;
      }
    }

    @media (max-width: 1023px) {
      .blog-card {
        padding: 20px;
        gap: 20px;
        width: 90%;
        height: 445px;
      }

      .blog-card-image {
        height: 150px;
      }

      .blog-card-title {
        font-size: 20px;
      }

      .blog-card-description {
        font-size: 14px;
        -webkit-line-clamp: 15;
      }

      .blog-card-link {
        font-size: 14px;
      }

      .blog-card-side {
        display: none;
      }

      .slider-navigation {
        gap: 12px;
      }

      .slider-nav-button {
        width: 48px;
        height: 48px;
      }

      .slider-nav-icon {
        width: 20px;
        height: 20px;
      }

      .slider-progress {
        gap: 4px;
      }

      .progress-dot {
        width: 20px;
        height: 4px;
      }
    }

    /* WhoTeGemFor */
    .tegem-card {
      width: 410px;
      height: auto;
      max-width: 100%;
      padding: 45px 24px 32px 24px;
      border-radius: 24px;
      position: relative;
      background: #f0ecff;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      border: 1px solid transparent;
    }

    .dark .tegem-card {
      background: #28224b;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .tegem-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1px;
      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .tegem-card::before {
      background: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .tegem-icon-circle {
      width: 68px;
      height: 68px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      background: #ffffff;
      box-shadow: inset 0px 3px 4px 0px #6041ff3b, 0px 4px 12px 0px #5b37d126;
      top: -34px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    .dark .tegem-icon-circle {
      box-shadow: inset 0px 3px 4px 0px #6041ff3b, 0px 4px 12px 0px #00000040;
    }

    .tegem-icon-svg {
      width: 40px;
      height: 40px;
    }

    .tegem-icon-mask {
      width: 28px;
      height: 28px;
      background: linear-gradient(90deg, #5a7efa 0%, #8d55fd 100%);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-position: center;
      mask-position: center;
    }

    .dark .tegem-icon-mask {
      background: #100a37;
    }

    .tegem-card-title {
      font-size: 24px;
      font-weight: 700;
      line-height: 1.2;
      text-align: center;
      color: #180b64;
      margin-bottom: 8px;
    }

    .dark .tegem-card-title {
      color: #f7f7ff;
    }

    .tegem-card-description {
      font-weight: 500;
      font-size: 16px;
      line-height: 1.5;
      text-align: left;
      color: #666686;
      margin-bottom: 8px;
    }

    .dark .tegem-card-description {
      color: #ebe4ff;
    }

    .tegem-learn-more {
      font-weight: 500;
      font-size: 16px;
      line-height: 120%;
      text-align: right;
      color: #5121e5;
      margin-top: auto;
      margin-left: auto;
      position: relative;
      text-decoration: underline;
    }

    .tegem-learn-more:hover {
      opacity: 0.6;
    }

    .dark .tegem-learn-more {
      color: #9b7efb;
    }

    @media (max-width: 1024px) {
      .tegem-card-title {
        font-size: 1.75rem;
      }
      .tegem-card-description {
        font-size: 1.125rem;
      }
      .tegem-icon-circle {
        width: 48px;
        height: 48px;
      }
      .tegem-icon-svg {
        width: 20px;
        height: 20px;
      }
    }

    /* StrapiWhySection */
    .strapi-why-cards-container {
      display: grid;
      grid-template-columns: repeat(var(--cards-per-row, 3), 1fr);
      gap: 24px;
      width: 100%;
      justify-items: center;
      justify-content: center;
    }

    .strapi-card {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 24px;
      border-radius: 24px;
      padding: 32px 24px;
      position: relative;
      width: 100%;
      box-sizing: border-box;
      border: double 1px transparent;
      transition: all 0.3s ease;
      background-origin: border-box;
      background-clip: padding-box, border-box;
      border: 1px solid transparent;
      box-shadow: 0px 4px 12px 0px #5b37d126;
    }

    .strapi-card-first {
      background: linear-gradient(#23232f, #23232f) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
    }

    .strapi-card-middle {
      border-width: 1px;
      background: linear-gradient(#f0ecff, #f0ecff) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
    }

    .strapi-card-last {
      background: linear-gradient(#7559ff, #7559ff) padding-box,
        linear-gradient(
            105.21deg,
            #d6cbff 3.05%,
            rgba(255, 255, 255, 0.2) 97.97%
          )
          border-box;
    }

    .dark .strapi-card-first {
      background: linear-gradient(#c4c4df, #c4c4df) padding-box,
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%)
          border-box;
    }

    .dark .strapi-card-middle {
      background: linear-gradient(#28224b, #28224b) padding-box,
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%)
          border-box;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .dark .strapi-card-last {
      background: #7559ff;
      border: 1px solid #7559ff;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .strapi-why-icon-wrapper {
      width: 68px;
      height: 68px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 1;
    }

    .strapi-why-icon {
      width: 32px;
      height: 32px;
      object-fit: contain;
    }

    .strapi-card-first .strapi-why-icon-wrapper {
      background: #ffffff40;
      box-shadow: 0px 3px 4px 0px #0f09313b inset;
    }

    .strapi-card-first .strapi-why-icon {
      filter: brightness(0) invert(1);
    }

    .dark .strapi-card-first .strapi-why-icon-wrapper {
      background: #ffffff40;
      box-shadow: 0px 3px 4px 0px #0f09313b inset;
    }

    .dark .strapi-card-first .strapi-why-icon {
      filter: brightness(0) saturate(100%) invert(11%) sepia(11%)
        hue-rotate(314deg) brightness(94%) contrast(92%);
    }

    .strapi-card-middle .strapi-why-icon-wrapper {
      background: #ffffffb2;
      box-shadow: 0px 3px 4px 0px #6041ff3b inset;
    }

    .strapi-card-middle .strapi-why-icon {
      filter: brightness(0) saturate(100%) invert(11%) sepia(11%)
        hue-rotate(314deg) brightness(94%) contrast(92%);
    }

    .dark .strapi-card-middle .strapi-why-icon-wrapper {
      background: #110b3066;
      box-shadow: 0px 3px 4px 0px #0000003b inset;
    }

    .dark .strapi-card-middle .strapi-why-icon {
      filter: brightness(0) invert(1);
    }

    .strapi-card-last .strapi-why-icon-wrapper {
      background: #f0ecff40;
      box-shadow: 0px 3px 4px 0px #6041ff3b inset;
    }

    .strapi-card-last .strapi-why-icon {
      filter: brightness(0) invert(1);
      opacity: 0.98;
    }

    .strapi-why-card-title {
      font-size: 24px;
      font-weight: 700;
      line-height: 130%;
      margin-bottom: 8px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .strapi-why-card-text {
      font-size: 16px;
      font-weight: 500;
      line-height: 150%;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .strapi-card-first .strapi-why-card-title {
      color: #f7f7ff;
    }

    .strapi-card-first .strapi-why-card-text {
      color: #f0ecff;
    }

    .strapi-card-middle .strapi-why-card-title {
      color: #100a37;
    }

    .strapi-card-middle .strapi-why-card-text {
      color: #46465c;
    }

    .dark .strapi-card-first .strapi-why-card-title {
      color: #09090b;
    }

    .dark .strapi-card-middle .strapi-why-card-title {
      color: #f7f7ff;
    }

    .dark .strapi-card-first .strapi-why-card-text {
      color: #23232f;
    }

    .dark .strapi-card-middle .strapi-why-card-text {
      color: #ebe4ff;
    }

    .strapi-card-last .strapi-why-card-title,
    .strapi-card-last .strapi-why-card-text {
      color: #ffffff;
    }

    .strapi-card-last .strapi-why-card-text {
      opacity: 0.9;
    }

    .strapi-text-container {
      flex: 1;
      min-width: 0;
    }

    @media (max-width: 1024px) {
      .strapi-why-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        max-width: 340px;
      }

      .strapi-why-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .strapi-why-icon-wrapper {
        width: 60px;
        height: 60px;
      }

      .strapi-why-icon {
        width: 28px;
        height: 28px;
      }

      .strapi-why-card-title {
        font-size: 20px;
        margin-bottom: 6px;
      }

      .strapi-why-card-text {
        font-size: 14px;
      }
    }

    /* ForSomeone Cards */
    .for-someone-card {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 8px 16px 8px 8px;
      border-radius: 100px;
      position: relative;
      background: #f8f5ff;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      border: 1.1px solid transparent;
    }

    .dark .for-someone-card {
      background: #28224b;
    }

    .for-someone-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 100px;
      padding: 1.2px;
      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .dark .for-someone-card::before {
      background: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .for-someone-icon-bg {
      width: 40px;
      height: 40px;
      min-width: 40px;
      min-height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #ffffff;
      box-shadow: inset 0px 4px 8.8px 0px #423cb540;
      flex-shrink: 0;
      overflow: hidden;
    }

    .dark .for-someone-icon-bg {
      background: #110b3066;
      box-shadow: inset 0px 3px 4px 0px #0000003b;
    }

    .for-someone-icon-img {
      width: 24px;
      height: 24px;
      object-fit: contain;
      flex-shrink: 0;
      filter: brightness(0) saturate(100%) invert(27%) sepia(85%)
        saturate(4647%) hue-rotate(238deg) brightness(98%) contrast(91%);
    }

    .for-someone-text {
      font-weight: 500;
      font-size: 14px;
      line-height: 1;
      letter-spacing: -0.01em;
      color: #23232f;
    }

    .dark .for-someone-text {
      color: #f7f7ff;
    }

    .for-someone-photo-container {
      position: relative;
      width: 100%;
      max-width: 1312px;
      margin: 0 auto;
      padding: 15px 15px 0 15px;
      background: linear-gradient(
        101.75deg,
        rgba(239, 239, 239, 0.6) 1.74%,
        rgba(239, 239, 239, 0.2) 100%
      );
      backdrop-filter: blur(12px);
      box-shadow: 0px -4px 12px 0px #5b37d126;
      border-top-right-radius: 32px;
      border-top-left-radius: 32px;
      overflow: hidden;
      z-index: 10;
    }

    .for-someone-photo-container::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
      border-top-right-radius: 32px;
      border-top-left-radius: 32px;
      padding: 1.2px;
      -webkit-mask-image: linear-gradient(#fff 0%, #fff 100%), linear-gradient(#fff 0%, #fff 100%);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-origin: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      z-index: 1;
    }

    .for-someone-photo {
      width: 100%;
      height: auto;
      border-top-right-radius: 32px;
      border-top-left-radius: 32px;
      object-fit: cover;
      display: block;
    }

    .for-someone-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 20%;
      margin-bottom: 64px;
      background: linear-gradient(
        180deg,
        rgba(248, 245, 255, 0) 0%,
        rgba(167, 141, 255, 0.6) 100%
      );
      border-bottom-left-radius: 32px;
      border-bottom-right-radius: 32px;
      pointer-events: none;
      z-index: 20;
    }

    .dark .for-someone-overlay {
      background: linear-gradient(180deg, rgba(25, 19, 64, 0) 0%, #332178 100%);
    }

    .for-someone-content {
      max-width: 1312px;
      display: flex;
      flex-direction: column;
      margin: 0 auto;
      gap: 28px;
      width: 100%;
    }

    @media (max-width: 1024px) {
      .for-someone-card {
        padding: 8px;
      }
      .for-someone-icon-bg {
        width: 30px;
        height: 30px;
      }
      .for-someone-text {
        font-size: 12px;
      }
      .for-someone-photo-container {
        margin: 0 auto;
        padding: 8px 8px 0 8px;
        border-top-right-radius: 25px;
        border-top-left-radius: 25px;
      }
      .for-someone-photo-container::before {
        border-top-right-radius: 25px;
        border-top-left-radius: 25px;
      }
      .for-someone-photo {
        width: 100%;
        height: auto;
        border-top-right-radius: 25px;
        border-top-left-radius: 25px;
        object-fit: cover;
        display: block;
      }
      .for-someone-overlay {
        margin-bottom: 40px;
        border-radius: 24px;
      }
      .for-someone-content {
        padding: 0px 10px 0px 10px;
      }
    }

    /* All blogs */
    .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      color: #8181AA;
      pointer-events: none;
      z-index: 10;
    }

    .search-input {
      width: 100%;
      height: 44px;
      padding: 8px 16px 8px 44px;
      border-radius: 12px;
      background: #f7f7ff;
      border: 1px solid #c4c4df;
      color: #46465c;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .search-input::placeholder {
      color: #46465c;
      opacity: 0.6;
    }

    .search-input:hover {
      border: 2px solid #7f59e7;
    }

    .search-input:focus {
      outline: none;
      border: 2px solid #7f59e7;
    }

    .sort-button {
      height: 44px;
      padding: 8px 12px;
      border-radius: 12px;
      background: #f7f7ff;
      border: 1px solid #c4c4df;
      color: #666686;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      transition: all 0.3s ease;
      cursor: pointer;
      white-space: nowrap;
    }

    .sort-button:hover {
      border: 2px solid #7f59e7;
    }

    .sort-button-text {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .sort-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      border-radius: 12px;
      background: #f7f7ff;
      border: 1px solid #c4c4df;
      box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
      z-index: 50;
      overflow: hidden;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .dark .search-input {
      background: #28224b;
      color: #ebe4ff;
      border: 1px solid transparent;
      background-image: linear-gradient(
          105.21deg,
          #28224b 3.05%,
          #28224b 97.97%
        ),
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%);
      background-clip: padding-box, border-box;
      background-origin: border-box;
    }

    .dark .search-input::placeholder {
      color: #ebe4ff;
      opacity: 0.6;
    }

    .dark .search-input:hover {
      border: 1px solid #7f59e7;
    }

    .dark .search-input:focus {
      border: 1px solid #7f59e7;
    }

    .dark .sort-button {
      background: #28224b;
      color: #666686;
      border: 1px solid transparent;
      background-image: linear-gradient(
          105.21deg,
          #28224b 3.05%,
          #28224b 97.97%
        ),
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%);
      background-clip: padding-box, border-box;
      background-origin: border-box;
    }

    .dark .sort-button:hover {
      border: 1px solid #7f59e7;
    }

    .dark .sort-dropdown {
      background: #28224b;
      color: #8181aa;
      border: 1px solid transparent;
      background-image: linear-gradient(
          105.21deg,
          #28224b 3.05%,
          #28224b 97.97%
        ),
        linear-gradient(105.21deg, #553db7 3.05%, rgba(15, 6, 43, 0.2) 97.97%);
      background-clip: padding-box, border-box;
      background-origin: border-box;
    }

    .sort-option {
      width: 100%;
      height: 37px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      font-weight: 500;
      color: #666686;
      background: transparent;
      border: none;
      cursor: pointer;
      transition: background-color 0.2s ease;
      margin-top: 5px;
      margin-bottom: 5px;
    }

    .sort-option:hover {
      background: #ebe4ff;
      border-radius: 8px;
    }

    .sort-option.selected {
      background: #ebe4ff;
      border-radius: 8px;
    }

    .dark .sort-option {
      color: #8181aa;
    }

    .dark .sort-option:hover {
      background: rgba(17, 11, 48, 0.4);
    }

    .dark .sort-option.selected {
      background: rgba(17, 11, 48, 0.4);
      border-radius: 8px;
    }

    .sort-check {
      width: 16px;
      height: 16px;
      color: #7f59e7;
      flex-shrink: 0;
    }

    .all-blogs-cards-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .all-blogs-card {
      height: 358px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding-bottom: 24px;
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0px 4px 12px 0px #5b37d126;
      transition: all 0.3s ease-out;
      cursor: pointer;
      overflow: hidden;
      position: relative;
      text-decoration: none;
      color: inherit;
      padding: 0;
    }

    .all-blogs-card:hover {
      border: 1px solid transparent;
      transform: translateY(-4px);
      box-shadow: 0px 8px 24px 0px #5b37d140;
    }

    .all-blogs-card::before {
      content: "";
      position: absolute;
      top: -1px;
      left: -1px;
      right: -1px;
      bottom: -1px;
      border-radius: 24px;
      padding: 1px;
      background: linear-gradient(
        105.21deg,
        #d6cbff 3.05%,
        rgba(255, 255, 255, 0.2) 97.97%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.3s ease-out;
    }

    .all-blogs-card:hover::before {
      opacity: 1;
    }

    .all-blogs-card-image {
      height: 207px;
      border-radius: 24px;
      overflow: hidden;
      margin: 0;
      flex-shrink: 0;
    }

    .all-blogs-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .all-blogs-card:hover .all-blogs-card-image img {
      transform: scale(1.05);
    }

    .all-blogs-card-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding-left: 24px;
      padding-right: 24px;
      gap: 12px;
    }

    .all-blogs-card-meta {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .all-blogs-card-author {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .all-blogs-author-avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
    }

    .all-blogs-author-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .all-blogs-author-name {
      font-weight: 700;
      font-size: 15px;
      line-height: 1.2;
      color: #46465c;
    }

    .all-blogs-card-date {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.2;
      color: #8181aa;
      white-space: nowrap;
    }

    .all-blogs-date-separator {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: #8181aa;
    }

    .all-blogs-reading-time {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.2;
      color: #8181aa;
    }

    .all-blogs-card-title {
      font-size: 22px;
      font-weight: 700;
      line-height: 1.2;
      color: #180b64;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      min-height: 50px;
    }

    .dark .all-blogs-card {
      background: #28224b;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .dark .all-blogs-card:hover::before {
      background: linear-gradient(
        105.21deg,
        #553db7 3.05%,
        rgba(15, 6, 43, 0.2) 97.97%
      );
    }

    .dark .all-blogs-author-name {
      color: #ebe4ff;
    }

    .dark .all-blogs-card-date,
    .dark .all-blogs-reading-time {
      color: #8181aa;
    }

    .dark .all-blogs-card-title {
      color: #f7f7ff;
    }

    .dark .all-blogs-date-separator {
      background: #8181aa;
    }

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

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

    .all-blogs-empty-state {
      text-align: center;
      padding: 60px 20px;
      color: #8181aa;
    }

    .dark .all-blogs-empty-state {
      color: #8181aa;
    }

    /* Styles for pagination */
    .all-blogs-pagination {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 16px 0;
    }

    .all-blogs-pagination-button {
      width: 50px;
      height: 50px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f7f7ff;
      box-shadow: 3.46px 4.62px 34.64px 0px #7b7bb333;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .all-blogs-pagination-button:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 3.46px 4.62px 40px 0px #7b7bb366;
    }

    .all-blogs-pagination-button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .dark .all-blogs-pagination-button:disabled {
      opacity: 0.8;
      background: #23232f;
    }

    .all-blogs-pagination-icon {
      color: #46465c;
      transition: color 0.3s ease;
    }

    .dark .all-blogs-pagination-button {
      background: #381c9a;
      box-shadow: 0px 4px 12px 0px #00000040;
    }

    .dark .all-blogs-pagination-icon {
      color: #f7f7ff;
    }

    .all-blogs-pagination-numbers {
      display: flex;
      align-items: center;
    }

    .all-blogs-pagination-number {
      width: 56px;
      height: 56px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      color: #09090b;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .all-blogs-pagination-number:hover:not(
        .all-blogs-pagination-number-active
      ) {
      transform: translateY(-2px);
    }

    .all-blogs-pagination-number-active {
      width: 56px;
      height: 56px;
      border-radius: 100px;
      position: relative;
    }

    .all-blogs-pagination-number-active::before {
      content: "";
      position: absolute;
      width: 32px;
      height: 32px;
      border-radius: 100px;
      background: #7559ff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f7f7ff;
      font-size: 16px;
      font-weight: 400;
    }

    .all-blogs-pagination-number-active span {
      position: relative;
      z-index: 1;
      color: #f7f7ff;
    }

    .dark .all-blogs-pagination-number {
      color: #f7f7ff;
    }

    .all-blogs-pagination-ellipsis {
      width: 56px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #09090b;
      font-size: 16px;
      font-weight: 400;
    }

    .dark .all-blogs-pagination-ellipsis {
      color: #f7f7ff;
    }

    @media (max-width: 1023px) {
      .sort-option {
        padding: 10px 12px;
        height: 40px;
        font-size: 14px;
      }

      .sort-check {
        width: 18px;
        height: 18px;
      }

      .all-blogs-cards-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
      }

      .all-blogs-card {
        height: auto;
        min-height: 318px;
        padding-bottom: 0px;
      }

      .all-blogs-card-image {
        height: 180px;
      }

      .all-blogs-card-content {
        padding: 12px 12px 0;
      }

      .all-blogs-card-title {
        font-size: 16px;
        min-height: 44px;
      }

      .all-blogs-pagination {
        gap: 2px;
      }

      .all-blogs-pagination-button,
      .all-blogs-pagination-number,
      .all-blogs-pagination-ellipsis {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 14px;
      }

      .all-blogs-pagination-number-active::before {
        width: 28px;
        height: 28px;
      }
    }
  }
}
