/* ============================================================
   Spire.XLS AI Agent — Landing Page Design System
   Extracted from design mockup: Spire.XLS AI Agent 03.png
   ============================================================ */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* === Primary Palette (Deep Greens) === */
  --color-primary: #103020;           /* darkest green — hero/main section bg */
  --color-primary-light: #205030;     /* mid-dark green — alternating section bg */
  --color-primary-lighter: #306040;   /* mid green — card bg, subtle accents */
  --color-primary-pale: #407050;      /* light green — muted elements */

  /* === Accent / CTA === */
  --color-accent: #18B854;            /* bright green — buttons, links, highlights */
  --color-accent-hover: #07C44E;      /* hover state for accent elements */
  --color-accent-light: rgba(8, 168, 67, 0.12); /* subtle accent wash */

  /* === Navy (Footer) === */
  --color-navy: #000868;              /* deep navy — footer bg */

  /* === Backgrounds === */
  --color-bg-light: #F0F0F0;         /* neutral light section bg */
  --color-bg-light-green: #E8F5E9;   /* light green tint section bg */
  --color-bg-white: #FFFFFF;

  /* === Text === */
  --color-text-on-dark: #FFFFFF;      /* primary text on dark green / navy bg */
  --color-text-primary: #103020;      /* primary text on light bg */
  --color-text-secondary: #808890;    /* secondary / muted text */
  --color-text-muted: #A8B0B8;       /* tertiary / placeholder text */

  /* === Borders & Dividers === */
  --color-border: #D0D0D0;            /* light border on white/light bg */
  --color-border-light: #E8E8E8;      /* very subtle border */

  /* === Border Radius === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-button: 0 2px 8px rgba(8, 168, 67, 0.3);

  /* === Typography === */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;      /* 48px */

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* === Spacing === */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* === Layout === */
  --max-width: 1182px;
  --header-height: 72px;

  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ---------- CSS Reset ---------- */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 14px;
}
#page > div#page-body {
  padding: 0;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  min-width: 360px;
}

body#page {
  background-color: #F4FFF8;
}

a:hover {
  text-decoration: none;
}

.hero-section img, .hero-section svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--line-height-tight);
}

p {
  margin-bottom: var(--space-md);
}

/* ============================================================
   Shared Utility Classes
   ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {               
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FAF7FF; 
  padding: 80px 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  box-sizing: border-box;
  gap: 0;
}

.hero-left {
  width: 100%;
  max-width: 534px;
  flex: 0 1 534px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.hero-top {
  align-self: start;
  padding: 8px 16px;
  border-radius: 30px;
  background: #FFECE8;
}

.hero-top span {
  font-size: 16px;
  font-weight: 400;
  color:#FF7A5C;
}

.hero-title {
  text-align: left;
  font-size: 45px;
  font-weight: 700;
  color: #000c25;
  line-height: 49px;
}

.hero-title span {
  display: block;
  font-size: 45px;
  font-weight: 700;
  background: linear-gradient(90deg, #243AFF 0%, #B52BFF 100%);
  background-clip: text;
    -webkit-text-fill-color: transparent;
  line-height: 49px;
}

.hero-subtitle {
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  color: #707785;
  line-height: 22px;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 606px;
  max-height: 428px;
  height: auto;
  object-fit: contain;
  flex: 0 1 606px;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(90deg, #243AFF 0%, #B52BFF 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: box-shadow 0.3s ease,
              transform 0.3s ease;
}

.btn-primary span {
  color: #ffffff;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 400;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-4px);
  box-shadow: 0px 17px 10px -12px rgba(48, 22, 115, 0.53);
}

.btn-secondary{
  position: relative;
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #243AFF 0%, #B52BFF 100%);
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  transition: box-shadow 0.3s ease,
              transform 0.3s ease;
}

.btn-secondary span {
  background: linear-gradient(90deg, #243AFF 0%, #B52BFF 100%);
  background-clip: text;
    -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 400;
  margin-right: 10px;
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-4px);
  box-shadow: 0px 17px 10px -12px rgba(48, 22, 115, 0.53);
}

.divider{
  width: 100%;
  max-width: 1140px;
  height: 1px;
  background: #E6E7E9;
  margin: 40px 0 40px;
  border: none;
}

.hero-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  box-sizing: border-box;
  gap: 25px;
}

.hero-bottom-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 12px;
  background: #F5F2FF;
  border-radius: 14px;
  padding: 26px 26px 0 26px;
  height: 156px;
  width: 360px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #9A8DC4;
  transition: box-shadow 0.3s ease,
              transform 0.3s ease;  
}

.hero-bottom-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 24px 12px -17px rgba(233, 230, 247, 1);
  background: #9A8DC4;
}

.hero-bottom-item-title{
  font-size: 16px;
  font-weight: 400;
  color: #707785;
}

.hero-bottom-item-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #000C25;
}

.hero-bottom-item:hover .hero-bottom-item-title,
.hero-bottom-item:hover .hero-bottom-item-subtitle{
  color: #ffffff;
}

.hero-annotation{
  font-size: 14px;
  color: #000C25;
  margin: 40px 0 0 0;
  line-height: 20px;
}

/* =========================================================
   Hero Section - Responsive Media Queries
   ========================================================= */
@media (max-width: 992px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
  }

  .hero-left {
    width: 100%;
    max-width: 534px;
    align-items: center;
    gap: 28px;
  }

  .hero-top {
    align-self: center;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center;
  }

  .hero-title {
    font-size: 34px;
    line-height: 40px;
  }

  .hero-title span {
    font-size: 34px;
    line-height: 40px;
  }

  .hero-title br,
  .hero-subtitle br {
    display: none;
  }

  .hero-image {
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }

  .hero-bottom {
    justify-content: center;
  }

  .hero-bottom-item {
    width: calc(50% - 13px);
    min-width: 280px;
    height: auto;
    min-height: 130px;
    padding: 22px 22px 20px 22px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 44px 16px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-left {
    gap: 22px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-title span {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 22px;
  }

  .hero-bottom {
    gap: 16px;
  }

  .hero-bottom-item {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 120px;
    padding: 20px;
  }

  .hero-annotation {
    margin: 28px 0 0 0;
    font-size: 13px;
    line-height: 18px;
    padding: 0 10px;
  }

  .hero-annotation br {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 24px;
    line-height: 30px;
  }

  .hero-title span {
    font-size: 24px;
    line-height: 30px;
  }
}


/* =========================================================
   Demos Section
   ========================================================= */

.demos-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 80px 0 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.demos-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
}

.demos-title {
  margin: 0 0 22px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: #000C25;
  letter-spacing: -0.6px;
}

.demos-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  color: #707785;
}

/* =========================================================
   Tabs
   ========================================================= */

.demos-tabs {
  width: 100%;
  max-width: 928px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
}

.demos-tab {
  min-width: 0;
  min-height: 41px;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: #f4f1fa;
  color: #8a80ae;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.demos-tab:hover {
  background: #eae3fb;
  color: #7754dc;
}

.demos-tab.active {
  background: #8560e9;
  color: #ffffff;
}

.demos-tab:focus-visible {
  outline: 2px solid #8560e9;
  outline-offset: 3px;
}

.demos-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0 0;
  background: #e7e8ed;
}

/* =========================================================
   Demo introduction
   ========================================================= */

.demos-intro {
  width: 100%;
  padding: 32px 0 0;
  box-sizing: border-box;
}

.demos-demo-title {
  margin: 0;
  color: #000c25;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.demos-demo-desc {
  margin: 10px 0 0;
  color: #707785;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

/* =========================================================
   Main workspace
   ========================================================= */

.demos-workspace {
  position: relative;
  width: 100%;
  min-height: 554px;
  margin: 40px 0 0;
  display: flex;
  align-items: center;
  text-align: left;
}

/* =========================================================
   API code card
   ========================================================= */

.demos-code-card {
  position: relative;
  z-index: 1;
  flex: 0 0 320px;
  width: 320px;
  min-height: 290px;
  margin-top: 0;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: #202736;
  box-sizing: border-box;
  color: #f5f7fb;
}

.demos-code-header {
  min-height: 59px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background: #121722;
  color: #36c4ff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.demos-code-body {
  margin: 0;
  padding: 22px 20px 28px;
  color: #f0f2f7;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
  box-sizing: border-box;
  background: #ffffff00;
  border-color: #ffffff00;
}

.demos-code-body code {
  font-family: inherit;
}

/* =========================================================
   Right-side file card
   ========================================================= */

.demos-files-card {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  /*margin-left: -70px;*/
  padding: 24px 16px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: center;
  border-radius: 18px;
  background: #f1ecfc;
  box-shadow: 0 14px 30px rgba(62, 39, 115, 0.12);
  box-sizing: border-box;
}

.demos-document-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demos-file-title {
  min-height: 18px;
  display: flex;
  align-items: center;
  color: #080f24;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.demos-document-frame {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.demos-document-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.demos-document-frame.translation-output {
  width: 388px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  overflow: visible;
  align-content: start;
}

.demos-document-frame.translation-output img {
  display: block;
  width: 189px;
  height: 256px;
  object-fit: contain;
  object-position: top center;
  box-sizing: border-box;
  border: 1px solid #b8a2f5;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(60, 40, 100, 0.08);
}

.demos-document-column:has(.translation-output) {
  min-width: 0;
}

@media (max-width: 768px) {
  .demos-document-frame.translation-output img {
    height: 140px;
  }
}



/* =========================================================
   Special layout: Data cleaning
   ========================================================= */

.demos-workspace.is-cleaning {
  min-height: 470px;
}

.demos-workspace.is-cleaning .demos-code-card {
  flex-basis: 365px;
  width: 365px;
  min-height: 290px;
}

.demos-workspace.is-cleaning .demos-files-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 20px;
  margin-left: -70px;
}

.demos-workspace.is-cleaning .demos-document-column {
  width: 100%;
  gap: 8px;
}

.demos-workspace.is-cleaning .demos-document-frame {
  height: auto;
  aspect-ratio: 2.9 / 1;
}

.demos-workspace.is-cleaning .demos-document-frame img {
  object-fit: contain;
  object-position: center;
}

/* =========================================================
   Special layout: Speaker notes
   ========================================================= */

.demos-workspace.is-speaker {
  min-height: 460px;
  align-items: center;
}

.demos-workspace.is-speaker .demos-code-card {
  flex-basis: 365px;
  width: 365px;
  min-height: 290px;
}

.demos-workspace.is-speaker .demos-files-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  margin-left: -70px;
}

.demos-workspace.is-speaker .demos-document-column {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.demos-workspace.is-speaker .demos-document-frame {
  height: auto;
  aspect-ratio: 1.9 / 1;
}

.demos-workspace.is-speaker .demos-document-frame img {
  object-fit: contain;
  object-position: center;
}

.demos-workspace.is-cleaning .demos-document-frame {
  width: 805px;
  height: 340px;
  aspect-ratio: 1.9 / 1;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .demos-container {
    max-width: 720px;
  }

  .demos-title {
    font-size: 30px;
  }

  .demos-tabs {
    max-width: 700px;
    gap: 10px;
  }

  .demos-tab {
    padding: 10px 6px;
    font-size: 12px;
  }

  .demos-workspace,
  .demos-workspace.is-cleaning,
  .demos-workspace.is-speaker {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .demos-code-card,
  .demos-workspace.is-cleaning .demos-code-card,
  .demos-workspace.is-speaker .demos-code-card {
    flex: auto;
    width: 100%;
    min-height: 0;
    border-radius: 16px;
  }

  .demos-files-card,
  .demos-workspace.is-cleaning .demos-files-card,
  .demos-workspace.is-speaker .demos-files-card {
    width: 100%;
    margin-left: 0;
  }

  .demos-document-frame {
    height: 330px;
  }
}

@media (max-width: 560px) {
  .demos-section {
    padding: 48px 16px 56px;
  }

  .demos-title {
    font-size: 26px;
    letter-spacing: -0.4px;
  }

  .demos-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .demos-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }

  .demos-tab {
    min-height: 40px;
    white-space: normal;
  }

  .demos-divider {
    margin-top: 24px;
  }

  .demos-intro {
    padding-top: 26px;
  }

  .demos-demo-title {
    font-size: 18px;
  }

  .demos-demo-desc {
    font-size: 12px;
  }

  .desktop-br {
    display: none;
  }

  .demos-workspace {
    margin-top: 24px;
  }

  .demos-code-header {
    min-height: 50px;
    padding: 16px;
  }

  .demos-code-body {
    padding: 18px 16px 22px;
    font-size: 12px;
  }

  .demos-files-card,
  .demos-workspace.is-cleaning .demos-files-card {
    padding: 14px 10px;
    gap: 8px;
  }

  .demos-file-title {
    font-size: 10px;
  }

  .demos-document-column {
    gap: 8px;
  }

  .demos-document-frame {
    height: 250px;
  }

  .demos-workspace.is-cleaning .demos-document-frame {
    aspect-ratio: 2 / 1;
  }

  .demos-workspace.is-speaker .demos-document-column {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
  }

  .demos-workspace.is-speaker .demos-file-title {
    font-size: 10px;
  }

  .demos-workspace.is-speaker .demos-files-card {
    padding: 10px;
  }
}


#Demos-Section .demos-document-frame img {
  cursor: zoom-in;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

#Demos-Section .demos-document-frame img:hover {
  transform: scale(1.025);
  box-shadow: 0 6px 18px rgba(59, 37, 105, 0.507);
  filter: brightness(0.97);
  position: relative;
  z-index: 2;
}

.demos-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}

.demos-preview-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demos-preview-image-wrap {
  width: min(680px, 72vw);
  height: calc(100vh - 72px);
  max-height: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.demos-preview-image {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid #a78bfa;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
  cursor: default;
  animation: demosPreviewIn 0.22s ease;
}

.demos-preview-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease,
              transform 0.2s ease;
}

.demos-preview-close:hover {
  background: #8560e9;
  color: #fff;
  transform: rotate(90deg);
}

.demos-preview-arrow {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 92px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: none;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.demos-preview-arrow:hover {
  background: rgba(255, 255, 255, 0.42);
}

.demos-preview-prev {
  left: 16.5%;
}

.demos-preview-next {
  right: 16.5%;
}

@keyframes demosPreviewIn {
  from {
    opacity: 0.65;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .demos-preview-image-wrap {
    width: 78vw;
    height: calc(100vh - 100px);
  }

  .demos-preview-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .demos-preview-arrow {
    width: 38px;
    height: 64px;
    font-size: 42px;
    background: rgba(255, 255, 255, 0.3);
  }

  .demos-preview-prev {
    left: 5px;
  }

  .demos-preview-next {
    right: 5px;
  }
}

.demos-preview-title {
  position: absolute;
  top: 36px;
  left: 4%;
  max-width: 40%;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  z-index: 2;
}

@media (max-width: 768px) {
  .demos-preview-title {
    top: 20px;
    left: 16px;
    max-width: calc(100% - 100px);
    font-size: 17px;
  }
}



/* =====================================================
   Advantage Section
====================================================== */
.advantage-section {
  text-align: center;
  background: #F8F7FA;
  padding: 80px 0 80px;
}

.advantage-title{
  font-size: 40px;
  font-weight: 700;
  color: #000C25;
  line-height: 1.2;
  margin-bottom: 30px;
}

.advantage-subtitle{
  font-size: 18px;
  font-weight: 400;
  color: #707785;
  line-height: 1.5;
  margin-bottom: 40px;
}

.advantage-item {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    box-sizing: border-box;
}

.advantage-item-content {
    width: 100%;
    min-height: 197px;
    padding: 36px 38px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    transition: box-shadow 0.3s ease,
                transform 0.3s ease;
}

.advantage-item-content:hover{
  transform: translateY(-4px);
  box-shadow: 0px 24px 12px -17px #e5e7eb;
}

.advantage-item-content img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.advantage-item-title {
    position: relative;
    margin-top: -29px;
    margin-left: 42px;
    margin-bottom: 26px;
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #07132e;
}

.advantage-item-subtitle {
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #101d38;
    text-align: left;
    overflow-wrap: break-word;
}


/* ============================================================
  Work Section
   ============================================================ */
.work-section {
  text-align: center;
  background: #ffffff;
  padding: 80px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-title{
  font-size: 40px;
  font-weight: 700;
  color: #000C25;
  line-height: 1.2;
  margin-bottom: 30px;
}

.work-subtitle{
  font-size: 18px;
  font-weight: 400;
  color: #707785;
  line-height: 1.5;
  margin-bottom: 40px;
}

.work-container {
  width: 100%;
  max-width: 1140px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 22px 20px 20px;
  background: #F4F5FF;
  border-radius: 20px;
  text-align: left;
}

.work-label {
  font-size: 14px;
  font-weight: 400;
  color: #0E34E4;
  line-height: 1.5;
  margin-bottom: 18px;
}

.work-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 66px;
}

.work-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  min-height: 115px;
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #5865FF;
  border-radius: 11px;
  background: #E8EAFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: box-shadow 0.3s ease,
              transform 0.3s ease;
}

.work-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #000C25;
  margin-bottom: 8px;
}

.work-card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #000C25;
  overflow-wrap: break-word;
}

.work-card-active {
  background: #1010A8;
  border-color: #1010A8;
  box-shadow: 0 30px 38px -24px rgba(16, 16, 168, 0.5);
}

.work-card-active .work-card-title,
.work-card-active .work-card-text {
  color: #FFFFFF;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(16, 16, 168, 0.12);
}

.work-card-active:hover {
  background: #1010A8;
  border-color: #1010A8;
  box-shadow: 0 30px 38px -24px rgba(16, 16, 168, 0.5);
}

.work-arrow {
  position: absolute;
  z-index: 1;
  display: block;
  width: 34px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

.work-arrow-1 {
  left: calc(33.333% - 17px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.work-arrow-2 {
  left: calc(66.666% + 17px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.work-annotation{
  margin: 40px 0 0 0;
  padding: 20px;
  background: #FFF9F5;
  border-radius: 20px;
}

.work-annotation span{
  font-size: 18px;
  font-weight: 400;
  color: #CF5B0E;
}
 

/* ============================================================
  Features Section
   ============================================================ */
.features-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #F8F7FA;
  padding: 80px 0 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.features-title {
  width: 100%;
  font-size: 40px;
  font-weight: 700;
  color: #000C25;
  line-height: 1.08;
  margin: 0 0 24px;
}

.features-subtitle {
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  color: #707785;
  line-height: 1.35;
  margin: 0 0 30px;
}

/* Card Grid */

.features-container {
  width: 100%;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  text-align: left;
  align-items: stretch;
}

/* Individual Card */

.feature-card {
  min-width: 0;
  min-height: 319px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid #D9DFF0;
  border-radius: 16px;
  box-sizing: border-box;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s ease;
}

.feature-card:hover {
  border-color: #B9C8F5;
  box-shadow: 0 8px 24px rgba(27, 49, 105, 0.07);
  transform: translateY(-3px);
}

/* Image: 227 x 75 px */

.feature-image {
  flex-shrink: 0;
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: #F0EFF8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Card Type */

.feature-type {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000C25;
  margin-bottom: 14px;
}

/* Card Title */

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #000C25;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

/* Card Description */

.feature-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #788194;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}

/* Divider */

.feature-divider {
  width: 100%;
  height: 1px;
  flex-shrink: 0;
  background: #DCE2F0;

  margin-bottom: 12px;
}

/* Software Tags */

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 6px;
  min-height: 24px;
}

.feature-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 20px;
  box-sizing: border-box;
  font-size: 12px; 
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.tag-word {
  color: #1749D6;
  background: #D1DCFF;
}

.tag-excel {
  color: #008A72;
  background: #B8F0E3;
}

.tag-presentation {
  color: #D7460B;
  background: #FFE0D1;
}

.tag-pdf {
  color: #D52E2E;
  background: #FFC4C4;
}

/* More Features */

.features-more {
  width: 100%;
  max-width: 1140px;
  margin: 38px auto 0;
  padding-top: 28px;
  border-top: 1px solid #D9DFF0;
  box-sizing: border-box;
  text-align: left;
}

.features-more p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #000c25;
}

.features-more strong {
  font-weight: 700;
}

/* =========================================================
   Responsive Layout
========================================================= */

/* Tablet */

@media (max-width: 900px) {
  .features-container {
    max-width: 650px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .feature-card {
    min-height: 300px;
  }

  .features-more {
    max-width: 650px;
  }
}

/* Mobile */

@media (max-width: 520px) {
  .features-section {
    padding: 45px 18px;
  }

  .features-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .features-subtitle {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .features-container {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    min-height: 0;
    padding: 16px;
  }

  .feature-image {
    height: auto;
    aspect-ratio: 227 / 75;
  }

  .feature-type {
    margin-bottom: 10px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .feature-tags .tag {
    font-size: 10px;
  }

  .features-more {
    margin-top: 30px;
    padding-top: 22px;
  }

  .features-more p {
    font-size: 13px;
    line-height: 1.6;
  }
}
 

/* =========================================================
   Private AI Section
   ========================================================= */
.private-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 80px 0 80px;
  overflow: hidden;
  background: #00033D;
  color: #ffffff;
}

.private-bg {
  position: absolute;
  z-index: -1;
  width: 639px;
  height: 503px;
  left: calc(50% - 20px);
  top: 0px;
  background-image: url("/AI/images/Spire.Office.EdgeAI/banner-2.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.75;
  pointer-events: none;
}

.private-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.private-title {
  margin: 0 0 30px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.private-subtitle {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.private-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  display: grid;
  grid-template-columns: 570px 467px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 54px auto 0;
  box-sizing: border-box;
}

.private-features {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.private-feature {
  width: 100%;
  box-sizing: border-box;
}

.private-feature-title {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.private-feature-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.private-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0 27px;
  background: rgba(255, 255, 255, 0.45);
}

.private-compare {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(190, 186, 255, 0.32);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.105);
  text-align: left;
}

.private-compare-header,
.private-compare-row {
  display: grid;
  grid-template-columns: 150px 161px minmax(0, 1fr);
  box-sizing: border-box;
}

.private-compare-header {
  min-height: 70px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.private-compare-row {
  min-height: 77px;
  align-items: center;
}

.private-compare-row + .private-compare-row {
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.private-cell {
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 8px 12px 17px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.private-label-cell {
  padding: 0;
}

.private-row-title {
  color: #ffffff;
}

.private-cloud {
  color: rgba(255, 255, 255, 0.58);
}

.private-local {
  color: #ffffff;
}

.private-compare-header .private-cloud {
  white-space: nowrap;
}

.private-compare-header .private-local {
  color: #ff00d9;
  white-space: nowrap;
}


@media (max-width: 1200px) {
  .private-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
  }

  .private-feature-desc {
    font-size: 16px;
  }

  .private-compare-header,
  .private-compare-row {
    grid-template-columns: 32% 34% 34%;
  }

  .private-cell {
    padding-left: 10px;
    padding-right: 5px;
    font-size: 14px;
  }

  .private-compare-header .private-cloud,
  .private-compare-header .private-local {
    white-space: normal;
  }

  .desktop-br {
    display: none;
  }
}

@media (max-width: 768px) {
  .private-section {
    padding: 60px 20px 50px;
  }

  .private-bg {
    width: 340px;
    height: 340px;
    left: calc(50% - 60px);
    top: 15px;
    opacity: 0.55;
  }

  .private-title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 22px;
  }

  .private-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .private-content {
    max-width: 560px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 42px;
  }

  .private-feature-title {
    font-size: 22px;
  }

  .private-feature-desc {
    font-size: 15px;
    line-height: 1.5;
  }

  .private-divider {
    margin: 23px 0;
  }

  .private-compare {
    max-width: 100%;
    border-radius: 16px;
  }

  .private-compare-header {
    min-height: 62px;
  }

  .private-compare-row {
    min-height: 75px;
  }

  .private-compare-header,
  .private-compare-row {
    grid-template-columns: 34% 33% 33%;
  }

  .private-cell {
    padding: 12px 6px 12px 10px;
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 420px) {
  .private-title {
    font-size: 26px;
  }

  .private-subtitle {
    font-size: 14px;
  }

  .private-content {
    gap: 30px;
  }

  .private-compare-header,
  .private-compare-row {
    grid-template-columns: 35% 32% 33%;
  }

  .private-cell {
    padding-left: 7px;
    padding-right: 3px;
    font-size: 12px;
  }

  .private-compare-header .private-cloud,
  .private-compare-header .private-local {
    white-space: normal;
  }
}
 
 

/* =========================================================
   Plugin Section
   ========================================================= */
.plugin-section {
  width: 100%;
  padding: 80px 24px;
  background: #F8F7FA;
  box-sizing: border-box;
  overflow: hidden;
}

.plugin-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
}

.plugin-header {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.plugin-title {
  margin: 0 0 24px;
  color: #000C25;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.plugin-subtitle {
  margin: 0;
  color: #70798A;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}


.plugin-content {
  display: grid;
  grid-template-columns: minmax(0, 442fr) minmax(0, 614fr);
  gap: 84px;
  align-items: center;
  width: 100%;
}


.plugin-steps {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.plugin-step {
  padding: 0 0 21px;
  margin: 0 0 18px;
  border-bottom: 1px solid #D8D8DE;
  box-sizing: border-box;
}

.plugin-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.plugin-step-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}

.plugin-step-number {
  display: inline-flex;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000C25;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.plugin-step-heading h3 {
  margin: 0;
  color: #000C25;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.plugin-step p {
  margin: 0;
  color: #70798A;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}


.plugin-code-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #1F2635;
  text-align: left;
  box-sizing: border-box;
}

.plugin-code-header {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 20px 30px;
  background: #121720;
  color: #38BDF8;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

.plugin-code-body {
  padding: 21px 30px 27px;
  background: #1F2635;
  box-sizing: border-box;
}

.plugin-code-body pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
  background: #ffffff00;
  border: 0px #ffffff00;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}


@media (max-width: 1100px) {
  .plugin-section {
    padding: 64px 28px;
  }

  .plugin-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
  }

  .plugin-title {
    font-size: 36px;
  }

  .plugin-step-heading h3 {
    font-size: 18px;
  }

  .plugin-step p {
    font-size: 15px;
  }

  .plugin-code-header {
    min-height: 72px;
    padding: 18px 22px;
    font-size: 18px;
  }

  .plugin-code-body {
    padding: 22px;
  }

  .plugin-code-body code {
    font-size: 13px;
  }
}


@media (max-width: 767px) {
  .plugin-section {
    padding: 48px 20px;
  }

  .plugin-header {
    margin-bottom: 32px;
  }

  .plugin-title {
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .plugin-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }

  .plugin-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .plugin-step {
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .plugin-step-heading {
    gap: 11px;
  }

  .plugin-step-heading h3 {
    font-size: 18px;
  }

  .plugin-step p {
    font-size: 14px;
    line-height: 1.6;
  }

  .plugin-code-card {
    border-radius: 15px;
  }

  .plugin-code-header {
    min-height: auto;
    padding: 18px 20px;
    font-size: 16px;
  }

  .plugin-code-body {
    padding: 20px;
  }

  .plugin-code-body code {
    font-size: 12px;
    line-height: 1.6;
  }
}



/* ==============================
   AI Plugin CTA Section
============================== */

.ai-plugin-cta {
  width: 100%;
  box-sizing: border-box;
  padding: 80px 24px;
  background: #050532;
  color: #fff;
  overflow: hidden;
}

.ai-plugin-cta *,
.ai-plugin-cta *::before,
.ai-plugin-cta *::after {
  box-sizing: border-box;
}

.ai-plugin-cta__container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 412px;
  column-gap: 60px;
  align-items: center;
}

.ai-plugin-cta__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
}

.ai-plugin-cta__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 506px;
  height: 406px;
  left: -148px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/AI/images/Spire.Office.EdgeAI/banner-3.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.ai-plugin-cta__title {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: #fff;
}

.ai-plugin-cta__subtitle {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  color: #8989b0;
}

.ai-plugin-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.ai-plugin-cta__button {
  width: 100%;
  min-height: 66px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.ai-plugin-cta__button img {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;  
}

.ai-plugin-cta__button:hover img {
  transform: translateX(4px);
}

.ai-plugin-cta__button--primary {
  background: linear-gradient(
    105deg,
    #2F64EB 52%,
    #B52BFF 100%
  );
}

.ai-plugin-cta__button--secondary {
  background: transparent;
  border-color: #f0f0ff;
}

.ai-plugin-cta__button--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
}

.ai-plugin-cta__button--muted {
  background: transparent;
  border-color: #666687;
  color: #9292b4;
}

.ai-plugin-cta__button--muted:hover {
  color: #fff;
  border-color: #a4a4c4;
  background: rgba(255, 255, 255, 0.03);
}

/* ==============================
   Responsive
============================== */

@media (max-width: 900px) {
  .ai-plugin-cta {
    padding: 64px 24px;
  }

  .ai-plugin-cta__container {
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 36px;
  }

  .ai-plugin-cta__title {
    font-size: 34px;
  }

  .ai-plugin-cta__subtitle {
    font-size: 16px;
  }

  .desktop-br {
    display: none;
  }

  .ai-plugin-cta__actions {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .ai-plugin-cta {
    padding: 56px 20px;
  }

  .ai-plugin-cta__container {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .ai-plugin-cta__content::before {
    width: 300px;
    height: 300px;
    left: -100px;
    top: 35%;
  }

  .ai-plugin-cta__title {
    margin-bottom: 22px;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .ai-plugin-cta__subtitle {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

  .ai-plugin-cta__actions {
    gap: 14px;
  }

  .ai-plugin-cta__button {
    min-height: 60px;
    padding: 0 18px;
    font-size: 15px;
  }
}




#excel-agent-landing,
#rt-contents,
#rt-contents .rt-container,
#rt-contents .rt-grid-12,
#rt-contents .rt-block {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}


#excel-agent-landing .container {
  width: 100% !important;
  max-width: 1140px !important; 
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#excel-agent-landing section {

  box-sizing: border-box !important;
}


#excel-agent-landing,
.rt-block:has(#excel-agent-landing),
#rt-contents .rt-grid-12 .rt-block {
  padding: 0 !important;
  margin: 0 !important;
}

#rt-contents,
#rt-contents .rt-contents-pattern,
#rt-contents .rt-grid-12 {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}