/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary: #2A3743;           /* Primary Theme Color */
  --primary-hover: #3E5162;     /* Primary Hover Color */
  --primary-light: #EAEFF4;     /* Light Slate Tint */
  --bg-warm: #FAF8F5;           /* Warm cream/off-white */
  --text-dark: #2A3743;         /* Font color on white/cream is primary #2A3743 */
  --text-muted: #5B6B79;        /* Slate muted subtext */
  --white: #FFFFFF;
  --border-light: rgba(42, 55, 67, 0.08);
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --header-shadow: 0 10px 30px rgba(42, 55, 67, 0.04);
  --card-shadow: 0 15px 40px rgba(42, 55, 67, 0.05);
  
  /* Border Radius */
  --radius-btn: 6px;
  --radius-pill: 50px;
  --radius-card: 16px;
  --radius-mockup: 24px;
  
  /* Transitions */
  --transition-smooth: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-liquid: 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-warm);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Whenever background is white, font color is primary color (#2A3743) */
[style*="background: #fff"],
[style*="background:#fff"],
[style*="background: #ffffff"],
[style*="background:#ffffff"],
[style*="background-color: #fff"],
[style*="background-color:#fff"],
[style*="background-color: #ffffff"],
[style*="background-color:#ffffff"],
[style*="background-color: var(--white)"],
[style*="background-color:var(--white)"],
.bg-white,
.card-white,
.stat-card,
.feature-item,
.layout-card,
.demo-card,
.app-card,
.pricing-card,
.modal-content {
  color: var(--primary) !important;
}

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

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

/* ==========================================================================
   BUTTON STYLE SYSTEM (LIQUID FILL EFFECT)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-btn);
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color var(--transition-liquid), 
              color var(--transition-liquid);
  cursor: pointer;
}

/* Button Sizes */
.btn-small {
  font-size: clamp(0.7rem, 1.5vw, 0.75rem);
  padding: 10px 20px;
}

.btn-normal {
  font-size: 0.8rem;
  padding: 12px 24px;
}

.btn-large {
  font-size: clamp(0.8rem, 1.8vw, 0.85rem);
  padding: 16px 36px;
}

/* Button Shapes */
.btn-pill {
  border-radius: var(--radius-pill);
}

/* Button Variants default state */
.btn-filled {
  background-color: var(--primary);
  color: var(--bg-warm);
  border: 1px solid var(--primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* Liquid Fill Inner Wrapper */
.liquid-bg {
  position: absolute;
  bottom: -110%; /* Start below the button */
  left: -10%;
  width: 120%;
  height: 110%;
  background: transparent;
  pointer-events: none;
  z-index: -1;
  transition: transform var(--transition-liquid);
}

.liquid-wave {
  position: absolute;
  bottom: 98%; /* Align exactly on top of solid fill */
  left: 0;
  width: 200%;
  height: 24px;
  animation: wave-slide 2.5s linear infinite;
  transform-origin: center bottom;
}

.liquid-fill-solid {
  width: 100%;
  height: 100%;
}

/* Set specific liquid colors based on parent variant */
.btn-filled .liquid-wave {
  fill: var(--bg-warm);
}
.btn-filled .liquid-fill-solid {
  background-color: var(--bg-warm);
}

.btn-outline .liquid-wave {
  fill: var(--primary);
}
.btn-outline .liquid-fill-solid {
  background-color: var(--primary);
}

/* Hover States */
.btn:hover {
  transform: scale(1.03);
}

.btn-filled:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

/* .btn-outline:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
} */

.btn:hover .liquid-bg {
  transform: translateY(-105%);
}

/* Wave Sliding Animation */
@keyframes wave-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom Icon Layout inside Buttons */
.btn-icon-right {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon-right {
  transform: translate(1px, -1px);
}

/* ==========================================================================
   SECTION: HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(80px, 8vw, 100px);
  background-color: transparent;
  z-index: 100;
  transition: height var(--transition-smooth), 
              background-color var(--transition-smooth), 
              box-shadow var(--transition-smooth);
  display: flex;
  align-items: center;
}

.header-container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Scrolled state */
.header.scrolled {
  height: 72px;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid rgba(30, 26, 23, 0.04);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* .logo:hover .logo-img {
  transform: translateY(-1px) scale(1.02);
} */

.logo-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-15deg);
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
  margin-left: clamp(20px, 4vw, 60px);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: clamp(12px, 2.2vw, 32px);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 100%;
}

/* Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
}

.header-actions .btn {
  font-size: 0.75rem;
  padding: 10px clamp(12px, 2vw, 22px);
}

/* Hamburger toggle for mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 1005;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   SECTION: HERO
   ========================================================================== */
.hero-section {
  padding-top: clamp(100px, 10vw, 180px);
  padding-bottom: clamp(40px, 8vw, 40px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 40px;
  align-items: center;
}

/* --- HERO LEFT COLUMN (Content) --- */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.hero-eyebrow {
  font-size: clamp(0.8rem, 1.5vw, 0.85rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* 3-line Headline */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}

.headline-line-wrapper {
  overflow: hidden;
  display: block;
}

.headline-line {
  display: block;
}

.headline-line.highlight {
  color: var(--primary);
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Feature Badges */
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.8vw, 20px);
  margin-bottom: 20px;
  width: 100%;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-dark);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 600;
}

.badge-icon {
  color: var(--primary);
  stroke-width: 1.8px;
  flex-shrink: 0;
}

/* CTA Buttons Layout */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

/* Launch info block */
.hero-launch-info {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  width: 100%;
  /* max-width: 480px; */
}

.launch-date-text {
  font-size: clamp(0.8rem, 1.6vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* --- HERO RIGHT COLUMN (Mockups & Cards) --- */
.hero-visual-col {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  align-items: center;
  width: 100%;
}

/* Mockups container layout */
.mockups-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 10px;
}

.mockup-group {
  position: relative;
  width: 100%;
  aspect-ratio: 1.15; /* Defined aspect ratio to align devices perfectly */
}

/* Screen image fill helper */
.screen-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- LAPTOP CSS DEVICE FRAME --- */
.laptop-device {
  position: absolute;
  top: 10%;
  left: 0;
  width: 82%;
  z-index: 1;
}

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6; /* 16:10 aspect ratio */
  background: #090909;
  border: 12px solid #090909;
  border-bottom: 14px solid #090909;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Laptop Camera Notch */
.laptop-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 6px;
  background: #1a1a1a;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 10;
}

.laptop-keyboard-base {
  position: relative;
  width: 114%;
  left: -7%;
  height: 14px;
  background: #d4d1cc;
  border-radius: 0 0 10px 10px;
  border-bottom: 2px solid #c0bdb7;
  box-shadow: 0 12px 24px rgba(30, 26, 23, 0.08);
}

.base-groove {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 4px;
  background: rgba(30, 26, 23, 0.25);
  border-radius: 0 0 4px 4px;
}

/* --- PHONE CSS DEVICE FRAME --- */
.phone-device {
  position: absolute;
  bottom: 0%;
  right: 5%;
  width: 31%;
  z-index: 3;
}

.phone-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 0.49; /* ~19.5:9 aspect ratio */
  background: #090909;
  border: 8px solid #090909;
  border-radius: 26px;
  box-shadow: 0 25px 50px rgba(30, 26, 23, 0.18), 
              0 0 0 2px #d4d1cc;
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #222;
  border-radius: 2px;
  z-index: 10;
}

.phone-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  z-index: 10;
}

/* --- FLOATING STAT CARDS COLUMN --- */
.stat-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 4;
}

.stat-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 26, 23, 0.08);
}

.stat-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon {
  color: var(--primary);
  stroke-width: 2px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   TRUSTED BY SECTION
   ========================================================================== */
.trusted-section {
  padding: 40px 0;
  width: 100%;
}
.trusted-divider {
  width: 90%;
  max-width: 1440px;
  height: 1px;
  background-color: var(--border-light);
  margin: 0 auto 30px auto;
}
.trusted-container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}
.trusted-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.trusted-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.trusted-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
}
.trusted-item .lucide {
  color: var(--primary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.trusted-item:hover .lucide {
  transform: scale(1.15) translateY(-2px);
}
.trusted-text {
  display: flex;
  flex-direction: column;
}
.trusted-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.trusted-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: clamp(60px, 8vw, 50px) 0;
  width: 100%;
}
.features-container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
}
.features-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: clamp(30px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1px 300px;
  gap: clamp(30px, 4vw, 60px);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}
.features-grid-col {
  display: flex;
  flex-direction: column;
}
.features-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}
.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.icon-circle .lucide {
  color: var(--text-dark);
  width: 16px;
  height: 16px;
  transition: color 0.2s ease;
}
.feature-item:hover .icon-circle {
  background-color: rgba(200, 75, 49, 0.1);
  border-color: rgba(200, 75, 49, 0.2);
  transform: translateY(-2px);
}
.feature-item:hover .icon-circle .lucide {
  color: var(--primary);
}
.feature-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}
.features-divider {
  background-color: var(--border-light);
  width: 1px;
  height: 100%;
}
.features-info-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.why-ascend-heading {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.why-ascend-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}
.signature-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.leaf-illustration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: auto;
  z-index: -1;
  opacity: 0.7;
}

/* ==========================================================================
   STUNNING LAYOUTS SECTION
   ========================================================================== */
.layouts-section {
  padding: clamp(60px, 8vw,60px) 0;
  width: 100%;
  background-color: var(--white);
  overflow: hidden; /* Prevent horizontal scroll on body */
}

.layouts-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
}

.layouts-heading {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
  padding: 0 20px;
}

/* Tabs */
.layouts-tabs-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.layouts-tablist {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px; /* Space for scrollbar if visible on mobile */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.layouts-tablist::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.active-pill-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 10px);
  background-color: var(--primary);
  border-radius: 30px;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.layout-tab {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1;
  position: relative;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.layout-tab[aria-selected="true"] {
  color: var(--white);
  border-color: transparent;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 4vw; /* Space for nav buttons */
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text-dark);
  transition: opacity 0.3s, transform 0.2s, box-shadow 0.2s;
}
.carousel-nav-btn:hover:not(:disabled) {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-50%) scale(1.05);
}
.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.prev-btn { left: 1vw; }
.next-btn { right: 1vw; }

.layouts-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth; /* Native smooth scroll for arrows */
  width: 100%;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab; /* Drag to scroll hint */
}
.layouts-carousel:active {
  cursor: grabbing;
}
.layouts-carousel::-webkit-scrollbar {
  display: none;
}

/* Layout Card */
.layout-card {
  flex: 0 0 calc(20% - 24px); /* ~5 cards visible on large desktop */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}
.layout-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.browser-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #E2E2E2;
}
.browser-dot:nth-child(1) { background-color: #FF5F56; }
.browser-dot:nth-child(2) { background-color: #FFBD2E; }
.browser-dot:nth-child(3) { background-color: #27C93F; }

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #F8F8F8;
}
.layout-card[data-type="mobile"] .card-image-wrap {
  aspect-ratio: 9/16; /* Portrait aspect ratio for mobile previews */
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-label {
  padding: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  background-color: var(--white);
}

/* Hover Overlay & Button */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 26, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.layout-card:hover .card-overlay {
  opacity: 1;
}

.view-demo-btn {
  /* Reusing logic from .btn / liquid fill */
  background-color: var(--white);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.layout-card:hover .view-demo-btn {
  transform: translateY(0);
}
.view-demo-btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 50% 50% 0 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.view-demo-btn:hover::before {
  top: 0;
  border-radius: 0;
}
.view-demo-btn:hover {
  color: var(--white);
}

/* ==========================================================================
   PERFORMANCE STATS SECTION
   ========================================================================== */
.performance-section {
  width: 100%;
  background-color: var(--text-dark);
  padding: clamp(50px, 8vw, 50px) 3.5vw;
  color: var(--white);
  overflow: hidden;
}

.performance-grid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  grid-template-columns: minmax(250px, 1fr) auto minmax(320px, 1.2fr);
  gap: 0px;
  align-items: center;
}

/* Left: Text */
.perf-text-col {
  padding-right: 25px;
  border-right: 1px solid rgba(255,255,255,0.1);
  width: 30%;

}

.perf-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.perf-subtext {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 90%;
}

/* Center: Gauges */
.perf-gauges-col {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  /* border-right: 1px solid rgba(255,255,255,0.1); */
}

.perf-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gauge-svg-wrapper {
  position: relative;
  width: clamp(60px, 8vw, 120px);
  aspect-ratio: 1;
}

.circular-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* Start at 12 o'clock */
  overflow: visible;
}

.gauge-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 3;
}

.gauge-progress {
  fill: none;
  stroke: #6DBA46;
  stroke-width: 3;
  stroke-linecap: round;
  /* 2 * pi * r (45) = 282.74 */
  stroke-dasharray: 283;
  stroke-dashoffset: 283; /* Hidden initially */
  transition: stroke-dashoffset 0.1s linear; /* Smooth micro-updates if JS steps are slightly jittery */
}

.gauge-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.gauge-label {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: var(--text-muted);
  text-align: center;
}

/* Right: Checklist & Speedometer — two separate sub-columns */
.perf-metrics-col {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 20px);
  padding-left: 0;
  width: 40%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 25px;
}

.checklist-col {
  flex: 1 1 auto;
  min-width: 0;
}

.perf-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perf-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--white);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: #6DBA46;
  flex-shrink: 0;
}

/* Speedometer: explicit fixed-size container, normal document flow */
.speedometer-col {
  flex: 0 0 clamp(130px, 12vw, 200px);
  width: clamp(130px, 12vw, 200px);
  max-width: 200px;
}

.speedometer-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible; /* Allow needle tip to not get clipped */
}

/* Needle: NO CSS transforms. Initial rotation is via SVG transform attribute.
   GSAP animates via svgOrigin so there is exactly ONE transform source. */
.speedometer-needle {
  /* intentionally empty — all rotation handled by SVG attr + GSAP */
}

/* ==========================================================================
   INDUSTRY ROADMAP SECTION
   ========================================================================== */
.industry-roadmap-section {
  width: 100%;
  background-color: var(--bg-warm);
  padding: clamp(60px, 8vw, 60px) 4vw;
  color: var(--text-dark);
  overflow: hidden;
}

.roadmap-grid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(30px, 4vw, 80px);
  position: relative;
}

/* Divider lines for desktop (>=1260px) */
@media (min-width: 1260px) {
  .roadmap-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-color: rgba(30, 26, 23, 0.08);
  }
  /* Precise positioning of dividers */
  .industry-col {
    position: relative;
    padding-right: clamp(15px, 2vw, 40px);
  }
  .integrations-col {
    position: relative;
    padding: 0 clamp(15px, 2vw, 40px);
  }
  .roadmap-col:nth-child(1)::after {
    right: calc(-1 * clamp(15px, 2vw, 40px));
  }
  .roadmap-col:nth-child(2)::after {
    right: calc(-1 * clamp(15px, 2vw, 40px));
  }
}

.roadmap-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1; /* Set by JS animation, start visible in CSS */
}

.roadmap-col-heading {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: left;
}

/* COLUMN 1: BUILT FOR EVERY INDUSTRY */
.industry-lists {
  display: flex;
  gap: 30px;
  width: 100%;
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.industry-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

.industry-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* COLUMN 2: INTEGRATIONS */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  width: 100%;
  margin-bottom: 24px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 26, 23, 0.04);
}

.app-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-icon-wrap i {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.app-badge:hover .app-icon-wrap i {
  transform: scale(1.1);
}

.app-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Custom app badge icon colors */
.app-reviews .app-icon-wrap { background-color: #EAEFF4; color: #2A3743; }
.app-reviews:hover { background-color: #DCE3EC; }

.app-wishlist .app-icon-wrap { background-color: #FFF0F5; color: #E03E6D; }
.app-wishlist:hover { background-color: #FFE0EB; }

.app-subscriptions .app-icon-wrap { background-color: #F5EEFA; color: #8B5CF6; }
.app-subscriptions:hover { background-color: #EBDCF7; }

.app-loyalty .app-icon-wrap { background-color: #ECF3FE; color: #2563EB; }
.app-loyalty:hover { background-color: #DCE7FC; }

.app-search .app-icon-wrap { background-color: #F0EEFD; color: #6366F1; }
.app-search:hover { background-color: #E2DEFC; }

.app-marketing .app-icon-wrap { background-color: #FFF9EB; color: #D97706; }
.app-marketing:hover { background-color: #FFF1D2; }

.app-analytics .app-icon-wrap { background-color: #EAEFF4; color: #2A3743; }
.app-analytics:hover { background-color: #DCE3EC; }

.app-upsell .app-icon-wrap { background-color: #EEF2FF; color: #4F46E5; }
.app-upsell:hover { background-color: #DDE4FF; }

.app-chat .app-icon-wrap { background-color: #ECFEFF; color: #0891B2; }
.app-chat:hover { background-color: #D2FAFC; }

.apps-more-text {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* COLUMN 3: ROADMAP TIMELINE */
.timeline-container {
  position: relative;
  padding-left: 36px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-line-wrap {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px; /* Centered with the 20px nodes */
  width: 2px;
}

.timeline-svg-line {
  display: block;
  width: 100%;
  height: 100%;
}

.timeline-progress-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400; /* Animated by JS */
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.timeline-node {
  position: absolute;
  left: -36px;
  top: 2px;
  width: 20px;
  height: 20px;
  z-index: 5;
}

.timeline-node svg {
  width: 100%;
  height: 100%;
}

.timeline-content {
  padding-left: 8px;
}

.coming-soon-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.timeline-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Shared Premium Slider Dots styling */
.slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  width: 100%;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(30, 26, 23, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-dot:hover {
  background-color: rgba(30, 26, 23, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* Drag to scroll states */
.is-dragging {
  cursor: grabbing !important;
  user-select: none;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.is-dragging * {
  pointer-events: none !important;
}

/* ==========================================================================
   RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */

/* 1. Large Screens & Scaled Mockups (1081px - 1280px) */
@media (max-width: 1280px) and (min-width: 1081px) {
  /* Header scaling to prevent menu squishing */
  .nav-list {
    gap: 20px;
  }
  .nav-menu {
    margin-left: 24px;
  }
  
  /* Industry Roadmap Section */
  .roadmap-grid {
    gap: 30px;
  }
  
  .header-actions {
    gap: 10px;
  }
  .header-actions .btn {
    padding: 10px 18px;
    font-size: 0.7rem;
  }

  .hero-container {
    gap: 30px;
    grid-template-columns: 1fr 1.15fr;
  }
  
  .hero-visual-col {
    grid-template-columns: 1fr 180px;
    gap: 15px;
  }
  
  .stat-card {
    padding: 12px 14px;
    gap: 12px;
  }
  
  .stat-icon-wrapper {
    width: 36px;
    height: 36px;
  }
  
  .stat-icon {
    width: 18px;
    height: 18px;
  }
  
  .stat-title {
    font-size: 0.95rem;
  }
  
  .stat-desc {
    font-size: 0.7rem;
  }
}

/* 2. Tablets & Small Laptops (Below 1080px) -> Single Column */
@media (max-width: 1080px) {
  .header {
    height: 80px;
  }
  
  /* Mobile Menu Toggle Button Display */
  .mobile-toggle {
    display: flex;
  }
  
  /* Navigation Overlay Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-warm);
    box-shadow: -10px 0 40px rgba(30, 26, 23, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 90px 32px 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0;
    flex-grow: 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-bottom: 40px;
  }
  
  .nav-link {
    font-size: 1rem;
    display: block;
    width: 100%;
  }
  
  .header-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  
  .header-actions .btn {
    width: 100%;
    padding: 14px 0;
    font-size: 0.85rem;
  }
  
  /* Toggle Animation Active States */
  .mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero Reflow to Single Column */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 20px;
  }
  
  .hero-content-col {
    align-items: left;
    text-align: left;
  }
  
  .hero-headline {
    align-items: flex-start;
  }
  
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-badges {
    justify-content: flex-start;
    /* max-width: 550px; */
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .hero-launch-info {
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Visual Container below content */
  .hero-visual-col {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }
  .slider-dots.trust-dots{
    margin-top: 20px;
  }
  
  .mockups-wrapper {
    max-width: 580px;
  }
  
  /* Reflow Stat cards to static 2x2 grid */
  .stat-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }
  
  .stat-card {
    justify-content: flex-start;
  }
  
  /* Trusted By Reflow */
  .trusted-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 20px;
  }
  .trusted-item {
    flex: 0 0 calc(33.333% - 20px);
  }
  
  /* Features Card Reflow */
  .features-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px;
  }
  .features-divider {
    width: 100%;
    height: 1px;
  }
  
  /* Layouts - Tablet Size (~2.5 cards) */
  .layout-card {
    flex: 0 0 calc(40% - 18px);
  }
  /* Performance Stats */
  .performance-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 40px;

  }

  
  .perf-text-col {
    padding-right: 0;
    border-right: none;
    border-bottom: 0;
    padding-bottom: 30px;
    text-align: center;

  }
  .perf-subtext {
    margin: 0 auto;
  }
  
  .perf-gauges-col {
    padding-left: 0;
    justify-content: center;
  }
  
  .perf-metrics-col {
    padding-left: 0;
  }
  
  /* Industry Roadmap - Tablet rules removed to keep 3-column static layout above 1024px */
  .timeline-container {
    max-width: 100%;
  }
}

/* 3. Small Mobile Devices (Below 640px) */
@media (max-width: 640px) {
  .hero-section {
    padding-top: 110px;
  }
  .industry-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-launch-info {
    flex-direction: column;
    align-items: baseline;
    gap: 12px;
  }
  .performance-grid{
    display: flex;
    flex-direction: column;
  }
  .perf-text-col{
    width: 100%;
  }
  .perf-gauges-col{
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .perf-metrics-col{
    width: 100%;
    border: 0;
  }
  .hero-headline{
    font-size: clamp(2.2rem, 4.8vw, 3rem);
    margin-bottom: 18px;
  }
  .hero-subtext{
    margin-bottom: 20px;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  }
  /* stat-cards-container mobile layout removed for slider */
  
  .trusted-item {
    flex: 0 0 47%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .laptop-device {
    width: 85%;
  }
  
  .phone-device {
    width: 32%;
  }
  
  /* Layouts - Mobile Size (~1.2 cards) */
  .layout-card {
    flex: 0 0 calc(85% - 15px);
  }
  
  /* Hide arrows on touch devices below 768px (can rely on swipe) */
  .carousel-nav-btn {
    display: none;
  }
  
  .carousel-wrapper {
    padding: 0 20px;
  }
  
  /* Performance Stats - Mobile */
  .perf-gauges-col {
    border-right: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
  }
  
  .perf-metrics-col {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .speedometer-wrapper {
    width: 200px;
  }
  
  /* Industry Roadmap - Mobile (Full stack, Industry list 1 col, App grid 2 cols) */
  /* roadmap-grid mobile layout removed for slider */
  
  .industry-lists {
    flex-direction: column;
    gap: 20px;
  }
  
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .laptop-screen {
    border-width: 8px;
    border-bottom-width: 10px;
  }
  .feature-badges{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

/* 4. Tiny Screen Support (Below 400px) */
@media (max-width: 400px) {
  .feature-badges {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }
  
  .phone-device {
    border-width: 6px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   TRUST BAR SECTION
   ========================================================================== */
.trust-bar-section {
  width: 100%;
  background-color: var(--bg-warm);
  padding: clamp(24px, 4vw, 40px) 4vw;
}

.trust-bar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #F0F4F8;
  border: 1px solid rgba(42, 55, 67, 0.08);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon-badge {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  background-color: #EAEFF4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.2s ease-in-out;
}

.trust-icon-badge i,
.trust-icon-badge svg {
  width: clamp(18px, 1.8vw, 22px);
  height: clamp(18px, 1.8vw, 22px);
}

.trust-item:hover .trust-icon-badge {
  transform: scale(1.05);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-title {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.trust-desc {
  font-size: clamp(0.78rem, 0.9vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  width: 100%;
  background-color: var(--bg-warm);
  padding: clamp(40px, 5vw, 60px) 4vw clamp(30px, 4vw, 40px);
  position: relative;
}

.final-cta-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #F0F4F8;
  border-radius: var(--radius-card);
  border: 1px solid rgba(42, 55, 67, 0.08);
  padding: clamp(40px, 5vw, 60px) clamp(24px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

/* .final-cta-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(42, 55, 67, 0.05),
    rgba(42, 55, 67, 0.05) 12px,
    transparent 12px,
    transparent 24px
  );
  pointer-events: none;
  z-index: 1;
} */

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

.cta-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 0.9vw, 0.8rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.cta-subtext {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 90%;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.cta-buttons .btn {
  flex-shrink: 0;
}

.cta-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  width: 100%;
}

.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.cta-check-icon {
  width: clamp(16px, 1.6vw, 20px);
  height: clamp(16px, 1.6vw, 20px);
  color: var(--primary);
  flex-shrink: 0;
}

.cta-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.visual-image-wrapper {
  position: relative;
  width: 100%;
  max-width: clamp(320px, 30vw, 420px);
  aspect-ratio: 0.78;
  border-radius: 12px;
}

.cta-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
}

.cta-leaf {
  position: absolute;
  width: clamp(140px, 15vw, 220px);
  height: auto;
  color: var(--primary);
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.leaf-left {
  left: -20%;
  bottom: -10%;
  transform-origin: bottom center;
  animation: leafDriftLeft 8s ease-in-out infinite;
}

.leaf-right {
  right: -20%;
  top: -15%;
  transform-origin: top center;
  animation: leafDriftRight 7s ease-in-out infinite;
}

@keyframes leafDriftLeft {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scaleX(-1);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg) scaleX(-1);
  }
}

@keyframes leafDriftRight {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(6px) rotate(3deg);
  }
}

/* ==========================================================================
   SITE FOOTER SECTION
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: var(--bg-warm);
  padding:10px 0;
}
a.footer-link {
    text-decoration: underline;
    color: #2A3743;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  padding: 0 4vw;
}

.copyright-text {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.9vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   TRUST BAR & FINAL CTA RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
  /* SLIDER: INDUSTRY ROADMAP */
  .roadmap-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }
  .roadmap-grid::-webkit-scrollbar {
    display: none;
  }
  
  .roadmap-col {
    flex: 0 0 calc((100% - 2 * 30px) / 2);
    /* min-width: calc((100% - 2 * 30px) / 3); */
    max-width: 49%;
    scroll-snap-align: start;
    box-sizing: border-box;
  }
  
  .roadmap-timeline-col {
    grid-column: auto !important;
    margin: 0 !important;
    max-width: none !important;
  }
  
  .roadmap-dots {
    display: flex;
  }
  .speedometer-col{
    align-content: center;
  }
  .perf-gauges-col{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    transform:none !important;
  }
  .hero-section{
    padding-top: 80px;
  }
  .perf-metrics-col{
    flex-direction: column;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .cta-content-col {
    align-items: center;
  }
  
  .cta-subtext {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .cta-checklist {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  /* SLIDER: INDUSTRY ROADMAP (2 visible slides) */
  .roadmap-col {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: 50%;
  }
  .apps-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  /* SLIDER: TRUST BAR */
  .trust-bar-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: none !important;
  }
  .trust-bar-container::-webkit-scrollbar {
    display: none;
  }
  
  .trust-item {
    scroll-snap-align: center;
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
  
  .trust-dots {
    display: flex;
  }

  /* SLIDER: HERO STAT CARDS */
  .stat-cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: none !important;
    width: 100%;
    max-width: 100%;
  }
  .stat-cards-container::-webkit-scrollbar {
    display: none;
  }
  
  .stat-card {
    scroll-snap-align: center;
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    transform: none !important;
  }
  
  .stat-dots {
    display: flex;
  }

  .cta-checklist {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 12px;
    margin: 0 auto;
  }
}

/* 520px Breakpoint overrides for Roadmap and Trust Bar */
@media (max-width: 520px) {
  .roadmap-col {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
  .trust-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
  }
  .hero-actions{
    flex-direction: row;
  }
  .cta-buttons{
    flex-direction: row;
  }

  .btn-large{
    padding: 12px;
  }
  .cta-buttons .btn{
    width: 50%;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    align-items: stretch;
    width: 50%;
    max-width: 320px;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   ACCESSIBILITY & PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cta-leaf {
    animation: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .trusted-item:hover .lucide {
    transform: none;
  }
  
  .feature-item:hover .icon-circle {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
  
  .btn, .btn::before, .btn-icon-right, .stat-card, .header, .nav-menu {
    transition: none !important;
  }
  
  .btn:hover {
    transform: none !important;
  }
  
  .btn:hover .liquid-bg {
    transform: none !important;
  }
  
  .liquid-wave {
    animation: none !important;
  }
  
  /* Disable Mockup Breathing */
  #mockup-group {
    animation: none !important;
  }
}
