/* ==========================================================================
   Daff LCP - Enterprise Landing Page Stylesheet
   Alternating Dark / Light Rhythm with Clean Khaki Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700&family=Geist:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Vazirmatn:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  /* Typography */
  --font-sans: 'Vazirmatn', 'Geist', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Vazirmatn', 'Geist', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'Vazirmatn', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Global Layout Gutters (Guaranteed equal left and right margins) */
  --page-gutter: 24px;
  --page-gutter-mobile: 18px;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 96px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Accent Colors (Khaki / Warm Wheat Gold) */
  --color-accent: #f0e2c0;
  --color-accent-fill: #f0e2c0;
  --color-accent-foreground: #141414;
  --color-accent-soft: rgba(240, 226, 192, 0.12);
  --color-accent-glow: rgba(240, 226, 192, 0.35);
  --color-accent-light-theme: #997d39;

  /* Dark Sections Palette (Rich Graphite / Charcoal - Not Pure Black) */
  --dark-bg: #1e1f1c;
  --dark-bg-subtle: #252623;
  --dark-bg-elevated: #2c2d29;
  --dark-border: #32332e;
  --dark-border-soft: #3f403a;
  --dark-text: #ffffff;
  --dark-text-muted: #a7a8a1;
  --dark-text-tertiary: #75766f;

  /* Light Sections Palette (Warm Ivory Executive White) */
  --light-bg: #f8f8f5;
  --light-bg-subtle: #ffffff;
  --light-border: rgba(0, 0, 0, 0.07);
  --light-border-soft: rgba(0, 0, 0, 0.12);
  --light-text: #141414;
  --light-text-muted: #54554f;
  --light-text-tertiary: #84857e;

  /* Header & Footer */
  --header-bg: rgba(28, 29, 26, 0.94);
  --footer-bg: #121310;
  --marquee-bg: #161714;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.14);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--dark-bg);
  color: var(--dark-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* 100% Fixed, Full Cover Hardware-Accelerated Body Background (bg.jpg) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: url('../bg.jpg') center center / cover no-repeat;
  pointer-events: none;
  will-change: transform;
}

[dir="rtl"] {
  text-align: right;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   Full-Width Section Rhythm (100% Width with Padded Inner Container)
   ========================================================================== */
.landing-scope {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.full-section {
  width: 100%;
  position: relative;
}

.container-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--page-gutter);
}

.container-inner-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--page-gutter);
}

/* ==========================================================================
   Dark Section Styles (Fixed bg-dark.jpg Background)
   ========================================================================== */
.section-dark {
  position: relative;
  background-color: transparent;
  background-image: url('../bg-dark.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--dark-text);
  border-bottom: 1px solid var(--dark-border);
}

.section-dark .section-badge {
  color: var(--color-accent-fill);
  background: rgba(240, 226, 192, 0.08);
  border: 1px solid rgba(240, 226, 192, 0.22);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: var(--dark-text-muted);
}

/* ==========================================================================
   Light Section Styles (Transparent Background - Shows Body bg.jpg)
   ========================================================================== */
.section-light {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--light-text);
  border-bottom: 1px solid var(--light-border);
}

.section-light .section-badge {
  color: var(--color-accent-light-theme);
  background: rgba(240, 226, 192, 0.35);
  border: 1px solid rgba(180, 150, 80, 0.3);
}

.section-light .section-title {
  color: var(--light-text);
}

.section-light .section-subtitle {
  color: var(--light-text-muted);
}

/* ==========================================================================
   Top Navigation Header & Responsive Navigation Drawer
   ========================================================================== */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--dark-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
}

.landing-nav-inner {
  width: 100%;
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-muted);
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100vw;
  background: rgba(20, 21, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 99;
  overflow-y: auto;
  max-height: calc(100vh - 64px);
}

.mobile-nav-drawer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-drawer-inner {
  padding: 24px var(--page-gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: #d1d2cc;
  padding: 12px 14px;
  border-radius: 8px;
  transition: all 0.18s ease;
  display: block;
}

.mobile-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-cta {
  width: 100%;
  height: 44px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .landing-nav-inner {
    height: 58px;
    padding: 0 16px;
  }
  .nav-brand-group {
    gap: 0;
  }
  .nav-brand {
    gap: 8px;
  }
  .nav-logo-img {
    height: 28px;
    max-width: 32px;
  }
  .nav-brand-text {
    font-size: 17px;
    letter-spacing: -0.3px;
  }
  .nav-links {
    display: none !important;
  }
  .nav-btn-desktop {
    display: none !important;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-btn-cta {
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
  }
  .mobile-nav-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .mobile-nav-drawer {
    top: 58px;
    max-height: calc(100vh - 58px);
  }
  .mobile-nav-drawer-inner {
    padding: 20px 16px;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .landing-nav-inner {
    height: 54px;
    padding: 0 12px;
  }
  .nav-brand-text {
    font-size: 15.5px;
  }
  .nav-logo-img {
    height: 26px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-btn-cta {
    height: 32px;
    padding: 0 10px;
    font-size: 11.5px;
  }
  .mobile-nav-toggle {
    width: 34px;
    height: 34px;
  }
  .hamburger-bar {
    width: 16px;
  }
  .mobile-nav-drawer {
    top: 54px;
    max-height: calc(100vh - 54px);
  }
}

/* ==========================================================================
   Buttons (Refined Minimal Luxury & Consistent Geometry)
   ========================================================================== */
.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  height: 38px;
  padding: 0 20px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
  user-select: none;
}

.btn-primary {
  background: #f0e2c0;
  color: #121310;
  border: 1px solid rgba(240, 226, 192, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #f8f0dc;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(240, 226, 192, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active {
  transform: translateY(0);
}

.section-light .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--light-text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-light .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Button Variants & Placements */
.hero-cta-btn {
  height: 40px;
  padding: 0 24px;
  font-size: 13.5px;
}

.pricing-col-cta {
  width: 100%;
  height: 44px;
  margin-top: auto;
  font-size: 13.5px;
}

.cta-main-button {
  height: 46px;
  padding: 0 24px;
  font-size: 14px;
}

/* ==========================================================================
   Clean Minimalist Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: 0 16px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  white-space: nowrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.3;
  margin: 0 auto 12px;
  max-width: 860px;
}

.section-title-accent {
  display: inline;
}

.section-dark .section-title-accent,
.section-dark .hero-title-accent {
  color: var(--color-accent-fill);
}

.section-light .section-title-accent,
.section-light .prompt-creative-accent {
  color: var(--color-accent-light-theme);
}

.section-subtitle {
  font-size: clamp(14.5px, 1.3vw, 16px);
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto;
}

/* ==========================================================================
   1. HERO SECTION (Full Viewport Height Coverage)
   ========================================================================== */
.section-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--dark-bg);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fluid-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  filter: brightness(0.85);
}

.fluid-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-main-container {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title-accent {
  display: block;
  color: var(--color-accent-fill);
  font-size: 0.86em;
  font-weight: 800;
  margin-top: 4px;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--dark-text-muted);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-cta-btn {
  height: 44px;
  padding: 0 24px;
  font-size: 14.5px;
  font-weight: 700;
}

/* Hero Logo Fluid Stage & Vector Mask (Base / Desktop) */
.hero-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-logo-stage {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: clamp(320px, 30vw, 400px);
  aspect-ratio: 124 / 186;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: crosshair;
}

.hero-logo-glow-backdrop {
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle at center,
    rgba(240, 226, 192, 0.08) 0%,
    rgba(240, 226, 192, 0.02) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}

.hero-logo-composite-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(240, 226, 192, 0.4));
}

.hero-logo-mask-bg {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#heroLogoFluidCanvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Hero Responsive Breakpoints (Mobile / Tablet Overrides) */
@media (max-width: 960px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .hero-logo-col {
    order: 1; /* LOGO PLACED ON TOP OF TEXT IN MOBILE */
    width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-text-col {
    order: 2; /* TEXT PLACED UNDER LOGO IN MOBILE */
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .hero-logo-stage {
    width: 100%;
    max-width: 176px; /* Exactly 20% smaller than previous 220px */
    height: 264px;    /* Maintains precise 124 / 186 aspect ratio */
    aspect-ratio: 124 / 186;
  }
  .hero-logo-glow-backdrop {
    inset: -45%;
    background: radial-gradient(
      ellipse at 50% 45%,
      rgba(240, 226, 192, 0.22) 0%,
      rgba(240, 226, 192, 0.10) 35%,
      rgba(212, 175, 55, 0.04) 62%,
      transparent 80%
    );
    filter: blur(34px);
    animation: mobileGlowPulse 5.5s ease-in-out infinite alternate;
  }
  .hero-logo-composite-svg {
    filter: drop-shadow(0 0 32px rgba(240, 226, 192, 0.6)) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.7));
  }
  .hero-logo-mask-bg {
    opacity: 0.1;
  }
  .hero-title {
    font-size: clamp(24px, 5.8vw, 34px);
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
  .hero-cta-row {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-btn {
    height: 42px;
    padding: 0 20px;
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  .hero-logo-stage {
    max-width: clamp(140px, 42vw, 176px);
    height: auto;
    aspect-ratio: 124 / 186;
  }
}

@keyframes mobileGlowPulse {
  0% {
    transform: scale(0.92) translate(-2%, -2%);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.12) translate(3%, 3%);
    opacity: 1;
  }
  100% {
    transform: scale(0.98) translate(-1%, 2%);
    opacity: 0.85;
  }
}

/* Infinite Subsystem Marquee Ticker (Clean, Borderless, Transparent) */
.channel-strip {
  width: 100%;
  background: transparent;
  border: none;
  overflow: hidden;
  position: relative;
  z-index: 2;
  direction: ltr;
  padding: 16px 0 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
  position: relative;
  background: transparent;
}

.marquee-track {
  display: flex;
  flex-direction: row;
  width: max-content;
  will-change: transform;
  animation: landing-marquee 42s linear infinite;
  background: transparent;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes landing-marquee {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.channel-icon-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-text-muted);
  white-space: nowrap;
  user-select: none;
  direction: rtl;
  transition: color 0.2s ease;
  background: transparent;
}

.channel-icon-item:hover {
  background: transparent;
  color: #ffffff;
}

.channel-icon-svg {
  width: 17px;
  height: 17px;
  stroke: var(--color-accent-fill);
  color: var(--color-accent-fill);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.channel-icon-item:hover .channel-icon-svg {
  transform: scale(1.15);
}

/* ==========================================================================
   Editorial Section Headers (Squarespace Minimalist & Bold Hierarchy)
   ========================================================================== */
.section-header-editorial {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 68px);
  padding: 0 16px;
}

.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  white-space: nowrap;
  background: rgba(180, 150, 80, 0.12);
  color: var(--color-accent-light-theme);
  border: 1px solid rgba(180, 150, 80, 0.25);
  user-select: none;
}

.editorial-badge.dark {
  background: rgba(240, 226, 192, 0.08);
  color: var(--color-accent-fill);
  border: 1px solid rgba(240, 226, 192, 0.22);
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.28;
  margin: 0 auto 16px;
  color: var(--light-text);
}

.editorial-title.text-white {
  color: #ffffff;
}

.editorial-title-accent {
  color: var(--color-accent-light-theme);
}

.section-dark .editorial-title-accent {
  color: var(--color-accent-fill);
}

.editorial-subtitle {
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.8;
  color: var(--light-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.editorial-subtitle.text-muted {
  color: var(--dark-text-muted);
}

/* ==========================================================================
   2. DUAL AI PROMPT SHOWCASE (SPACIOUS MINIMAL EDITORIAL CHATBOXES)
   ========================================================================== */
.dual-chat-section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.dual-chat-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 900px) {
  .dual-chat-showcase-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
}

.chat-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  width: 100%;
}

@media (min-width: 900px) {
  .chat-column {
    padding: 0 32px;
  }
}

.dual-chat-divider {
  display: none;
}

@media (min-width: 900px) {
  .dual-chat-divider {
    display: block;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 280px;
    margin: 0;
  }
}

/* Header container with guaranteed equal height across both columns */
.chat-column-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 16px;
  min-height: 80px;
}

.chat-column-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--light-text);
  margin: 0;
  line-height: 1.35;
}

.chat-column-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--light-text-muted);
  margin: 0;
}

/* Spacious, High-End Minimal Chatbox (Equal Height and Equal Start Position) */
.sleek-chat-box {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 160px;
  flex: 1;
  height: 100%;
  padding: 20px 22px 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.sleek-chat-box:hover,
.sleek-chat-box:focus-within {
  border-color: rgba(180, 150, 80, 0.35);
  box-shadow: 0 8px 24px -2px rgba(180, 150, 80, 0.08);
  transform: translateY(-2px);
}

.chat-typewriter-area {
  display: flex;
  align-items: flex-start;
  min-height: 70px;
  flex: 1;
  text-align: right;
  direction: rtl;
  line-height: 1.85;
}

.chat-typed-text {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a18;
  white-space: normal;
  word-break: break-word;
  line-height: 1.85;
}

.chat-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--color-accent-light-theme);
  margin-right: 3px;
  animation: chat-cursor-blink 0.85s infinite;
  vertical-align: middle;
}

@keyframes chat-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Modern Sleek AI Prompt Submit Button (Circular & Minimalist) */
.chat-send-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #181915;
  color: #f0e2c0;
  border: 1px solid rgba(240, 226, 192, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  z-index: 2;
  padding: 0;
}

.chat-send-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.chat-send-btn:hover {
  background: #282924;
  color: #ffffff;
  border-color: rgba(240, 226, 192, 0.5);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-send-btn:hover svg {
  transform: translateY(-1px);
}

.chat-send-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   3. THE 4 EDITORIAL PILLARS (OPEN NUMBERED STREAM - ZERO BOXES)
   ========================================================================== */
.editorial-pillars-section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.open-numbered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 30px;
}

@media (min-width: 640px) {
  .open-numbered-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .open-numbered-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.open-step-col {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.open-step-col::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, #dab468, #f5e7c8);
  transition: width 0.35s ease;
}

.open-step-col:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 226, 192, 0.25);
}

.open-step-col:hover::before {
  width: 100%;
}

.open-step-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 20px;
  padding: 0;
}

.open-step-icon-wrap svg {
  width: 46px;
  height: 46px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.open-step-col:hover .open-step-icon-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

.open-step-col:hover .open-step-icon-wrap svg {
  transform: scale(1.08);
}

.open-step-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.open-step-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--dark-text-muted);
}

/* ==========================================================================
   4. ENTERPRISE CAPABILITIES (OPEN EDITORIAL FLOW - ZERO BOXES)
   ========================================================================== */
.open-capabilities-section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.open-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

@media (min-width: 640px) {
  .open-capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .open-capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.open-cap-item {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  transition: transform 0.25s ease;
}

.open-cap-item:hover {
  transform: translateY(-2px);
}

.open-cap-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 18px;
  padding: 0;
}

.open-cap-icon-wrap svg {
  width: 44px;
  height: 44px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.open-cap-item:hover .open-cap-icon-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

.open-cap-item:hover .open-cap-icon-wrap svg {
  transform: scale(1.08);
}

.open-cap-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--light-text);
  line-height: 1.35;
  margin-bottom: 10px;
}

.open-cap-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--light-text-muted);
}

/* ==========================================================================
   5. EDITIONS & PRICING MATRIX (OPEN COLUMN MATRIX - ZERO BOXES)
   ========================================================================== */
.open-pricing-section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.open-pricing-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
}

@media (min-width: 900px) {
  .open-pricing-matrix {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: none;
    padding-top: 0;
  }
}

.open-pricing-col {
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  background: transparent !important;
  border: none;
}

/* ONLY the middle column has vertical borders on both left and right (Zero background) */
@media (min-width: 900px) {
  .open-pricing-col {
    padding: 0 32px;
  }
  .open-pricing-col.featured,
  .open-pricing-col:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-bottom: none;
    background: transparent !important;
  }
}

@media (max-width: 899px) {
  .open-pricing-col {
    padding: 24px 0;
  }
  .open-pricing-col.featured,
  .open-pricing-col:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
  }
}

.open-tier-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}

.open-tier-tag.gold {
  color: var(--color-accent-fill);
  background: rgba(240, 226, 192, 0.1);
  border-color: rgba(240, 226, 192, 0.25);
}

.open-tier-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.open-price-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent-fill);
  margin-bottom: 12px;
}

.open-tier-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dark-text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.open-tier-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.open-feat-item {
  font-size: 13.5px;
  color: #e4e4df;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  transition: transform 0.2s ease, color 0.2s ease;
}

.open-feat-item.gold {
  color: #f5f4ef;
}

.feat-check-svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.feat-check-svg.gold {
  stroke: var(--color-accent-fill);
}

.open-feat-item:hover .feat-check-svg {
  stroke: var(--color-accent-fill);
  transform: scale(1.15);
}

.open-tier-action {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Sleek unified pricing tier buttons (same color, refined size) */
.pricing-tier-btn {
  height: 38px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(240, 226, 192, 0.12);
  color: var(--color-accent-fill);
  border: 1px solid rgba(240, 226, 192, 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.pricing-tier-btn:hover {
  background: #f0e2c0;
  color: #121310;
  border-color: #f0e2c0;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(240, 226, 192, 0.25);
}

.pricing-tier-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   6. MINIMALIST HAIRLINE FAQ ACCORDION (SQUARESPACE CLEAN ACCORDION)
   ========================================================================== */
.minimal-faq-section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.minimal-faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.minimal-faq-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  transition: background-color 0.2s ease;
}

.minimal-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  font-weight: 700;
  color: var(--light-text);
  transition: color 0.18s ease;
}

.minimal-faq-trigger:hover .faq-question-text {
  color: var(--color-accent-light-theme);
}

.faq-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--light-text);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-toggle-icon::before {
  top: 8px;
  left: 1px;
  right: 1px;
  height: 2px;
}

.faq-toggle-icon::after {
  left: 8px;
  top: 1px;
  bottom: 1px;
  width: 2px;
}

.minimal-faq-row.is-open .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.minimal-faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.25s ease;
  padding: 0 4px;
}

.minimal-faq-row.is-open .minimal-faq-content {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 22px;
}

.minimal-faq-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--light-text-muted);
}

/* ==========================================================================
   7. Minimal Editorial Footer Section (Centered Logo & Copyright)
   ========================================================================== */
.editorial-footer-section {
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(60px, 8vw, 90px);
  background-color: #121310;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.editorial-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.editorial-footer-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-top: 18px;
  margin-bottom: 16px;
  text-align: center;
}

.editorial-footer-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: #a7a8a1;
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.footer-center-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: clamp(40px, 5vw, 64px);
  gap: 12px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.footer-logo-link:hover {
  transform: scale(1.08);
}

.footer-center-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #f0e2c0;
  text-align: center;
}

.footer-en-copyright {
  font-size: 13px;
  font-family: var(--font-sans);
  color: #6d6e67;
  letter-spacing: 0.02em;
  margin-top: 8px;
  text-align: center;
  direction: ltr;
}

/* ==========================================================================
   8. FULL-HEIGHT WHITE CARD MODAL (TRANSPARENT GREY BACKDROP & PREMIUM FORM)
   ========================================================================== */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(17, 19, 24, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.modal-backdrop.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Full-Height Solid Crisp White Dialog Card */
.modal-dialog-card {
  width: 100% !important;
  max-width: 580px !important;
  min-height: 100vh !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: #ffffff !important;
  color: #18191d !important;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.28) !important;
  border-radius: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  margin: 0 auto !important;
  position: relative !important;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-backdrop.is-active .modal-dialog-card {
  transform: translateY(0) scale(1);
}

.modal-dialog-card::-webkit-scrollbar {
  width: 6px;
}
.modal-dialog-card::-webkit-scrollbar-track {
  background: #f8f8f6;
}
.modal-dialog-card::-webkit-scrollbar-thumb {
  background: #d4d5cf;
  border-radius: 3px;
}
.modal-dialog-card::-webkit-scrollbar-thumb:hover {
  background: #b5b6ae;
}

.modal-container-inner {
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 480px) {
  .modal-container-inner {
    padding: 16px 18px 20px;
    gap: 10px;
  }
}

/* Clean Minimal Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f1eb;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #f4f5f1;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.modal-close-btn:hover {
  background: #e5e7eb;
  color: #111827;
  border-color: #d1d5db;
  transform: scale(1.05);
}

#mainRequestForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

/* 1 & 2. Ultra-Refined Radio / Segmented Controls (Compact Height) */
.modal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-group-label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-radio-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #f3f4f1;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

@media (max-width: 480px) {
  .modal-radio-tabs {
    grid-template-columns: 1fr;
  }
}

.modal-radio-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-align: center;
  border: 1px solid transparent;
}

.modal-radio-tab::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.modal-radio-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.modal-radio-tab:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.6);
}

.modal-radio-tab:hover::before {
  background: #94a3b8;
}

.modal-radio-tab.is-active {
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-radio-tab.is-active::before {
  background: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.15);
  transform: scale(1.15);
}

/* Entity Toggle (Corporate vs Individual) */
.modal-entity-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #f3f4f1;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.modal-entity-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-align: center;
  border: 1px solid transparent;
}

.modal-entity-btn::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.modal-entity-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.modal-entity-btn:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.6);
}

.modal-entity-btn:hover::before {
  background: #94a3b8;
}

.modal-entity-btn.is-active {
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-entity-btn.is-active::before {
  background: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.15);
  transform: scale(1.15);
}

/* 3. Refined Compact Form Elements & Grid */
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
}

@media (min-width: 480px) {
  .modal-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
}

.form-group-full,
#groupCorporateMobile {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label-optional {
  font-size: 10.5px;
  font-weight: 400;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0 6px;
  border-radius: 4px;
}

.input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* High Precision Compact Input Styling (38px height) */
.form-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input:hover {
  background: #fafaf9;
  border-color: #9ca3af;
}

.form-input:focus {
  background: #ffffff;
  border-color: #2b2d28;
  box-shadow: 0 0 0 3px rgba(43, 45, 40, 0.08);
}

.form-textarea {
  width: 100%;
  min-height: 52px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-family: var(--font-sans);
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-textarea:hover {
  background: #fafaf9;
  border-color: #9ca3af;
}

.form-textarea:focus {
  background: #ffffff;
  border-color: #2b2d28;
  box-shadow: 0 0 0 3px rgba(43, 45, 40, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
  font-size: 12px;
}

/* Error States */
.form-error-msg {
  font-size: 11px;
  font-weight: 500;
  color: #dc2626;
  display: none;
  margin-top: 2px;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-server-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 7px;
  text-align: center;
  border: 1px solid #fecaca;
}

/* Modal Footer & Soft Warm Charcoal Submit Button */
.modal-footer {
  padding-top: 4px;
}

.modal-submit-btn {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2b2d28;
  color: #f7eed7;
  border: 1px solid rgba(180, 150, 80, 0.35);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-submit-btn:hover:not(:disabled) {
  background: #383a32;
  color: #ffffff;
  border-color: rgba(180, 150, 80, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(180, 150, 80, 0.2);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(247, 238, 215, 0.35);
  border-top-color: #f7eed7;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.modal-submit-btn.is-loading .btn-spinner {
  display: block;
}

.modal-submit-btn.is-loading .btn-text {
  opacity: 0.8;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success State View (Light & Clean Theme) */
.modal-success-card {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  gap: 14px;
}

.modal-success-card.is-active {
  display: flex;
}

.success-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.success-desc {
  font-size: 13px;
  color: #4b5563;
  max-width: 420px;
  line-height: 1.7;
  margin: 0;
}

.tracking-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  font-size: 12.5px;
  color: #374151;
}

.tracking-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.5px;
}

#successCloseBtn {
  background: #2b2d28 !important;
  color: #f7eed7 !important;
  border: 1px solid rgba(180, 150, 80, 0.35) !important;
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#successCloseBtn:hover {
  background: #383a32 !important;
  color: #ffffff !important;
}


