/*
Theme Name: AdsAgenZ Theme
Theme URI: https://adsagenz.com
Author: Developer
Description: Custom theme for AdsAgenZ client assignment
Version: 1.0.0
Text Domain: adsagenz
*/

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');
/* style.css */

@font-face {
  font-family: "saansFont";
  src: url('assets/fonts/SaansVF-s.p.84a2bbd5.woff2') format('woff2'),
    url('assets/fonts/SaansVF-s.p.84a2bbd5.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1A6FF4;
  --blue-dark: #1457C8;
  --blue-light: #EBF2FF;
  --navy: #0A1628;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --bg-white: #ffffff;
  --bg-light: #F8FAFC;
  --bg-section: #F1F5FF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-saans: "saansFont", sans-serif;
  --font-display: var(--font-saans);
  --font-body: var(--font-saans);
  --header-height: 72px;
  --max-width: 1200px;
  --section-pad: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body), sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

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

ul {
  list-style: none
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 111, 244, .35)
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border)
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue)
}

/* HEADER */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color .3s ease, box-shadow .3s ease
}

#site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height)
}

.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.03em
}

.site-logo span {
  color: var(--blue)
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-light)
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s ease
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm)
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px
}

/* HERO */
#hero {
  padding-top: calc(var(--header-height) + 60px);
  background: linear-gradient(160deg, #EBF2FF 0%, #F8FAFC 40%, #ffffff 70%);
  overflow: hidden
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm)
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin-bottom: 20px
}

.hero-title .highlight {
  color: var(--blue)
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px
}

.hero-form {
  display: flex;
  gap: 10px;
  margin-bottom: 28px
}

.hero-input {
  flex: 1;
  max-width: 260px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color .2s
}

.hero-input:focus {
  border-color: var(--blue)
}

.hero-input::placeholder {
  color: var(--text-muted)
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted)
}

.avatar-stack {
  display: flex
}

.av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0
}

.av:first-child {
  margin-left: 0
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end
}

.hero-dashboard {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform .4s ease
}

.hero-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg)
}

.hero-image-wrapper {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-custom-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero-custom-img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.db-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border)
}

.db-dots {
  display: flex;
  gap: 5px
}

.db-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.d-r {
  background: #FF5F57
}

.d-y {
  background: #FEBC2E
}

.d-g {
  background: #28C840
}

.db-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted)
}

.db-body {
  display: grid;
  grid-template-columns: 175px 1fr;
  min-height: 270px
}

.db-sidebar {
  border-right: 1px solid var(--border);
  padding: 12px 0;
  background: #fff
}

.db-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 12px;
  font-weight: 700;
  font-size: 12px;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px
}

.db-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--blue);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0
}

.db-nav-item {
  padding: 7px 14px;
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background .15s
}

.db-nav-item:hover,
.db-nav-item.active {
  background: var(--blue-light);
  color: var(--blue)
}

.db-nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0
}

.db-nav-item.active .db-nav-dot {
  background: var(--blue)
}

.db-main {
  padding: 14px
}

.db-welcome {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-primary)
}

.db-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px
}

.db-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 11px
}

.db-card-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 3px
}

.db-card-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary)
}

.db-card-change {
  font-size: 10px;
  margin-top: 2px
}

.neg {
  color: #EF4444
}

.pos {
  color: #22C55E
}

.db-progress {
  background: var(--border);
  border-radius: 4px;
  height: 5px;
  margin-bottom: 10px;
  overflow: hidden
}

.db-progress-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
  width: 86%
}

.db-task {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-secondary)
}

.db-task:last-child {
  border: none
}

.db-task-check {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 8px
}

.db-task-check.done {
  background: var(--blue);
  color: white;
  border-color: var(--blue)
}

/* LOGO SLIDER */
#logo-slider {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.slider-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px
}

.logos-wrapper {
  overflow: hidden;
  position: relative
}

.logos-wrapper::before,
.logos-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none
}

.logos-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent)
}

.logos-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent)
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoScroll 30s linear infinite
}

.logos-track:hover {
  animation-play-state: paused
}

@keyframes logoScroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  opacity: .5;
  filter: grayscale(100%);
  transition: opacity .3s, filter .3s
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%)
}

.logo-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.02em
}

.logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  flex-shrink: 0
}

/* ===================== SECTION 3: RETOOL STYLE ===================== */
#retool-section {
  padding: 120px 0;
  background: #151515;
  color: #ffffff;
}

.retool-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}



@media(min-width: 1023px) {
  .retool-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    align-items: flex-start;
  }
}

/* Left Visual sticky container */
.retool-visual {
  position: sticky;
  top: 120px;
  height: calc(100vh - 240px);
  min-height: 550px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.retool-mobile-image-wrapper {
  display: none;
  /* Hidden on desktop/tablet */
}

.retool-mobile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #151515;
}

@media screen and (max-width: 1024px) {
  .retool-visual {
    position: relative;
    top: 0;
    height: 100%;
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    z-index: 10;
    background: #151515;
  }

  .retool-tabs {
    padding-top: 20px;
    padding-bottom: 40vh;
  }
}



.retool-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  object-position: left center; */
  opacity: 0;
  transform: scale(1.05);
  background-color: #f7f8f499;
  border-radius: 8px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.retool-image.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.retool-tab-progress {
  position: absolute;
  right: 0px;
  top: 0;
  bottom: auto;
  transform-origin: top;
  width: 1px;
  height: 100%;
  background: #ffffff;
  /* Brighter active color */
  transition: transform .1s linear, opacity .3s ease;
  opacity: 0;
  /* Hidden by default */
  transform: scaleY(0);
  z-index: 2;
  /* Above the track */
}

.retool-tab.active .retool-tab-progress {
  opacity: 1;
}

/* Right side features */
.retool-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
  position: relative;
}

.retool-tab {
  padding: 50px 60px 50px 50px;
  /* Extra space on right for progress bar */
  background: #161618;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  border: 1px solid #433e38;
  position: relative;
}

@media screen and (min-width: 1025px) {
  .retool-tabs {
    margin-left: -100px;
    overflow: hidden;
    padding-top: 16vh;
    padding-bottom: 16vh;
    position: relative;
  }


}

.retool-tab.active {
  opacity: 1;
  background: #242424;
  /* "Floating" highlight */
}


.retool-progress-fill {
  width: 100% !important;
  /* Always full width */
  height: 0%;
  /* Animate height instead */
  background: var(--blue);
  transition: height 0.1s linear;
}

.retool-tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e9ebdf;
  opacity: 0.5;
  margin-bottom: 20px;
}

.retool-tab h3 {
  font-family: var(--font-display), sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.retool-tab p {
  font-size: 16px;
  color: #cbccc4;
  line-height: 1.6;
  margin: 0;
}

.kw {
  color: #FF79C6
}

.str {
  color: #F1FA8C
}

.cm {
  color: rgba(255, 255, 255, .3)
}

.fn {
  color: #50FA7B
}

.vr {
  color: #8BE9FD
}

.nm {
  color: #BD93F9
}

.pn {
  color: rgba(255, 255, 255, .7)
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px
}

.mock-table th {
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 10px;
  letter-spacing: .04em
}

.mock-table td {
  padding: 7px 10px;
  color: rgba(255, 255, 255, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.sb {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600
}

.sb-g {
  background: rgba(34, 197, 94, .15);
  color: #4ADE80
}

.sb-y {
  background: rgba(234, 179, 8, .15);
  color: #FCD34D
}

.sb-r {
  background: rgba(239, 68, 68, .15);
  color: #F87171
}

/* SECTION 3 - STRIPE SLIDER (INFINITE QUEUE) */
.stripe-carousel-section {
  --bg-color: #ffffff;
  --text-main: #0a2540;
  --text-muted: #425466;
  --accent-purple: #635bff;
  --button-bg: #e3e8ee;

  --gap: 12px;
  --ease: 1.5s cubic-bezier(0.19, 1, 0.22, 1);

  background-color: var(--bg-color);
  color: var(--text-main);
  padding: 60px 0;
  overflow: hidden;
}

.stripe-carousel-section .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.stripe-carousel-section .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.stripe-carousel-section .header-content h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.stripe-carousel-section .header-content p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0;
}

.stripe-carousel-section .carousel-controls {
  display: flex;
  gap: 8px;
}

.stripe-carousel-section .carousel-controls button {
  background-color: var(--button-bg);
  border: none;
  cursor: pointer;
  color: #0a2540;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.stripe-carousel-section .carousel-controls button:hover {
  background-color: #d1d6dc;
  transform: scale(1.05);
}

/* Container & Flex Variables */
.stripe-carousel-section .carousel-visuals-container {
  position: relative;
  width: 100%;
  height: 420px;
  margin-bottom: 24px;
  overflow: hidden;
  --w-0: 60%;
  --w-1: 15%;
  --w-2: 10%;
  --w-3: 7%;
  --w-4: 3%;
  --w-5: 3%;
  --w-6: 2%;
}

/* Hover Expansion Logic (Desktop only) */
@media (hover: hover) and (pointer: fine) {
  .stripe-carousel-section .carousel-visuals-container:has(.pos-0:hover) {
    --w-0: 64%;
    --w-1: 11%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-1:hover) {
    --w-1: 19%;
    --w-0: 56%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-2:hover) {
    --w-2: 14%;
    --w-0: 56%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-3:hover) {
    --w-3: 11%;
    --w-0: 56%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-4:hover) {
    --w-4: 7%;
    --w-0: 56%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-5:hover) {
    --w-5: 7%;
    --w-0: 56%;
  }

  .stripe-carousel-section .carousel-visuals-container:has(.pos-6:hover) {
    --w-6: 6%;
    --w-0: 56%;
  }
}

/* --- THE IMAGES --- */
.stripe-carousel-section .carousel-card {
  position: absolute;
  height: 100%;
  top: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: left var(--ease), width var(--ease), height var(--ease), top var(--ease), opacity var(--ease), transform var(--ease);
}

.stripe-carousel-section .carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stripe-carousel-section .no-transition {
  transition: none !important;
}

/* EXIT / ENTRY STATES */
.stripe-carousel-section .pos-past {
  left: calc(-1 * var(--w-0));
  width: calc(var(--w-0) - var(--gap));
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.stripe-carousel-section .pos-future {
  left: 100%;
  width: calc(var(--w-6) - var(--gap));
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* VISIBLE DECK */
.stripe-carousel-section .pos-0 {
  left: 0;
  width: calc(var(--w-0) - var(--gap));
  z-index: 7;
  opacity: 1;
}

.stripe-carousel-section .pos-1 {
  left: var(--w-0);
  width: calc(var(--w-1) - var(--gap));
  z-index: 6;
  opacity: 1;
}

.stripe-carousel-section .pos-2 {
  left: calc(var(--w-0) + var(--w-1));
  width: calc(var(--w-2) - var(--gap));
  z-index: 5;
  opacity: 1;
}

.stripe-carousel-section .pos-3 {
  left: calc(var(--w-0) + var(--w-1) + var(--w-2));
  width: calc(var(--w-3) - var(--gap));
  z-index: 4;
  opacity: 1;
}

.stripe-carousel-section .pos-4 {
  left: calc(var(--w-0) + var(--w-1) + var(--w-2) + var(--w-3));
  width: calc(var(--w-4) - var(--gap));
  z-index: 3;
  opacity: 1;
}

.stripe-carousel-section .pos-5 {
  left: calc(var(--w-0) + var(--w-1) + var(--w-2) + var(--w-3) + var(--w-4));
  width: calc(var(--w-5) - var(--gap));
  z-index: 2;
  opacity: 1;
}

.stripe-carousel-section .pos-6 {
  left: calc(var(--w-0) + var(--w-1) + var(--w-2) + var(--w-3) + var(--w-4) + var(--w-5));
  width: calc(var(--w-6) - var(--gap));
  z-index: 1;
  opacity: 1;
}

/* Footer Text */
.stripe-carousel-section .carousel-footer-container {
  position: relative;
  height: 100px;
}

.stripe-carousel-section .footer-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.stripe-carousel-section .footer-details.active {
  opacity: 1;
  pointer-events: auto;
}

.stripe-carousel-section .footer-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  max-width: 750px;
}

.stripe-carousel-section .text-bold {
  font-weight: 500;
  color: var(--text-main);
  margin-right: 4px;
}

.stripe-carousel-section .text-muted {
  color: var(--text-muted);
}

/* Outline Button */
.stripe-carousel-section .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.stripe-carousel-section .cta-button svg {
  transition: transform 0.3s ease;
}

.stripe-carousel-section .cta-button:hover {
  border-color: #d1d6dc;
  background-color: #fbfbfc;
}

.stripe-carousel-section .cta-button:hover svg {
  transform: translateX(4px);
}

/* =========================================
RESPONSIVE DESIGN BREAKPOINTS
========================================= */

/* Tablet (701px - 900px) - Two Card Layout */
@media (max-width: 900px) and (min-width: 701px) {
  .stripe-carousel-section .carousel-visuals-container {
    height: 340px;
    --w-0: 75%;
    --w-1: 25%;
  }

  .stripe-carousel-section .pos-2,
  .stripe-carousel-section .pos-3,
  .stripe-carousel-section .pos-4,
  .stripe-carousel-section .pos-5,
  .stripe-carousel-section .pos-6 {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
  }

  .stripe-carousel-section .carousel-footer-container {
    height: 160px;
  }

  .stripe-carousel-section .footer-details {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .stripe-carousel-section .footer-text {
    max-width: 100%;
    font-size: 15px;
  }
}

/* Mobile / Small Screens (<= 700px) - Fixed Center Peeking Layout */
@media (max-width: 700px) {
  .stripe-carousel-section .carousel-header {
    margin-bottom: 24px;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .stripe-carousel-section .header-content h2 {
    font-size: 22px;
  }

  .stripe-carousel-section .header-content p {
    font-size: 16px;
  }

  .stripe-carousel-section .carousel-controls {
    display: none;
  }

  .stripe-carousel-section .carousel-visuals-container {
    height: 540px;
    /* Increased from 360px to simulate tall portrait aspect ratio */
    overflow: hidden;
    /* Prevent horizontal spill and scrolling */
    border-radius: 12px;
  }

  /* Active card perfectly centered and big */
  .stripe-carousel-section .pos-0 {
    left: 16px;
    width: calc(100% - 32px);
    height: 100%;
    top: 0;
    z-index: 7;
    opacity: 1;
  }

  /* Next card peeks from the right, scaled smaller */
  .stripe-carousel-section .pos-1 {
    left: calc(100% - 8px);
    width: calc(100% - 32px);
    height: 90%;
    top: 5%;
    z-index: 6;
    opacity: 1;
  }

  /* Previous card peeks from the left, scaled smaller */
  .stripe-carousel-section .pos-past {
    left: calc(-100% + 40px);
    width: calc(100% - 32px);
    height: 90%;
    top: 5%;
    z-index: 6;
    opacity: 1;
    pointer-events: auto;
  }

  /* All other queue cards hide firmly off-screen to the right without fading */
  .stripe-carousel-section .pos-2,
  .stripe-carousel-section .pos-3,
  .stripe-carousel-section .pos-4,
  .stripe-carousel-section .pos-5,
  .stripe-carousel-section .pos-6,
  .stripe-carousel-section .pos-future {
    left: 100%;
    width: calc(100% - 32px);
    height: 85%;
    top: 7.5%;
    opacity: 1 !important;
    z-index: 1;
    pointer-events: none;
  }

  .stripe-carousel-section .carousel-footer-container {
    height: auto;
    min-height: 180px;
    margin-top: 24px;
  }

  .stripe-carousel-section .footer-details {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .stripe-carousel-section .footer-text {
    font-size: 16px;
    max-width: 100%;
  }
}

/* SECTION 4 - 4-STEP */
#features-section {
  padding: var(--section-pad) 0;
  background: var(--bg-section)
}

.features-header {
  text-align: center;
  margin-bottom: 56px
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin-bottom: 14px
}

.features-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  /* Staggered Masonry Layout */
  .feature-card:nth-child(1) {
    grid-column: span 7;
  }

  .feature-card:nth-child(2) {
    grid-column: span 5;
  }

  .feature-card:nth-child(3) {
    grid-column: span 5;
  }

  .feature-card:nth-child(4) {
    grid-column: span 7;
  }
}

.feature-card {
  background: #F7F8FC;
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-content {
  padding: 40px 40px 20px 40px;
  flex: 1;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #EEF2FF;
  color: #4F46E5;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.step-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4F46E5;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -.02em
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 40px;
  /* Padding to keep it from hitting the direct left/right walls if desired, or 0 if full bleed. The sketch looks like it has space. We will use 0 40px based on visual. Wait, the red lines in user screenshot show full bleed. Let's make it 0 padding so it touches left/right/bottom. */
  padding-bottom: 0;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

/* Fallback UI Mock (Simple Wireframe Browser) */
.mock-ui-wrapper {
  width: 90%;
  height: 90%;
  background: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-bottom: none;
  display: flex;
  flex-direction: column;
}

.mock-ui-header {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 6px;
  background: #F8FAFC;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}

.mock-ui-body {
  flex: 1;
  background: linear-gradient(180deg, #F1F5FF 0%, #fff 100%);
}

.fmock {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 12px
}

.fmock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border)
}

.fmock-logo {
  background: var(--blue);
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800
}

.fmock-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 12px
}

.fmock-field {
  margin-bottom: 7px
}

.fmock-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: .04em
}

.fmock-input {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 11px;
  color: var(--text-primary);
  width: 100%
}

.fmock-input.hi {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 244, .1)
}

.fmock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.fmock-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 5px;
  font-size: 11px;
  color: var(--text-secondary)
}

.fmock-check {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 7px;
  color: white
}

.fmock-pending {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0
}

.fmock-sign {
  background: #fff;
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px
}

.fmock-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px
}

.fmock-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 9px
}

.fmock-block-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px
}

.fmock-tag {
  display: inline-flex;
  padding: 2px 7px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 3px
}

/* FOOTER */
#site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: 20px 0
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff
}

.footer-logo span {
  color: var(--blue)
}

.footer-links {
  display: flex;
  gap: 24px
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  transition: color .2s
}

.footer-links a:hover {
  color: #fff
}

.footer-copy {
  font-size: 13px
}

/* RESPONSIVE */
@media screen and (max-width:1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px auto;
  }

  .hero-social-proof {
    justify-content: center;
  }

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

  .hero-dashboard {
    transform: none;
    max-width: 100%;
  }

  .retool-layout {
    grid-template-columns: 1fr;
  }

  .retool-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0;
    /* margin-top: 30px; */
  }

  .retool-tab {
    padding: 24px;
  }
}

@media(max-width:768px) {
  :root {
    --section-pad: 60px;
    --header-height: 64px;
  }

  .nav-actions {
    margin-left: auto;
  }
  .btn{
    padding:8px 24px;
   }
  .nav-menu {
    display: none;
  }
  .nav-actions .btn-primary{
	display:none;
   }
   .mobile-menu .btn-primary {
  	 color: #fff;
   }

  .hamburger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .carousel-header {
    align-items: flex-start;
  }

  .hero-form {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 28px auto;
  }

  .hero-input {
    max-width: 100%;
    width: 100%;
  }

  .hero-form .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .retool-tabs {
    grid-template-columns: 1fr
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0)
}

@media screen and (max-width: 767px) {
  #retool-section {
    padding: 60px 0;
  }

  .retool-visual {
    display: none;
    /* Hide the top interactive container on mobile */
  }

  .retool-mobile-image-wrapper {
    display: block;
    margin-bottom: 20px;
  }

  .retool-mobile-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #f7f8f499;
  }

  .retool-tabs {
    padding-bottom: 0;

    /* Remove extra scroll padding */
  }

  .retool-tab {
    opacity: 1;
    background: #161618;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
  }


  .retool-tab-progress {
    display: none;
    /* Hide vertical progress bar on mobile */
  }

  .retool-tab h3 {
    font-size: 20px;
  }

  .retool-tab p {
    font-size: 14px;
  }
}