/* ================================
   PHOENIX CODE - COMPLETE STYLES
   ================================ */

/* #### Font Faces #### */

@font-face {
  font-family: 'Montserrat Regular';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Thin';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Thin Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-ThinItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat ExtraLight';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-ExtraLight.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat ExtraLight Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-ExtraLightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Light';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Light.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Light Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-LightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Medium';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Medium Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-MediumItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat SemiBold';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat SemiBold Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-SemiBoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Bold';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Bold Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-BoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat ExtraBold';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat ExtraBold Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-ExtraBoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Black';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-Black.woff') format('woff');
}

@font-face {
  font-family: 'Montserrat Black Italic';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/Montserrat-BlackItalic.woff') format('woff');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: normal;
  src: url('../assets/fonts/caveat.woff') format('woff');
}

/* #### CSS Custom Properties #### */

:root {
  /* Color Palettes */
  --background-color: #ffff;
  --background-color-dark: #282727;
  --background-color-card: rgb(201, 199, 199);
  --primary-color: #11225E;
  --primary-color-dark: #3e1175;
  --accent-color: #FE9615;
  --text-color: #121416d8;
  --text-color-light: #ffffffef;
  --border-color-light: #f0f0f0bb;
  --link-color: #4A78BF;
  --link-color-hover: #ca3fd7;
  --head-color: #ffffffef;
  --head-text: #11225E;
  --button-color: #263238;
  --button-text: #fff;
  --text-color-gray: gray;
  --color-success-light: rgb(198, 255, 198);
  --color-warning-light: rgb(252, 253, 174);
  --color-danger-light: rgb(253, 166, 166);
  --color-success-dark: rgb(2, 148, 2);
  --color-warning-dark: rgb(226, 230, 2);
  --color-danger-dark: rgb(243, 0, 0);

  /* Typography */
  --font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-serif: Georgia, serif;
  --font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-montserrat: "Montserrat Regular";
  --font-montserrat-light: "Montserrat Light";
  --font-montserrat-medium: "Montserrat Medium";
  --font-montserrat-semi-bold: "Montserrat SemiBold";
  --font-montserrat-bold: "Montserrat Bold";
  --font-montserrat-extra-bold: "Montserrat ExtraBold";
  --font-caveat: "Caveat";
  --default-font-size: 1rem;
  --font-size-xxs: 0.625rem;
  --font-size-xs: 0.75rem;
  --font-size-s: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2.25rem;
  --font-size-xxxl: 3rem;
  --font-size-xxxxl: 4.5rem;

  /* Spacing Units */
  --space-unit: 16px;
  --space-xxxs: calc(0.125 * var(--space-unit));
  --space-xxs: calc(0.25 * var(--space-unit));
  --space-xsx: calc(0.375 * var(--space-unit));
  --space-xs: calc(0.5 * var(--space-unit));
  --space-sm: calc(0.75 * var(--space-unit));
  --space-md: calc(1 * var(--space-unit));
  --space-lg: calc(1.25 * var(--space-unit));
  --space-xl: calc(2 * var(--space-unit));
  --space-xxl: calc(3.25 * var(--space-unit));
  --space-xxxl: calc(5.25 * var(--space-unit));
  --nav-height: 62px;

  /* Card Styles */
  --card-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  --card-min-height: 350px;
  --card-background-hover: #0000009f;
  --card-background-shimmer: #d5d5d5;
}

html[data-theme='light'] {
  --background-color: #fff;
  --text-color: #121416d8;
  --link-color: #543fd7;
}

html[data-theme='dark'] {
  --background-color: #212a2e;
  --text-color: #F7F8F8;
  --link-color: #828fff;
}

/* ================================
   GLOBAL STYLES
   ================================ */

html, head, body {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: var(--font-montserrat);
  -webkit-font-smoothing: antialiased;
  background-color: var(--background-color);
  overflow-x: hidden;
}

@media only screen and (max-width: 768px) {
  html, head, body {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

/* Utility Classes */
.d-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-flex-space-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.d-flex {
  display: flex;
}

.d-flex-column {
  display: flex;
  flex-direction: column;
}

.align-center {
  align-items: center;
  justify-content: center;
}

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

.flex-column {
  flex-direction: column;
}

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

.text-left {
  text-align: left;
}

.w-100 { width: 100%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.p-0 { padding: 0; }
.hidden { display: none !important; }
.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Z-index layers */
.z1 { z-index: 1; }
.z2 { z-index: 2; }
.z3 { z-index: 3; }
.z4 { z-index: 4; }
.z5 { z-index: 5; }
.z6 { z-index: 6; }
.z7 { z-index: 7; }
.z8 { z-index: 8; }

/* Button Styles */
.btn {
  border-radius: 0;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.primary-button {
  background: linear-gradient(90deg, #FAAA47 0%, #FA1801 100%);
  border-radius: 5px;
  border: none;
  outline: none;
  color: var(--text-color-light);
}

.primary-button:hover:not(.dropdown-menu) {
  background: linear-gradient(90deg, #f5a33f 0%, #e41802 100%);
}

.transparent-button {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  border: none;
  outline: none;
  color: var(--link-color);
}

.transparent-button:hover:not(.dropdown-menu) {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-muted { color: var(--text-color-gray) !important; }

/* Link Styles */
.primary-link {
  color: var(--text-color-light);
  text-decoration: none;
}

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

.primary-link-accent {
  color: var(--accent-color);
  text-decoration: none;
}

.primary-link-accent:hover {
  filter: brightness(1.5);
  text-decoration: none;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-color);
  text-decoration: none;
}

/* Typography */
.main-heading {
  font-size: var(--font-size-xxl);
  font-family: var(--font-montserrat-bold);
  color: var(--head-color);
}

.sub-heading {
  font-size: var(--font-size-lg);
  font-family: var(--font-montserrat-semi-bold);
  color: var(--head-text);
}

.heading {
  font-size: var(--font-size-xl);
  font-family: var(--font-montserrat-bold);
  color: var(--head-color);
}

.description {
  font-size: var(--font-size-md);
  font-family: var(--font-montserrat);
  color: var(--text-color);
}

.description-light {
  font-size: var(--font-size-md);
  font-family: var(--font-montserrat);
  color: var(--text-color-light);
}

/* Responsive Helpers */
.align-top { align-items: flex-start; }
.align-middle { vertical-align: middle; }

@media (max-width: 576px) {
  .w-xs-100 { width: 100% !important; }
  .w-xs-25 { width: 25% !important; }
  .w-xs-50 { width: 50% !important; }
  .w-xs-75 { width: 75% !important; }
  .text-xs-center { text-align: center !important; }
  .center-below-xs {
    text-align: center !important;
  }
  .center-below-xs img {
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .w-md-100 { width: 100% !important; }
  .w-md-50 { width: 50% !important; }
  .w-md-25 { width: 25% !important; }
  .w-md-75 { width: 75% !important; }
  .text-md-left { text-align: left !important; }
  .text-md-right { text-align: right !important; }
  .text-sm-center { text-align: center !important; }
}

@media (min-width: 992px) {
  .w-lg-100 { width: 100% !important; }
  .w-lg-50 { width: 50% !important; }
  .w-lg-25 { width: 25% !important; }
  .w-lg-75 { width: 75% !important; }
  .text-lg-left { text-align: left !important; }
  .text-lg-right { text-align: right !important; }
}

@media (min-width: 1200px) {
  .text-xl-left { text-align: left !important; }
  .text-xl-right { text-align: right !important; }
}

/* ================================
   NAVIGATION
   ================================ */

nav.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  /* Floating nav starts flush with hero content — chrome is applied later via .scrolled-past-hero */
  background-color: transparent;
  z-index: 100;
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease,
    backdrop-filter 240ms ease,
    -webkit-backdrop-filter 240ms ease;
}

nav.nav-static {
  position: relative;
  width: 100%;
  background-color: #282727;
  /* Static (tool-page) navs keep their elevation chrome at all times */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

/* Floating nav: once scrolled past the hero CTA, fade in the translucent chrome */
#mainNav.scrolled-past-hero:not(.nav-static) {
  background-color: rgba(65, 63, 63, 0.59);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

nav.nav-static .navbar {
  position: relative;
}

.navbar {
  height: var(--nav-height);
  padding: 0.5rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: var(--text-color-light);
}

.navbar-brand img {
  height: 48px;
  width: 48px;
  margin-right: 10px;
}

.navbar-brand span {
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-xl);
  color: var(--text-color-light);
}

.navbar-brand:hover {
  color: var(--text-color-light);
  text-decoration: none;
}

@media (max-width: 420px) {
  .navbar-brand span {
    display: none;
  }
}

.navbar-toggler {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.navbar-toggler:hover {
  opacity: 1;
}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 1001;
}

.language-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  margin: 0 8px;
  color: var(--text-color-light);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.language-selector-btn:hover {
  color: var(--accent-color);
}

.language-selector-btn .current-lang {
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.language-selector-btn .chevron-icon {
  opacity: 0.7;
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.language-selector-btn:hover .chevron-icon {
  opacity: 1;
}

.language-selector.open .language-selector-btn .chevron-icon {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(30, 30, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.language-selector.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown-header {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-list {
  padding: 0.5rem 0;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.875rem;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.language-option.active {
  background: rgba(254, 150, 21, 0.2);
  color: var(--accent-color);
}

.language-option .lang-native {
  font-weight: 500;
}

.language-option .lang-code {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

/* Language dropdown scrollbar */
.language-dropdown::-webkit-scrollbar {
  width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.language-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Desktop: Show desktop selector, hide mobile selector */
@media (min-width: 992px) {
  .language-selector-mobile {
    display: none !important;
  }

  .language-selector-desktop {
    display: block;
    margin-right: 0;
  }

  .language-selector-desktop .language-dropdown {
    left: 0;
    right: auto;
  }
}

/* Mobile: Show mobile selector, hide desktop selector */
@media (max-width: 991px) {
  .language-selector-mobile {
    display: block;
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .language-selector-desktop {
    display: none !important;
  }

  .language-selector-mobile .language-dropdown {
    right: 0;
    min-width: 180px;
  }
}

.navbar-collapse {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  margin: 0 8px;
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.nav-link.icon {
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
}

.navbar-nav-svg {
  fill: var(--text-color-light);
  height: 20px;
  transition: fill 0.3s ease;
}

.navbar-nav-svg:hover {
  fill: var(--accent-color);
}

.div-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

/* Social icons container - always horizontal */
.social-icons-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.social-icons-group li {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.nav-download-li {
  display: none !important;
}

#mainNav.scrolled-past-hero .nav-download-li {
  display: inline-flex !important;
  align-items: center;
}

#mainNav.scrolled-past-hero [data-hide-on-scroll-past-hero] {
  display: none !important;
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 8px 12px;
  color: var(--text-color-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-download-btn:hover,
.nav-download-btn:focus {
  color: var(--text-color-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 24, 1, 0.35);
}

.nav-download-btn .bi-download {
  width: 15px;
  height: 15px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(65, 63, 63, 0.816);
    text-align: center;
    padding: 1rem 0;
  }
  .navbar-collapse.show {
    display: flex;
  }
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  .nav-link {
    margin: 0.5rem 0;
  }

  /* Keep .div-inline horizontal on mobile */
  .div-inline {
    flex-direction: column !important;
    width: 100%;
  }

  /* Keep social icons in single row on mobile - centered */
  .social-icons-group {
    flex-direction: row !important;
    justify-content: center !important;
    width: 100%;
    margin-top: 1rem;
    gap: 0;
  }

  .social-icons-group .nav-link.icon {
    margin: 0 4px;
    padding: 0.5rem;
  }
}

/* ================================
   BANNER SECTION
   ================================ */

.banner-section {
  min-height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#000A2E 60%, white);
  user-select: none;
  padding-bottom: 6rem;
}

.banner-section .vtl {
  position: absolute;
  top: -10%;
  left: -20px;
}

.banner-section .vbr {
  position: absolute;
  bottom: 10%;
  right: -20px;
}

.banner-section .stars-left {
  position: absolute;
  left: 0px;
  top: 10%;
  opacity: 0.7;
  isolation: isolate;
}

.banner-section .stars-right {
  position: absolute;
  right: 0px;
  top: 5%;
  opacity: 0.7;
  isolation: isolate;
}

.banner-section .content-container {
  color: var(--text-color-light);
  position: relative;
  z-index: 8;
  font-family: var(--font-montserrat-bold);
  /*
   * Top padding: nav-height (62px) + ~48px breathing room.
   * Tuned for the 2-line headline + 2-3 line tagline combo so the title anchors
   * near the upper third of the hero rather than floating mid-section.
   */
  padding-top: 110px;
}

@media all and (max-width: 690px) {
  .banner-section .content-container {
    /* Slightly more on phones because the tagline wraps to more lines, but still
     * keep the title within reach of the nav so the hero feels anchored at top. */
    padding-top: 120px;
  }
}

.banner-section .brand-text {
  margin-top: 8px;
  width: 100%;
  max-width: 1280px;
}

.banner-section .brand-text h1 {
  /*
   * Font scale tuned so the long gradient line "Stay creative with AI by your side." (~35 chars,
   * intrinsic width ≈ font-size × 17.7px in Montserrat Bold) fits on a single visual line inside
   * Bootstrap's .container max-widths at every breakpoint:
   *   576–767px viewport → .container = 540px (usable 510)  → see @media cap below
   *   768–991px viewport → .container = 720px (usable 690)  → need font ≤ ~39px → 4vw caps at 39.6
   *   992–1199px viewport → .container = 960px              → comfortable
   *   1200px+ viewport    → .container ≥ 1140px              → comfortable, cap at 3.5rem (56px)
   */
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  /* If a line still has to wrap (long translation, very narrow phone), balance the break points */
  text-wrap: balance;
}

/*
 * In Bootstrap's "small" range (576-767px viewport), .container is hard-clamped to 540px even
 * as the viewport widens — which would force us to cap the H1 around 28px and create a visible
 * "small title" zone. Instead, unlock the container max-width here so the H1 (and tagline below)
 * can use the full viewport minus a side gutter. With ~700px of available width at viewport 767,
 * the 4vw scale (30.7px at 767) fits the gradient line on one row with comfortable margin, and
 * the title visibly grows with viewport instead of being stuck at the 28px cap.
 *
 * The transition into the 768+ zone is now smooth (4vw = same on both sides of the breakpoint),
 * so the title no longer "shrinks" awkwardly when the viewport crosses 768px.
 */
@media (min-width: 576px) and (max-width: 767.98px) {
  .banner-section .content-container {
    max-width: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.banner-section .brand-text span {
  font-family: var(--font-montserrat);
}

/* Two-line hero title: stacked spans, gradient sweep on the second line. */
.banner-section .brand-text h1.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
}

.banner-section .brand-text h1.hero-title > span {
  display: block;
  /* Inherit the bold heading font, not the body montserrat from the sibling-span rule above */
  font-family: var(--font-montserrat-bold);
}

.banner-section .brand-text h1 .hero-gradient-text {
  /*
   * Both lines render at the same font-size (inherited from the h1 clamp).
   * Previously the gradient line was scaled to 0.85em to tighten the width
   * ratio with the shorter line above — removed at design request so both
   * lines have identical type size.
   */
  /* Slightly tighter tracking to feel cohesive against the bolder line above */
  letter-spacing: -0.015em;
  /*
   * Phoenix Gold gradient — same orange→gold sweep used by .phoenix-pro-label .pro-text
   * so the hero headline shares brand DNA with the Pro / pricing surface.
   */
  background: linear-gradient(90deg, #ff8c42 0%, #ffa500 35%, #ffcc70 70%, #ffd700 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Prevent descenders/diacritics being clipped by background-clip on some browsers */
  padding-bottom: 0.08em;
}

.banner-section .brand-description {
  display: block;
  margin-bottom: 1.25rem;
  max-width: 720px;
  /* Slightly muted body text so the <strong> emphasis phrases read as bright-white */
  color: rgba(255, 255, 255, 0.72);
}

.banner-section .brand-description strong {
  /* Emphasis phrases: full-bright white + heavier weight than the surrounding body */
  color: #ffffff;
  font-weight: 700;
}

/* Video caption — frames the demo below without competing with H1 */
.hero-video-title {
  margin: 1.75rem 0 0.6rem;
  font-family: var(--font-montserrat-semi-bold);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Linux install hint — small caption above the wget command card */
.linux-install-hint {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Hero Demo Video — sibling of .content-container, can use full banner width */
.hero-demo-video {
  width: 90%;
  max-width: 1500px;
  margin: 5rem auto 1rem;
  position: relative;
  z-index: 9;
}

.hero-demo-video video-player {
  display: block;
  width: 100%;
  --video-max-width: 100%;
  --video-max-height: 70vh;
  --video-border-radius: 18px;
  --video-box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 30px rgba(0, 0, 0, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 160px rgba(120, 170, 255, 0.12);
}

/* Hero download count — sits just below the download button */
.hero-download-count {
  display: block;
  font-family: var(--font-montserrat-semi-bold);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-download-count #downloadCount {
  font-family: var(--font-montserrat-bold);
}

/* Tablet — keep some viewport-tall presence but loosen padding */
@media (max-width: 992px) {
  .hero-demo-video {
    width: 90%;
    margin-top: 4rem;
  }
}

/* Match banner bottom padding to .updates-block effective padding-top
   (set by .landing-section shorthand in landing-sections.css) so the
   spacing above and below the clouds stays equidistant. */
@media (max-width: 991px) {
  .banner-section {
    min-height: auto;
    padding-bottom: 3rem;   /* 48px — matches .landing-section padding at ≤991px */
  }
}

/* Mobile — content-sized hero so video sits next to the clouds, not stranded above */
@media (max-width: 768px) {
  .hero-demo-video {
    width: 88%;
    max-width: 100%;
    margin: 2.5rem auto 0;
  }
  .hero-demo-video video-player {
    --video-border-radius: 12px;
  }
  .hero-download-count {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .banner-section {
    padding-bottom: 2.5rem; /* 40px — matches .landing-section padding at ≤767px */
  }
}

/* Small mobile — even tighter spacing */
@media (max-width: 575px) {
  .banner-section {
    padding-bottom: 2rem;   /* 32px — matches .landing-section padding at ≤575px */
  }
}

@media (max-width: 480px) {
  .hero-demo-video {
    width: 90%;
    margin-top: 2rem;
  }
}

.banner-section .cloud {
  position: absolute;
  bottom: 0;
  width: 100%;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Shooting Stars */
.sky {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotateZ(136deg);
  top: -182px;
  left: 472px;
  z-index: 2;
  opacity: 0.5;
}

.star {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  border-radius: 885px;
  background: linear-gradient(-45deg, #eef0f5, rgba(0, 0, 255, 0));
  filter: drop-shadow(0 0 6px #d7dff0);
  animation: tail 5000ms ease-in-out infinite, shooting 5000ms ease-in-out infinite;
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  height: 2px;
  background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #eaeef8, rgba(0, 0, 255, 0));
  transform: translateX(50%) rotateZ(45deg);
  border-radius: 100%;
  animation: shining 3000ms ease-in-out infinite;
}

.star::after {
  transform: translateX(50%) rotateZ(-45deg);
}

.star:nth-child(1) {
  top: calc(50% - -119px);
  left: calc(50% - 43px);
}

.star:nth-child(1)::before,
.star:nth-child(1)::after {
  animation-delay: 12000ms;
}

.star:nth-child(2) {
  top: calc(50% - -100px);
  left: calc(50% - 137px);
  animation-delay: 5000ms;
}

.star:nth-child(2)::before,
.star:nth-child(2)::after {
  animation-delay: 10000ms;
}

.star:nth-child(3) {
  top: calc(50% - -90px);
  left: calc(50% - 222px);
  animation-delay: 7000ms;
}

.star:nth-child(3)::before,
.star:nth-child(3)::after {
  animation-delay: 7000ms;
}

.star:nth-child(4) {
  top: calc(50% - -129px);
  left: calc(50% - 213px);
  animation-delay: 7000ms;
}

.star:nth-child(4)::before,
.star:nth-child(4)::after {
  animation-delay: 7000ms;
}

@keyframes tail {
  0% { width: 0; }
  30% { width: 100px; }
  100% { width: 0; }
}

@keyframes shining {
  0% { width: 0; }
  50% { width: 30px; }
  100% { width: 0; }
}

@keyframes shooting {
  0% { transform: translateX(0); }
  100% { transform: translateX(500px); }
}

.launch-btn {
  height: 50px;
  width: 100%;
  min-width: 350px;
  margin-top: 20px;
}

/* ================================
   DOWNLOAD BUTTON
   ================================ */

.instruction {
  font-family: var(--font-montserrat);
  font-weight: lighter;
}

.copied {
  color: var(--color-success-dark);
  background-color: rgba(255, 255, 255, 0.75);
  position: absolute;
  top: 50%;
  left: -110px;
  width: 100px;
  transform: translateY(-50%);
  padding: 5px;
  border-radius: 6px;
  font-size: small;
  animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: 70px;
  min-width: 350px;
  position: relative;
  margin: 0 auto;
}

.download-button.linux-mode {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .download-button {
    min-width: 280px;
    width: 95%;
    margin: 0 auto;
  }

  .download-button.linux-mode {
    width: 95%;
    max-width: 95%;
  }
}

.download-button .btn {
  flex: 1;
  height: 100%;
  background-color: transparent;
  border: none;
  color: white;
}

.download-button .ddntoggle {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  flex-shrink: 0;
  flex-grow: 0;
}

.download-button .dropdown-link {
  font-size: var(--font-size-xs);
  color: var(--link-color);
  text-decoration: none;
}

.download-button .dropdown-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
  transform: translateX(3px);
}

#dropdownMenu {
  min-width: 300px;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 8px 0;
  display: none;
  position: fixed;
  z-index: 1000;
  margin: 0;
  font-family: "Montserrat Bold", var(--font-montserrat-bold);
  font-size: 16px;
  line-height: 24px;
  color: rgb(33, 37, 41);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

#dropdownMenu.show {
  display: block;
}

#dropdownMenu .dropdown-item {
  display: block;
  width: 100%;
  padding: 4px 24px;
  clear: both;
  font-family: "Montserrat Bold", var(--font-montserrat-bold);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(33, 37, 41);
  text-align: left;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

#dropdownMenu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--accent-color);
}

#dropdownMenu .dropdown-item.disabled {
  display: block;
  clear: both;
  padding: 4px 24px;
  font-family: "Montserrat Bold", var(--font-montserrat-bold);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(108, 117, 125);
  opacity: 0.6;
  pointer-events: none;
  background-color: transparent;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

#dropdownMenu .dropdown-divider {
  height: 0;
  margin: 0.4rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

#dropdownMenu .dropdown-link {
  display: inline;
  font-family: "Montserrat Bold", var(--font-montserrat-bold);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: rgb(74, 120, 191);
  text-decoration: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

#dropdownMenu .dropdown-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

#codeSnippet {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  justify-content: center;
  user-select: text;
  background-color: rgb(244, 226, 218) !important;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-monospace);
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  #codeSnippet {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    justify-content: flex-start;
  }

  #dropdownMenu {
    max-height: 280px;
    overflow-y: auto;
  }
}

#copy,
#linuxCopyBtn {
  background-color: rgb(244, 226, 218) !important;
  width: 50px;
  flex-shrink: 0;
}

#linuxCodeContainer {
  flex: 1 1 auto;
  max-width: calc(100% - 100px);
  position: relative;
}

#linuxCodeContainer #codeSnippet {
  padding-right: 2.25rem;
}

.linux-source-link {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  z-index: 2;
}

.linux-source-link:hover,
.linux-source-link:focus-visible {
  color: #d9461f;
  background-color: rgba(0, 0, 0, 0.06);
  text-decoration: none;
  outline: none;
}

/* Mobile styles for Linux copy button */
@media (max-width: 768px) {
  #linuxCodeContainer {
    display: none !important;
  }

  #linuxCopyBtn {
    width: calc(100% - 50px) !important;
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #linuxCopyBtn svg {
    margin-right: 8px;
  }

  #linuxCopyBtn::after {
    content: "Copy Install Script";
  }
}

.linux-more {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.linux-more .text {
  color: var(--text-color-light);
  font-weight: bold;
}

@media (max-width: 768px) {
  .linux-more {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

.btn-group {
  position: relative;
  display: flex;
  vertical-align: middle;
}

/* ================================
   MEET PHOENIX SECTION
   ================================ */

.meet-phoenix-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

.meet-phoenix-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.meet-phoenix-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
}

.meet-phoenix-info {
  text-align: left;
}

.meet-phoenix-title {
  font-family: var(--font-montserrat-bold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.meet-phoenix-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-md);
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.supported-systems {
  display: inline-block;
}

.supported-systems img {
  max-width: 280px;
  height: auto;
  transition: all 0.3s ease;
}

.supported-systems img:hover {
  transform: scale(1.01);
}

/* Responsive */
@media (max-width: 992px) {
  .meet-phoenix-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .meet-phoenix-image {
    order: 1;
  }

  .meet-phoenix-info {
    order: 2;
    text-align: center;
  }

  .meet-phoenix-image img {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .meet-phoenix-section {
    padding: 3rem 0;
  }

  .meet-phoenix-image img {
    max-width: 350px;
  }

  .supported-systems img {
    max-width: 220px;
  }
}

/* ================================
   FEATURES SECTION
   ================================ */

.features-section {
  background-color: #282727;
  color: var(--text-color-light);
  padding: 5rem 0;
}

/* Section Header */
.features-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-label {
  display: inline-block;
  font-family: var(--font-montserrat-semi-bold);
  font-size: var(--font-size-s);
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.features-title {
  font-family: var(--font-montserrat-bold);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-color-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.features-subtitle {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Feature */
.feature-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.feature-hero:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(254, 150, 21, 0.2);
}

.feature-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(254, 150, 21, 0.15);
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.feature-hero-icon {
  width: 24px;
  height: 24px;
}

.feature-hero-badge span {
  font-family: var(--font-montserrat-semi-bold);
  font-size: var(--font-size-s);
  color: var(--accent-color);
}

.feature-hero-title {
  font-family: var(--font-montserrat-bold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-color-light);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-hero-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-hero-video {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-hero-video video-player {
  display: block;
}

/* Feature Link */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-montserrat-semi-bold);
  font-size: var(--font-size-s);
  color: var(--accent-color);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.feature-link:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

.feature-link .arrow {
  transition: transform 0.2s ease;
}

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

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Home page feature cards - unique names to avoid conflict with pricing.css */
.home-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.home-feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(254, 150, 21, 0.2);
  transform: translateY(-4px);
}

.home-feature-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.home-feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-feature-card-icon.extension-icon {
  color: var(--accent-color);
}

.home-feature-card-title {
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

.home-feature-card-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-s);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 0 2rem 0;
}

.tech-stack-label,
.tech-stack-more {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.6);
}

.tech-stack-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-icon {
  width: 100px;
  height: 100px;
  transition: transform 0.2s ease;
}

.tech-icon:hover {
  transform: scale(1.1);
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Video Container (used by video-player component) */
.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-container .feature-video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: block;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.video-container:hover .video-controls {
  opacity: 1;
}

.play-pause-btn,
.fullscreen-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.play-pause-btn:hover,
.fullscreen-btn:hover {
  transform: scale(1.1);
}

.play-pause-btn svg,
.fullscreen-btn svg {
  width: 24px;
  height: 24px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.progress-filled {
  height: 100%;
  background: var(--accent-color);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 3px;
}

/* Features Section Responsive */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .feature-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .feature-hero-content {
    order: 1;
  }

  .feature-hero-video {
    order: 2;
  }

  .feature-hero-badge {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 3rem 0;
  }

  .features-section-header {
    margin-bottom: 2.5rem;
  }

  .features-subtitle {
    font-size: var(--font-size-md);
  }

  .feature-hero {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .home-feature-card {
    padding: 1.5rem;
  }

  .tech-stack {
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem 0 1.5rem 0;
  }

  .tech-icon {
    width: 80px;
    height: 80px;
  }

  .tech-stack-label,
  .tech-stack-more {
    font-size: var(--font-size-lg);
  }

  /* Show video controls by default on mobile */
  .video-controls {
    opacity: 1;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .play-pause-btn,
  .fullscreen-btn {
    width: 28px;
    height: 28px;
  }

  .play-pause-btn svg,
  .fullscreen-btn svg {
    width: 20px;
    height: 20px;
  }

  .progress-bar {
    height: 5px;
  }
}

@media (max-width: 480px) {
  .feature-hero-title {
    font-size: var(--font-size-xl);
  }

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

  .tech-icon {
    width: 60px;
    height: 60px;
  }

  .tech-stack-label,
  .tech-stack-more {
    font-size: var(--font-size-md);
  }
}

/* ================================
   HOME PAGE - LIVE PREVIEW HERO SECTION
   ================================ */

.live-preview-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.live-preview-header {
    margin-bottom: 3.5rem;
}

.live-preview-title {
    font-family: var(--font-montserrat-bold);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1d1d1f;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.live-preview-description {
    font-family: var(--font-montserrat);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: #6e6e73;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.live-preview-video {
    width: 100%;
}

.live-preview-video video-player {
    display: block;
    width: 100%;
    --video-max-width: 100%;
    --video-border-radius: 16px;
    --video-box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.06),
        0 48px 96px rgba(0, 0, 0, 0.08);
}

.pro-disclaimer {
    font-family: var(--font-montserrat);
    font-size: 0.8rem;
    color: #86868b;
    margin-top: 2.5rem;
    font-style: normal;
    letter-spacing: 0.01em;
}

/* ================================
   HOME PAGE - VISUAL EDITING SECTION
   ================================ */

.visual-editing-section {
    background-color: var(--background-color-dark);
    padding: 5rem 0;
}

/* Increase spacing between feature cards */
.visual-editing-section .col-lg-6,
.community-features-section .col-lg-6 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    margin-bottom: 2.5rem !important;
}

/* Remove bottom margin from last row of cards (desktop: 2 columns) */
@media (min-width: 768px) {
    .visual-editing-section .row.g-4 > .col-lg-6:nth-last-child(-n+2),
    .community-features-section .row.g-4 > .col-lg-6:nth-last-child(-n+2) {
        margin-bottom: 0 !important;
    }
}

/* Remove bottom margin only from last card (mobile: single column) */
@media (max-width: 767px) {
    .visual-editing-section .row.g-4 > .col-lg-6:last-child,
    .community-features-section .row.g-4 > .col-lg-6:last-child {
        margin-bottom: 0 !important;
    }
}

.visual-editing-header {
    margin-bottom: 3rem;
}

/* Phoenix Pro section label */
.phoenix-pro-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-montserrat-semi-bold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    color: var(--text-color-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phoenix-pro-label:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.phoenix-pro-label .pro-text {
    background: linear-gradient(45deg, #ff8c42, #ffa500, #ffcc70, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.phoenix-pro-label .fa-feather {
    color: #ffa500;
}

/* Pro badge on feature cards */
.pro-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 20px;
    font-family: var(--font-montserrat-semi-bold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffa500;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.pro-card-badge:hover {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.25) 0%, rgba(255, 165, 0, 0.2) 100%);
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffcc70;
    text-decoration: none;
    transform: translateY(-1px);
}

.pro-card-badge .fa-feather {
    font-size: 0.65rem;
}

/* Start Free Trial CTA at end of Pro features section */
.trial-cta-wrap {
    margin-top: 3.5rem;
}

.trial-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa500 50%, #ffcc70 100%);
    color: #1a0f00;
    font-family: var(--font-montserrat-bold);
    font-size: 0.9rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-wrap: balance;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.25);
}

.trial-cta:hover {
    color: #1a0f00;
    text-decoration: none;
}

.trial-cta .fa-arrow-right {
    font-size: 0.85rem;
}

.trial-cta-note {
    margin: 0.85rem 0 0;
    font-family: var(--font-montserrat);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.trial-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    font-family: var(--font-montserrat-semi-bold);
    font-size: 0.85rem;
    color: rgba(255, 204, 112, 0.85);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.trial-cta-secondary:hover {
    color: #ffd089;
    text-decoration: none;
}

.trial-cta-secondary .fa-arrow-right {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.trial-cta-secondary:hover .fa-arrow-right {
    transform: translateX(3px);
}

/* Make feature card position relative for badge positioning */
.visual-editing-section .feature-card {
    position: relative;
}

.visual-editing-title {
    font-family: var(--font-montserrat-bold);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-color-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.visual-editing-description {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================
   HOME PAGE - COMMUNITY FEATURES SECTION
   ================================ */

.community-features-section {
    background-color: var(--background-color-dark);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.community-features-header {
    margin-bottom: 3rem;
}

.community-features-title {
    font-family: var(--font-montserrat-bold);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-color-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.community-features-subtitle {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Community Edition - Hero Feature Section */
.feature-hero-section {
    margin-bottom: 5rem;
}

.feature-hero-video {
    width: 100%;
    margin-bottom: 2rem;
}

.feature-hero-video video-player {
    display: block;
    width: 100%;
    --video-max-width: 100%;
    --video-border-radius: 16px;
    --video-box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 32px 64px rgba(0, 0, 0, 0.16);
}

.feature-hero-info {
    text-align: center;
}

.feature-hero-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.feature-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-hero-title {
    font-family: var(--font-montserrat-bold);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
}

.feature-hero-description {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

/* Zig-Zag Feature Sections */
.feature-zigzag {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-zigzag.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.feature-zigzag.reverse .feature-zigzag-video {
    order: 2;
}

.feature-zigzag.reverse .feature-zigzag-content {
    order: 1;
}

.feature-zigzag-video,
.feature-zigzag-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 32px 64px rgba(0, 0, 0, 0.16);
}

.feature-zigzag-video video,
.feature-zigzag-video img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-zigzag-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.feature-zigzag-content {
    padding: 1rem 0;
}

.feature-zigzag-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
}

.feature-zigzag-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-zigzag-title {
    font-family: var(--font-montserrat-bold);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
}

.feature-zigzag-description {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Responsive - Zig-Zag */
@media (max-width: 900px) {
    .feature-zigzag,
    .feature-zigzag.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-zigzag.reverse .feature-zigzag-video,
    .feature-zigzag.reverse .feature-zigzag-content {
        order: unset;
    }

    .feature-zigzag-content {
        text-align: center;
    }

    .feature-zigzag-icon {
        margin: 0 auto 1.25rem;
    }

    .feature-zigzag {
        margin-bottom: 4rem;
    }
}

@media (max-width: 576px) {
    .feature-hero-video,
    .feature-zigzag-video {
        border-radius: 12px;
    }

    .feature-hero-section {
        margin-bottom: 4rem;
    }

    .feature-zigzag {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }

    .feature-hero-icon,
    .feature-zigzag-icon {
        width: 36px;
        height: 36px;
    }
}

/* ================================
   HOME PAGE - FEATURE CARD WITH INLINE ICON
   ================================ */

.feature-card-header-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-inline-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-inline-icon-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--accent-color);
}

.feature-card-header-inline .feature-card-title {
    margin-bottom: 0;
}

/* Community feature cards - blue tint instead of orange */
.community-feature-card .feature-card-image {
    background: linear-gradient(135deg, rgba(74, 120, 191, 0.2) 0%, rgba(84, 63, 215, 0.15) 100%);
}

/* Placeholder images styling */
.placeholder-image {
    object-fit: contain;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
}

/* ================================
   HOME PAGE SECTIONS - RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .live-preview-hero {
        padding: 4rem 0 3rem;
    }

    .live-preview-header {
        margin-bottom: 2.5rem;
    }

    .live-preview-description {
        font-size: var(--font-size-md);
    }

    .live-preview-video video-player,
    .community-hero-video video-player {
        --video-border-radius: 12px;
        --video-box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.02),
            0 8px 16px rgba(0, 0, 0, 0.04),
            0 16px 32px rgba(0, 0, 0, 0.06);
    }

    .visual-editing-section,
    .community-features-section {
        padding: 3rem 0;
    }

    .visual-editing-header,
    .community-features-header {
        margin-bottom: 2rem;
    }

    .visual-editing-description,
    .community-features-subtitle {
        font-size: var(--font-size-md);
    }

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

    .pro-disclaimer {
        font-size: 0.7rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .live-preview-hero {
        padding: 3rem 0 2.5rem;
    }

    .live-preview-video video-player,
    .community-hero-video video-player {
        --video-border-radius: 10px;
    }

    .live-preview-title,
    .visual-editing-title,
    .community-features-title {
        font-size: var(--font-size-xl);
    }

    .feature-card-header-inline {
        gap: 0.5rem;
    }

    .feature-inline-icon,
    .feature-inline-icon-svg {
        width: 24px;
        height: 24px;
    }
}

/* ================================
   CTA ILLUSTRATION
   ================================ */

.illustration {
  background-color: white;
  padding: 3rem 0;
}

.illustration img {
  max-width: 570px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  color: var(--text-color-light);
  background: url('../assets/images/borderline.png'), linear-gradient(#282727, #282727);
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 2rem 1rem;
}

@media all and (max-width: 500px) {
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer-items a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

@media all and (max-width: 690px) {
  .footer-items a {
    display: block;
  }
}

.footer-items a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .copyright {
  color: var(--text-color-gray);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================
   ABOUT PAGE
   ================================ */

.about-body {
  background-color: var(--background-color-dark);
  color: var(--text-color-light);
  min-height: 100vh;
}

/* Timeline Table Styles */
.timeline-section {
  padding: 2rem 0;
}

.timeline-section .section-title {
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-xxl);
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
}

.timeline-section .section-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.timeline-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
}

.timeline-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.timeline-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(5px);
}

.timeline-table tbody tr:last-child {
  border-bottom: none;
}

.timeline-table td {
  padding: 1.5rem 1rem;
  vertical-align: top;
}

.timeline-table td:first-child {
  width: 150px;
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-lg);
  color: var(--accent-color);
  white-space: nowrap;
}

.timeline-year {
  display: block;
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-lg);
  color: var(--accent-color);
}

.timeline-title {
  font-family: var(--font-montserrat-semi-bold);
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-section .section-title {
    font-size: var(--font-size-xl);
  }

  .timeline-table td:first-child {
    width: 100px;
    font-size: var(--font-size-md);
  }

  .timeline-year {
    font-size: var(--font-size-md);
  }

  .timeline-title {
    font-size: var(--font-size-md);
  }

  .timeline-description {
    font-size: var(--font-size-s);
  }

  .timeline-table td {
    padding: 1rem 0.5rem;
  }
}

.about-body .main-heading {
  font-family: var(--font-montserrat-bold);
  font-style: italic;
  font-size: var(--font-size-xl);
}

.about-body .sub-heading {
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
}

.team img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.about-body p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-body section {
  padding: 2rem 0;
}

/* About page feature cards with inline Font Awesome icons */
.about-features {
  margin-top: 1.5rem;
}

.about-feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  height: 100%;
}

.about-feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-feature-card .sub-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-feature-card .feature-icon {
  color: var(--accent-color);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.about-feature-card .feature-description {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 768px) {
  .about-body .main-heading {
    font-size: var(--font-size-lg);
  }
  .about-body .sub-heading {
    font-size: var(--font-size-md);
  }

  .about-feature-card {
    padding: 1.25rem;
  }

  .about-feature-card .sub-heading {
    gap: 0.5rem;
    flex-direction: row;
    align-items: center;
  }

  .about-feature-card .feature-icon {
    font-size: 1.5rem;
  }
}

/* ================================
   NEW FOOTER STYLES
   ================================ */

.footer-new {
  background: linear-gradient(180deg, #1a1a1a 0%, #282727 100%);
  color: var(--text-color-light);
  position: relative;
  padding-top: 0;
}

.footer-gradient-border {
  height: 4px;
  background: linear-gradient(90deg, #FAAA47 0%, #FA1801 50%, #FAAA47 100%);
  width: 100%;
}

.footer-main {
  margin-bottom: 2rem;
}

.footer-column {
  height: 100%;
}

.footer-logo-section {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.footer-brand {
  font-family: var(--font-montserrat-bold);
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
  margin: 0;
}

.footer-tagline {
  font-family: var(--font-montserrat-medium);
  font-size: var(--font-size-md);
  color: var(--accent-color);
  margin: 0.25rem 0 0 0;
}

.footer-description {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-s);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-heading {
  font-family: var(--font-montserrat-semi-bold);
  font-size: var(--font-size-md);
  color: var(--text-color-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-s);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

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

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--text-color-light);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--accent-color);
  color: #282727;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(250, 170, 71, 0.3);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-made-with {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-s);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-built-by {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.45);
  margin: 0.5rem 0 0;
}

.footer-built-by .primary-link {
  color: inherit;
}

.footer-built-by .primary-link:hover {
  color: var(--accent-color);
}

.footer-migrate-brackets {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-xs);
  margin: 0.5rem 0 0;
}

.footer-migrate-brackets a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-migrate-brackets a:hover {
  color: var(--accent-color);
}

.footer-migrate-brackets .brackets-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
}

.heart-icon {
  color: #ff4757;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1); }
  20%, 40% { transform: scale(1); }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-copyright {
  font-family: var(--font-montserrat);
  font-size: var(--font-size-s);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media (max-width: 991px) {
  .footer-main {
    text-align: center;
  }

  .footer-logo-section {
    justify-content: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-column {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-new {
    padding-bottom: 2rem;
  }

  .footer-logo {
    width: 40px;
    height: 40px;
  }

  .footer-brand {
    font-size: var(--font-size-md);
  }

  .footer-heading {
    font-size: var(--font-size-s);
    margin-bottom: 0.75rem;
  }

  .footer-description,
  .footer-made-with {
    font-size: var(--font-size-xs);
  }

  .footer-links li {
    margin-bottom: 0.35rem;
  }

  .footer-links a {
    font-size: var(--font-size-xs);
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
  }

  .footer-social-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-column {
    margin-bottom: 1.5rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .footer-copyright {
    font-size: var(--font-size-xs);
  }
}


/* ================================
   RTL (Right-to-Left) Language Support
   ================================ */

/* Prevent horizontal overflow in RTL mode - only at root level */
[dir="rtl"] {
  overflow-x: hidden;
}

/* Banner section - keep decorative elements in normal flow */
[dir="rtl"] .banner-section {
  direction: ltr; /* Keep banner layout LTR */
}

/* But allow text content to be RTL */
[dir="rtl"] .banner-section .brand-text,
[dir="rtl"] .banner-section .content-container {
  direction: rtl;
}

/* Language selector RTL adjustments */
[dir="rtl"] .language-selector {
  margin-left: 0.5rem;
  margin-right: auto;
}

[dir="rtl"] .language-dropdown {
  right: auto;
  left: 0;
}

/* Navbar RTL adjustments */
[dir="rtl"] .navbar-brand {
  margin-right: 0;
  margin-left: auto;
}

/* Feature sections - keep arrows pointing correctly */
[dir="rtl"] .feature-link .arrow {
  display: inline-block;
  transform: scaleX(-1);
}

/* Footer RTL adjustments */
[dir="rtl"] .footer-social-icons {
  direction: ltr;
}

/* Download dropdown RTL */
[dir="rtl"] .dropdown-menu {
  right: auto;
  left: 0;
  text-align: right;
}

/* Mobile RTL adjustments */
@media (max-width: 991px) {
  [dir="rtl"] .language-selector {
    margin-left: 0.25rem;
    margin-right: auto;
  }

  [dir="rtl"] .language-dropdown {
    left: auto;
    right: -50px;
  }
}


/* ===== core.ai site overrides ===== */
/* Plain footer social icons — no pill background, no hover lift */
.footer-social-icons { gap: 18px; }
.footer-social-link {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}
.footer-social-link:hover {
  background: none;
  transform: none;
  box-shadow: none;
  opacity: 0.75;
}

