/* ==========================================================================
   OVERFLOW.IO REPLICA - PRODUCTION STYLESHEET
   Accurately matching original overflow.io & user screenshots
   ========================================================================== */

:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --color-primary: #000000;
  --color-accent-blue: #0085E4;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-bg-light: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --header-height: 80px;
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: #FFFFFF;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

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

/* ==========================================================================
   BUTTONS & PILL CONTROLS
   ========================================================================== */

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  border: 1px solid #000000;
  white-space: nowrap;
}

.btn-pill-primary:hover {
  background-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-pill-primary .arrow-icon {
  margin-left: 8px;
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.btn-pill-primary:hover .arrow-icon {
  transform: translateX(3px);
}

.btn-pill-primary .dimmed {
  color: #94A3B8;
  margin-left: 4px;
  font-weight: 500;
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F1F5F9;
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  border: 1px solid #E2E8F0;
}

.btn-pill-secondary:hover {
  background-color: #E2E8F0;
  transform: translateY(-2px);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.fixed-alert-block {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

.alert--cookies {
  pointer-events: auto;
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert__holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  color: #475569;
  gap: 20px;
}

.alert__holder a {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-xs {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
}

.btn-secondary {
  background: #F1F5F9;
  color: #1E293B;
  border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
  background: #E2E8F0;
}

.btn-primary {
  background: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.btn-primary:hover {
  background: #1E293B;
}

/* ==========================================================================
   FIXED TOP NAVIGATION HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: var(--header-height);
  transition: all var(--transition-fast);
}

.navbar-wrapper {
  height: 100%;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.infusedpath-logo-svg {
  height: 32px;
  width: auto;
  transition: transform var(--transition-fast);
}

.header-logo:hover .infusedpath-logo-svg {
  transform: scale(1.02);
}

.hero-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4F46E5;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.chip-sparkle {
  color: #7C3AED;
  font-size: 14px;
}

.pulse-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #10B981;
  font-size: 11px;
  font-weight: 600;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 4px;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.canvas-floating-tag {
  position: absolute;
  bottom: 24px;
  right: 28px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  pointer-events: none;
  animation: floatTag 3s ease-in-out infinite;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow: 0 0 8px #06B6D4;
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.review-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.review-stats-bar .stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
}

.review-stats-bar .rating-text {
  font-size: 13.5px;
  color: #475569;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

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

.chevron-down {
  transition: transform var(--transition-fast);
}

.nav-item:hover .chevron-down {
  transform: rotate(180deg);
}

/* MEGA MENU DROPDOWN */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-35%) translateY(12px);
  width: 980px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-item.has-dropdown:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-35%) translateY(0);
  pointer-events: auto;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.megamenu-col {
  display: flex;
  flex-direction: column;
}

.megamenu-header {
  font-size: 14px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.megamenu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.megamenu-item:hover {
  background: #F8FAFC;
}

.menu-icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}

.item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 2px;
}

.item-text span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #64748B;
}

.simple-links {
  gap: 12px;
}

.megamenu-simple-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: all var(--transition-fast);
}

.megamenu-simple-item:hover {
  background: #F8FAFC;
  color: var(--color-accent-blue);
}

.menu-icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.megamenu-footer-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-blue);
  padding-left: 8px;
}

.megamenu-footer-link:hover {
  text-decoration: underline;
}

/* NAV ACTIONS (RIGHT) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-actions .btn-pill-primary {
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 22px;
  font-size: 15px;
}

.btn-signin {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  padding: 8px 12px;
}

.btn-signin:hover {
  color: #000000;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: #000000;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 65px);
  padding-bottom: 70px;
  background: #FFFFFF;
  overflow: hidden;
}

/* Organic ethereal ambient glow matching user's exact screenshot */
.hero-ambient-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 720px;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 68% 36%, rgba(56, 189, 248, 0.72) 0%, rgba(96, 165, 250, 0.5) 28%, rgba(129, 140, 248, 0.25) 52%, transparent 72%),
    radial-gradient(circle at 18% 62%, rgba(251, 146, 60, 0.6) 0%, rgba(249, 115, 22, 0.3) 30%, transparent 60%),
    radial-gradient(circle at 45% 42%, rgba(139, 92, 246, 0.45) 0%, rgba(167, 139, 250, 0.2) 35%, transparent 65%);
  filter: blur(45px);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
  margin: 0 auto 52px;
}

.hero-title {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
  text-shadow: 0 4px 28px rgba(15, 23, 42, 0.22), 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: #FFFFFF;
  max-width: 720px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 18px rgba(15, 23, 42, 0.2);
  opacity: 0.98;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid #000000;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* HERO MAC-OS APP WINDOW MOCKUP */
.hero-mockup-wrapper {
  margin: 0 auto 24px;
  max-width: 1120px;
}

.macos-window {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 60px -15px rgba(30, 41, 59, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.macos-window:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 70px -15px rgba(30, 41, 59, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.macos-titlebar {
  height: 44px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.traffic-lights {
  display: flex;
  gap: 7px;
  width: 80px;
}

.traffic-lights .light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.traffic-lights .red { background: #FF5F56; }
.traffic-lights .yellow { background: #FFBD2E; }
.traffic-lights .green { background: #27C93F; }

.window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.cloud-icon {
  margin-right: 2px;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zoom-badge {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 4px;
}

.avatar-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: #64748B;
  transition: background var(--transition-fast);
}

.icon-btn:hover {
  background: #E2E8F0;
}

.canvas-sub-toolbar {
  height: 42px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 13px;
}

.tool-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-item {
  font-weight: 600;
  color: #0F172A;
  padding: 3px 6px;
}

.tool-connector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4F46E5;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.circle-point {
  width: 6px;
  height: 6px;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
}

.tool-divider {
  width: 1px;
  height: 18px;
  background: #E2E8F0;
  margin: 0 4px;
}

.sub-tool-icon {
  font-size: 13px;
  color: #64748B;
  padding: 4px;
}

.bold-t {
  font-weight: 800;
  background: #F1F5F9;
  border-radius: 3px;
  padding: 2px 6px;
}

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

.align-tool {
  font-size: 14px;
  color: #94A3B8;
}

.tool-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94A3B8;
}

.canvas-viewport {
  position: relative;
  background: #FAFAFA;
  overflow: hidden;
  line-height: 0;
}

.hero-video-player {
  width: 100%;
  height: auto;
  display: block;
}

.fallback-hero-img {
  width: 100%;
  height: auto;
}

/* HERO SUBBAR */
.hero-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 8px;
}

.watch-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent-blue);
  transition: color var(--transition-fast);
}

.watch-demo-link:hover {
  color: #0266B0;
  text-decoration: underline;
}

.play-circle-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sync-tools-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #64748B;
}

.tool-brand-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   2. SOCIAL PROOF / LOGOS SECTION
   ========================================================================== */

.social-proof-section {
  padding: 50px 0 70px;
  background: #FFFFFF;
}

.customer-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 28px;
  opacity: 0.85;
}

.logo-item img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

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

.social-proof-subtitle {
  text-align: center;
  font-size: 16px;
  color: #64748B;
}

/* ==========================================================================
   3. ONE DESIGN STORY. THREE WAYS TO TELL IT.
   ========================================================================== */

.story-tabs-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.section-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #000000;
  margin-bottom: 28px;
}

.tabs-nav-bar {
  display: inline-flex;
  background: #F1F5F9;
  border-radius: var(--radius-pill);
  padding: 5px;
  gap: 4px;
  margin-bottom: 40px;
}

.tab-pill {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  transition: all var(--transition-fast);
}

.tab-pill:hover {
  color: #000000;
}

.tab-pill.active {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tabs-content-area {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
}

.visual-purple { background: #818CF8; }
.visual-yellow { background: #FCD34D; }
.visual-blue { background: #60A5FA; }

.tab-mockup-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.tab-mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.btn-open-example {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.btn-open-example:hover {
  background: #1E293B;
  transform: translateX(-50%) translateY(-2px);
}

.btn-play-mini {
  font-size: 10px;
}

.tab-description {
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tab-desc-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.tab-desc-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   4. SAVE TIME FOR CREATIVITY SECTION
   ========================================================================== */

.save-time-section {
  padding: 100px 0;
  background: #F8FAFC;
}

.save-time-header {
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #64748B;
}

.sticky-features-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.feature-mockup-column {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.sticky-card-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual {
  display: none;
  width: 100%;
  animation: fadeIn 0.3s ease;
}

.feature-visual.active {
  display: block;
}

.feature-visual-img {
  width: 100%;
  height: auto;
}

.feature-content-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-block {
  padding: 32px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feature-block.active {
  border-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.feature-body {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

.sync-integrations-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.sync-integrations-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 12px;
}

.icons-list {
  display: flex;
  gap: 16px;
}

.feature-quote {
  margin-top: 20px;
  padding: 16px 20px;
  background: #F8FAFC;
  border-radius: 8px;
  border-left: 3px solid #000000;
}

.quote-text {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
}

.quote-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.author-role {
  font-size: 12px;
  color: #64748B;
}

/* ==========================================================================
   5. TELL YOUR DESIGN STORY LIKE NEVER BEFORE BANNER
   ========================================================================== */

.stories-cta-section {
  padding: 60px 0;
  background: #FFFFFF;
}

.stories-banner-card {
  background: #F1F5F9;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  position: relative;
  min-height: 440px;
}

.stories-banner-content {
  padding: 60px 50px;
  z-index: 2;
}

.stories-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 16px;
}

.stories-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 32px;
}

.stories-banner-mockup {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

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

/* ==========================================================================
   6. DISCOVER YOUR NEW SUPERPOWERS (MASONRY GRID)
   ========================================================================== */

.superpowers-section {
  padding: 90px 0;
  background: #F8FAFC;
}

.superpowers-main-heading {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #000000;
  margin-bottom: 48px;
}

.superpowers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.super-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  padding: 32px 28px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.super-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.super-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
  line-height: 1.3;
}

.card-visual-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.super-img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.blue-card {
  background: #2563EB;
  border-color: #2563EB;
}

.white-text {
  color: #FFFFFF !important;
}

.super-hover-overlay {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  padding: 36px 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.super-card:hover .super-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.super-hover-overlay h4 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.super-hover-overlay p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   7. TESTIMONIALS CAROUSEL SECTION
   ========================================================================== */

.testimonials-slider-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.testimonials-header-box {
  position: relative;
  max-width: 820px;
  margin-bottom: 60px;
}

.testimonials-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #000000;
  line-height: 1.25;
}

.highlight-chip {
  display: inline-block;
  background: #F1F5F9;
  padding: 0 10px;
  border-radius: 8px;
}

.decor-pencil-img {
  position: absolute;
  top: -20px;
  right: -120px;
  width: 160px;
  pointer-events: none;
}

.testimonials-slider {
  max-width: 1040px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 280px;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-card-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.avatar-cell {
  display: flex;
  justify-content: center;
}

.circular-avatar-frame {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: #F1F5F9;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-quote {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
  color: #0F172A;
  margin-bottom: 24px;
}

.speaker-name {
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 2px;
}

.speaker-title {
  font-size: 14px;
  color: #64748B;
}

.slider-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #F1F5F9;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dots .dot.active {
  width: 24px;
  border-radius: 4px;
  background: #000000;
}

.slider-arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0F172A;
  transition: all var(--transition-fast);
}

.arrow-btn:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

/* ==========================================================================
   8. EVERYTHING YOU NEED FOR THAT WOW EFFECT
   ========================================================================== */

.wow-features-section {
  padding: 100px 0;
  background: #F8FAFC;
}

.wow-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.wow-badge {
  display: inline-block;
  background: #0085E4;
  color: #FFFFFF;
  padding: 2px 16px;
  border-radius: 8px;
  position: relative;
  font-weight: 800;
  transform: rotate(-3deg);
  margin: 0 4px;
}

.wow-bubble-tail {
  position: absolute;
  bottom: -9px;
  right: 14px;
}

.wow-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.wow-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.wow-card-preview {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 20px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wow-card:hover .wow-card-preview {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.wow-preview-img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.wow-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.wow-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.wow-cta-row {
  text-align: center;
}

/* ==========================================================================
   9. INFINITE RED CASE STUDY BANNER
   ========================================================================== */

.case-study-section {
  padding: 80px 0 100px;
  background: #F8FAFC;
}

.case-study-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.case-logo {
  height: 36px;
  width: auto;
  margin-bottom: 24px;
}

.case-heading {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #0F172A;
  margin-bottom: 24px;
}

.case-author-team {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.case-avatars-overlap {
  display: flex;
  align-items: center;
}

.case-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.case-avatar.overlap {
  margin-left: -14px;
}

.case-author-text {
  font-size: 14px;
  color: #64748B;
  max-width: 240px;
}

.case-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.case-main-photo {
  width: 100%;
  height: auto;
  display: block;
}

.case-rhombus-decor {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  pointer-events: none;
}

/* ==========================================================================
   10. FOOTER STYLING
   ========================================================================== */

.site-footer {
  background: #FFFFFF;
  padding: 80px 0 40px;
  border-top: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
}

/* Diffuse ambient color shade in bottom-right matching exact user image */
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 760px;
  height: 580px;
  background: radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.38) 32%, rgba(6, 182, 212, 0.22) 62%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.bg-footer {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 809px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.footer-top-row,
.footer-center-dash-wrapper,
.footer-bottom-row {
  position: relative;
  z-index: 2;
}

.footer-center-dash-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.footer-center-dash {
  width: 32px;
  height: 4.5px;
  background: #94A3B8;
  border-radius: 9999px;
  display: block;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: #64748B;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #000000;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 16px;
}

.newsletter-caption {
  font-size: 14px;
  line-height: 1.5;
  color: #64748B;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.newsletter-input {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: #000000;
  background: #FFFFFF;
}

.btn-subscribe {
  padding: 12px 22px;
  font-size: 14px;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-icons a {
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-icons a:hover {
  color: #000000;
  transform: translateY(-2px);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #F1F5F9;
  font-size: 13px;
  color: #94A3B8;
}

.legal-nav {
  display: flex;
  gap: 24px;
}

.legal-nav a {
  color: #64748B;
}

.legal-nav a:hover {
  color: #000000;
}

.copyright-notice a {
  color: #000000;
  font-weight: 600;
}

/* ==========================================================================
   VIDEO MODAL POPUP
   ========================================================================== */

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.video-frame-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   TEMPLATES SHOWCASE (UPGRADE YOUR TEAM DESIGN PRESENTATION)
   ========================================================================== */

.templates-section {
  padding: 100px 0 120px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.templates-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.templates-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--color-text-main);
  line-height: 1.15;
  margin-bottom: 16px;
}

.templates-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.templates-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.template-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.template-card--purple {
  border: 4px solid #8B5CF6;
}

.template-card--yellow {
  border: 4px solid #F59E0B;
}

.template-card--blue {
  border: 4px solid #0085E4;
}

.template-card-preview {
  position: relative;
  background: #F8FAFC;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.template-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.template-card-footer {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.template-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
}

.template-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: #F1F5F9;
  color: #475569;
}

.templates-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

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

@media (max-width: 1100px) {
  .superpowers-grid,
  .wow-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories-banner-card {
    grid-template-columns: 1fr;
  }

  .stories-banner-mockup {
    justify-content: center;
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 50px;
  }

  .hero-ambient-bg {
    height: 520px;
    filter: blur(35px);
  }

  .hero-title {
    font-size: 42px;
  }

  .templates-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-mockup-column {
    position: static;
  }

  .testimonial-card-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .decor-pencil-img {
    display: none;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
  }

  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .header-container {
    padding: 0 16px;
  }

  .hero-container {
    padding: 0 16px;
  }

  .hero-mockup-wrapper {
    margin: 0 -8px 24px;
    border-radius: 12px;
  }

  .macos-titlebar {
    padding: 0 12px;
    height: 38px;
  }

  .window-title span {
    font-size: 11px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hide crowded toolbar in hero window on mobile so video has full visibility */
  .canvas-sub-toolbar {
    display: none !important;
  }

  /* Prevent 'Open interactive canvas' button from covering/hiding the screen on mobile */
  .tab-mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-open-example {
    position: static !important;
    transform: none !important;
    margin: 16px auto 4px !important;
    display: inline-flex !important;
    width: fit-content !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  }

  .btn-open-example:hover {
    transform: translateY(-2px) !important;
  }

  /* Properly proportion brand logo in mobile header */
  .infusedpath-logo-svg {
    width: 126px !important;
    height: auto !important;
  }

  .canvas-floating-tag {
    display: none;
  }

  .tabs-nav-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .tab-pill {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 40px;
  }

  .hero-ambient-bg {
    height: 440px;
    filter: blur(28px);
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 26px;
    padding: 0 8px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .section-title,
  .superpowers-main-heading,
  .testimonials-title,
  .templates-title {
    font-size: 28px;
  }

  .superpowers-grid,
  .wow-cards-grid,
  .templates-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stories-banner-card {
    padding: 32px 18px;
  }

  .stories-title {
    font-size: 26px;
  }

  .stories-text {
    font-size: 15px;
  }

  .case-study-card {
    padding: 28px 18px;
  }

  .case-heading {
    font-size: 22px;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }

  .btn-subscribe {
    width: 100%;
  }
}

