/* --------------------------------------------------------
   DEVSCALE STYLING SYSTEM
   Aesthetic: Cyber Dark Premium, Large Typography, Glowing Accents
   -------------------------------------------------------- */

/* 1. CSS VARIABLES & THEME TOKENS */
:root {
  /* Colors - Derived from rose (#bf7a86), orange (#f69748), coral (#ce3e21) */
  --bg-primary: #12080a;       /* Deep warm plum-black */
  --bg-secondary: #1a0f12;     /* Warm rose-brown */
  --bg-tertiary: #27161a;      /* Mahogany tone */
  --bg-glass: rgba(26, 15, 18, 0.7);
  --border-glass: rgba(246, 151, 72, 0.12);
  --border-glass-hover: rgba(246, 151, 72, 0.28);
  
  --primary: #ce3e21;          /* Coral Red */
  --primary-glow: rgba(206, 62, 33, 0.35);
  --secondary: #f69748;        /* Golden Orange */
  --secondary-glow: rgba(246, 151, 72, 0.35);
  --accent: #bf7a86;           /* Rose Plum */
  --accent-glow: rgba(191, 122, 134, 0.25);
  --warning: #f59e0b;          /* Amber */
  --danger: #ef4444;           /* Coral Red */
  
  --text-primary: #ffffff;
  --text-secondary: #ebd6da;   /* Muted warm rose-gray */
  --text-muted: #a68d92;       /* Warm grayish plum */
  
  --gradient-blue-violet: linear-gradient(135deg, #ce3e21 0%, #f69748 100%);
  --gradient-orange-red: linear-gradient(135deg, #bf7a86 0%, #ce3e21 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(39, 22, 26, 0.5) 0%, rgba(26, 15, 18, 0.8) 100%);
  --gradient-text-light: linear-gradient(135deg, #ffffff 40%, #ebd6da 100%);
  --gradient-glow-primary: radial-gradient(circle, rgba(206, 62, 33, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  --gradient-glow-secondary: radial-gradient(circle, rgba(246, 151, 72, 0.15) 0%, rgba(0, 0, 0, 0) 70%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 4px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 30px rgba(206, 62, 33, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* 2. BASE & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

ul {
  list-style: none;
}

/* Helpers */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

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

.text-gradient-purple {
  background: var(--gradient-text-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-text {
  background: var(--gradient-blue-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-text {
  color: var(--accent) !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-title {
  font-size: 2.75rem;
  margin-top: 15px;
  margin-bottom: 20px;
  background: var(--gradient-text-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-header-left {
  margin-bottom: 50px;
  max-width: 650px;
}

.section-header-left .section-title {
  margin-bottom: 15px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.section-header-flex .section-subtitle {
  margin: 15px 0 0 0;
  text-align: left;
}

/* 3. BUTTONS & BADGES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--secondary-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-link {
  background: transparent;
  border: none;
  padding: 8px 16px;
  color: var(--text-secondary);
}

.btn-link:hover {
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid var(--border-glass);
}

.btn-dark:hover {
  background: #111;
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glow effects for buttons */
.btn-glow {
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-glow-violet {
  box-shadow: 0 4px 15px var(--secondary-glow);
}

/* Badges */
.badge {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
  font-family: var(--font-display);
}

.badge-primary {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-accent {
  background: rgba(139, 92, 246, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-glow {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  animation: badge-pulse 2s infinite ease-in-out;
}

.badge-glow-violet {
  background: rgba(167, 139, 250, 0.15);
  color: #c084fc;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.2);
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.95; }
}

/* 4. FLOATING DRAGGABLE HEADER */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  height: 65px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: grab;
  user-select: none; /* Prevents text selection highlight when dragging */
}

.header:active {
  cursor: grabbing;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  color: #12080a !important;
}

.header-logo-svg {
  color: #12080a;
}

.header-logo-text {
  color: #12080a;
}

.logo-accent {
  color: var(--primary);
  margin: 0 2px;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #12080a;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Make header action button contrast with dark style */
.btn-login {
  color: #12080a;
  font-weight: 600;
}

.btn-login:hover {
  color: var(--primary);
}


.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-fast);
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  overflow: hidden;
  /* Clean gradient background only (no overlays or masks) */
  background: linear-gradient(180deg, #bf7a86 0%, #f69748 50%, #ce3e21 100%);
}

/* Hide background collage grids and glowing circles completely */
.hero-bg-grid, .hero-glow-1, .hero-glow-2 {
  display: none !important;
}

.hero-container {
  position: relative;
  z-index: 5;
  text-align: left;
}

.badge-wrapper {
  margin-bottom: 25px;
}

.hero-section .badge-glow {
  background: rgba(18, 8, 10, 0.08);
  color: #12080a;
  border: 1px solid rgba(18, 8, 10, 0.2);
  box-shadow: none;
  animation: none;
}

.hero-headline {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
  color: #12080a; /* Premium dark contrast text */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  text-shadow: none;
  max-width: 850px;
}

.hero-section .highlight-text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #ffffff; /* Contrast highlight in solid white */
  text-shadow: 0 2px 8px rgba(18, 8, 10, 0.15);
}

.hero-subheadline {
  font-size: 1.25rem;
  color: rgba(18, 8, 10, 0.9); /* Dark text for high contrast on orange gradient */
  max-width: 680px;
  margin: 0 0 40px 0;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: none;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 80px;
}

/* Specific buttons inside Hero for high contrast */
.hero-ctas .btn-primary {
  background: #12080a;
  color: #ffffff;
  border: none;
}

.hero-ctas .btn-primary:hover {
  background: #251216;
  box-shadow: 0 8px 25px rgba(18, 8, 10, 0.25);
  transform: translateY(-2px);
}

.hero-ctas .btn-outline {
  border-color: #12080a;
  color: #12080a;
  background: transparent;
}

.hero-ctas .btn-outline:hover {
  background: rgba(18, 8, 10, 0.08);
  border-color: #12080a;
  transform: translateY(-2px);
}

/* Partner logos marquee loop */
.partner-logos-wrapper {
  margin-top: 40px;
  border-top: 1px solid rgba(18, 8, 10, 0.15);
  padding-top: 40px;
}

.partner-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(18, 8, 10, 0.65);
  margin-bottom: 25px;
}

.partner-logos-track {
  overflow: hidden;
  display: flex;
  user-select: none;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);
}

.partner-logos {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 40px;
  animation: scroll-logos 25s linear infinite;
}

.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #12080a;
  opacity: 0.75;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.partner-logo:hover {
  opacity: 1;
  color: #000000;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 6. CREDIBILITY SECTION */
.stats-section {
  background-color: #ffffff;
  color: #12080a;
}

.stats-badge-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(18, 8, 10, 0.05);
  border: 1px solid rgba(18, 8, 10, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #12080a;
  margin-bottom: 25px;
}

.stats-top-icon {
  width: 24px;
  height: 24px;
}

.stats-main-heading {
  font-size: 2.75rem;
  line-height: 1.2;
  color: #12080a;
  margin-bottom: 15px;
  font-weight: 800;
}

.stats-sub-heading {
  font-size: 1.5rem;
  color: rgba(18, 8, 10, 0.7);
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stats-mini-caption {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(18, 8, 10, 0.45);
  margin-bottom: 50px;
  font-weight: 700;
}

.stats-interactive-card-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px;
}

.stats-interactive-card {
  /* Silver/Metallic Chrome gradient reflection styling */
  background: linear-gradient(135deg, #e9eff5 0%, #ffffff 30%, #cfdad6 65%, #f4f6f9 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  border: 1px solid rgba(18, 8, 10, 0.08);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  box-shadow: 0 35px 70px rgba(18, 8, 10, 0.07);
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.45s ease, background-position 0.6s ease;
  position: relative;
  overflow: hidden;
}

.stats-interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.stats-interactive-card:hover::before {
  left: 150%;
}

.stats-interactive-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 45px 90px rgba(18, 8, 10, 0.12);
  background-position: 100% 100%;
}

.card-pill {
  display: inline-block;
  background: rgba(18, 8, 10, 0.03);
  color: #12080a;
  border: 1px solid rgba(18, 8, 10, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.card-main-number {
  margin-bottom: 15px;
}

.card-main-number .stat-num {
  font-size: 6rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #12080a;
  line-height: 1;
  display: block;
}

.card-main-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #12080a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-main-desc {
  font-size: 0.95rem;
  color: rgba(18, 8, 10, 0.6);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.card-divider {
  border: none;
  border-top: 1px solid rgba(18, 8, 10, 0.1);
  margin: 40px 0;
}

.card-sub-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.sub-metric {
  position: relative;
  padding: 0 20px;
  border-right: 1px solid rgba(18, 8, 10, 0.1);
}

.sub-metric:last-child {
  border-right: none;
}

.sub-metric-num {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #12080a;
  display: block;
  margin-bottom: 5px;
}

.sub-metric-label {
  font-size: 0.8rem;
  color: rgba(18, 8, 10, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 8. PRODUCT/SHOWCASE SECTION */
.product-showcase-section {
  position: relative;
  /* Glowing eclipse arc background (orange-red crescent to black) */
  background: 
    radial-gradient(ellipse 120% 60% at 50% -10%, #f69748 0%, #ce3e21 35%, var(--bg-primary) 85%),
    var(--bg-primary);
  overflow: hidden;
}

.showcase-header {
  margin-bottom: 50px;
}

.showcase-heading {
  font-size: 2.75rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.phone-center-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.phone-mockup-wrapper {
  position: relative;
  width: 540px;
  max-width: 100%;
  margin: 0 auto;
}

/* Black gradient fade mask to blend the wrist cutoff softly into the dark background */
.phone-mockup-wrapper::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60%; /* Submerges the wrist completely in the dark blur */
  background: linear-gradient(to bottom, rgba(18, 8, 10, 0) 0%, rgba(18, 8, 10, 0.15) 15%, rgba(18, 8, 10, 0.8) 50%, #12080a 90%, #12080a 100%);
  pointer-events: none;
  z-index: 8;
}

.phone-bg-image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen; /* Blends the black background of the image into the page gradient */
  position: relative;
  z-index: 1;
}

.phone-screen-overlay {
  position: absolute;
  top: 23.2%;
  left: 28.5%;
  width: 43.0%;
  height: 51.8%;
  background: #0d0406;
  border-radius: 22px;
  overflow: hidden;
  z-index: 5;
}

/* CSS dynamic island inside our screen overlay */
.phone-screen-overlay::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 20;
}

.phone-screen-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 40px 12px 15px 12px; /* Sits nicely below the dynamic island */
  scrollbar-width: none; /* Hide scrollbar */
}

.phone-screen-scroll::-webkit-scrollbar {
  display: none;
}

/* Static High-Fidelity Dashboard Screen Styles */
.static-dashboard-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.scr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.scr-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scr-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #12080a;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scr-user h6 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.scr-status {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 3px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.scr-menu-btn {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.scr-widget {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.chart-widget {
  gap: 5px;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-trend {
  color: var(--accent);
  font-weight: 700;
}

.widget-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.widget-mini-chart {
  height: 35px;
  margin-top: 5px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.scr-row {
  display: flex;
  gap: 10px;
}

.half-widget {
  flex: 1;
  gap: 3px;
}

.widget-label {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.integrations-widget {
  gap: 8px;
}

.scr-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scr-pipe-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
}

.pipe-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
}

.ai-widget {
  gap: 5px;
  border-left: 2px solid var(--secondary);
  background: rgba(246, 151, 72, 0.02);
}

.ai-msg {
  font-size: 0.65rem;
  line-height: 1.4;
  color: var(--secondary);
  margin: 0;
}

/* Floating Orbiting Badges */
.floating-tag {
  position: absolute;
  background: rgba(26, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 8px 14px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
  z-index: 30;
  white-space: nowrap;
}

.floating-tag:hover {
  transform: scale(1.05);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(246, 151, 72, 0.25);
}

/* Left Orbiting Tags coordinates */
.orbit-left-1 { top: 18%; left: -16%; animation: float-left-1 4s ease-in-out infinite; }
.orbit-left-2 { top: 48%; left: -22%; animation: float-left-2 4.5s ease-in-out infinite; }
.orbit-left-3 { top: 78%; left: -16%; animation: float-left-3 3.8s ease-in-out infinite; }

/* Right Orbiting Tags coordinates */
.orbit-right-1 { top: 18%; right: -16%; animation: float-right-1 4.2s ease-in-out infinite; }
.orbit-right-2 { top: 48%; right: -22%; animation: float-right-2 4.7s ease-in-out infinite; }
.orbit-right-3 { top: 78%; right: -16%; animation: float-right-3 3.9s ease-in-out infinite; }

@keyframes float-left-1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-left-2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-left-3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@keyframes float-right-1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes float-right-2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes float-right-3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Mobile scaling helper media overrides */
@media (max-width: 576px) {
  .phone-mockup-wrapper {
    width: 320px;
  }
  .phone-screen-scroll {
    padding: 30px 6px 6px 6px;
  }
  .scr-avatar { width: 16px; height: 16px; font-size: 0.5rem; }
  .scr-user h6 { font-size: 0.6rem; }
  .widget-value { font-size: 0.8rem; }
  .widget-num { font-size: 0.7rem; }
  .scr-pipe-item { font-size: 0.5rem; }
  .ai-msg { font-size: 0.5rem; }
}



/* Tech Stack Ribbon (marquee) */
.tech-marquee-wrapper {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
}

.marquee-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.marquee-track {
  overflow: hidden;
  display: flex;
  user-select: none;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 40px;
  animation: scroll-tech 35s linear infinite;
}

.marquee-content span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.marquee-content span:hover {
  opacity: 1;
  color: #fff;
}

@keyframes scroll-tech {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 9. TRIPLE-DEVICE SPECIALTY SHOWCASE styling */
.specialty-showcase-container {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr;
  gap: 30px;
  align-items: center;
  margin-top: 60px;
}

.specialty-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.specialty-balloon {
  display: flex;
  gap: 15px;
  background: rgba(26, 15, 18, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.specialty-balloon:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(246, 151, 72, 0.3);
  box-shadow: 0 10px 25px rgba(246, 151, 72, 0.06);
}

.balloon-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  opacity: 0.8;
  flex-shrink: 0;
  line-height: 1.2;
}

.balloon-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.balloon-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.balloon-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.balloon-meta .meta-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 8px;
  border-radius: 4px;
}

.balloon-meta .meta-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(246, 151, 72, 0.08);
  border: 1px solid rgba(246, 151, 72, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Center mockups column styling using static image with hotspots */
.specialty-mockups-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.mockups-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: inline-block;
  user-select: none;
}

.specialty-devices-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1) contrast(1) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: filter 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dimming rules when an item is highlighted */
.mockups-image-wrapper.has-highlight .specialty-devices-img {
  filter: brightness(0.4) contrast(0.9) grayscale(25%);
}

/* Hotspots overlaying the device screens */
.specialty-hotspot {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: scale(0.98);
}

.specialty-hotspot.highlighted {
  opacity: 1;
  transform: scale(1.02);
  border: 1.5px solid rgba(246, 151, 72, 0.4);
  background: rgba(246, 151, 72, 0.02);
  box-shadow: 0 0 30px rgba(246, 151, 72, 0.15), inset 0 0 15px rgba(246, 151, 72, 0.1);
  backdrop-filter: brightness(2.05) saturate(1.15) contrast(1.05);
  z-index: 10;
}

/* Coordinates corresponding to the MacBook, iPad, and iPhone locations in the image */
.hs-macbook {
  left: 0%;
  top: 36%;
  width: 56%;
  height: 61%;
  border-radius: 8px;
}

.hs-ipad {
  left: 41%;
  top: 27%;
  width: 41%;
  height: 73%;
  border-radius: 12px;
}

.hs-iphone {
  left: 78%;
  top: 46%;
  width: 22%;
  height: 54%;
  border-radius: 16px;
}

/* Responsive Overrides for Specialty Showcase */
@media (max-width: 992px) {
  .specialty-showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .specialty-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .specialty-mockups-center {
    grid-row: 1;
    height: 380px;
  }
  .mockups-image-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .specialty-side {
    grid-template-columns: 1fr;
  }
  .specialty-mockups-center {
    height: 280px;
  }
}



/* 10. TOOLS / TECH GRID */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.tool-item {
  background: rgba(10, 15, 29, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.tool-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.tool-logo-box {
  font-size: 1.8rem;
  margin-bottom: 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}

.tool-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.tool-cat {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 11. TIMELINE (JORNADA DO PROJETO) */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0 auto;
}

.timeline-progress-bar {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  z-index: 1;
}

.timeline-progress-fill {
  width: 100%;
  height: 16%;
  background: var(--gradient-blue-violet);
  border-radius: 10px;
  transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-nodes {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-node {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding-right: 45px;
  transition: var(--transition-smooth);
}

.timeline-node:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 45px;
}

.node-bullet {
  position: absolute;
  right: -16px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b0f19;
  border: 3px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-node:nth-child(even) .node-bullet {
  left: -16px;
  right: auto;
}

.node-content {
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 440px;
  transition: var(--transition-smooth);
}

.node-content h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}

.node-content p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Active timeline states */
.timeline-node.active .node-bullet {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-node.active .node-content {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
}

/* 12. TEAM CAROUSEL */
.team-carousel-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.team-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: grab;
}

.team-carousel:active {
  cursor: grabbing;
}

.team-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-image-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-avatar {
  font-size: 2.5rem;
}

.member-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 5px;
}

.team-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 0.85rem;
  line-height: 1.5;
}

.carousel-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  margin-left: 10px;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* 13. PRICING & COMPARISON */
.pricing-toggle-container {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 50px;
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toggle-label.active {
  color: #fff;
}

.discount-badge {
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.pricing-toggle-btn {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass-hover);
  border-radius: 50px;
  margin: 0 12px;
  cursor: pointer;
}

.toggle-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-blue-violet);
  transition: var(--transition-smooth);
}

.pricing-toggle-btn.active .toggle-handle {
  left: 26px;
}

.pricing-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 80px auto;
}

.pricing-card {
  flex: 1;
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 45px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(10, 15, 29, 0.9) 100%);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.08);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-blue-violet);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  display: block;
}

.pricing-header h3 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 10px;
}

.pricing-header p {
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.price-display {
  display: flex;
  align-items: baseline;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 30px;
}

.price-currency {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 6px;
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-features {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.pricing-features li span {
  color: var(--text-secondary);
}

/* Comparison Table */
.comparison-table-wrapper {
  margin-top: 50px;
  background: rgba(10, 15, 29, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  overflow-x: auto;
}

.comparison-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 35px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.comparison-table th:first-child {
  width: 30%;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.01);
  color: #fff;
}

/* 14. FAQ SECTION (Light Cream & 3D Aesthetic) */
.faq-light-section {
  background-color: #fbfaf7;
  color: #12080a;
  overflow: visible; /* Required to let the bottom pill button overflow the section bottom if needed */
  perspective: 1000px; /* Activates 3D space */
}

.faq-logo-wrapper {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.faq-logo-svg {
  width: 70px;
  height: auto;
}

.faq-light-heading {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #12080a;
  margin-bottom: 45px;
  letter-spacing: -0.02em;
}

.faq-centered-card {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(18, 8, 10, 0.05);
  border-bottom: 5px solid rgba(18, 8, 10, 0.12); /* 3D Bevel Edge */
  padding: 15px 35px 55px 35px;
  position: relative;
  box-shadow: 0 25px 60px rgba(18, 8, 10, 0.04);
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.45s ease;
  transform-style: preserve-3d;
  text-align: left;
}

/* 3D tilt interaction on hover */
.faq-centered-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-2deg);
  box-shadow: 
    0 40px 80px rgba(18, 8, 10, 0.08), 
    0 15px 35px rgba(18, 8, 10, 0.04);
}

.faq-light-section .faq-item {
  border-bottom: 1px solid rgba(18, 8, 10, 0.07);
  padding: 22px 0;
  transition: var(--transition-fast);
}

.faq-light-section .faq-item:last-of-type {
  border-bottom: none;
}

.faq-light-section .faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  color: #12080a;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.faq-light-section .faq-trigger:hover {
  color: var(--primary);
}

.faq-arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(18, 8, 10, 0.35);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-arrow-icon svg {
  display: block;
}

/* Open accordion states */
.faq-light-section .faq-item.open .faq-arrow-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-light-section .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-light-section .faq-content p {
  padding-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(18, 8, 10, 0.65);
  margin: 0;
}

/* Overlapping bottom pill button */
.faq-bottom-pill-wrapper {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%) translateZ(20px); /* 3D layer lift */
  z-index: 10;
}

.faq-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1113;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 8px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-pill-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

.faq-pill-badge {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #12080a;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(246, 151, 72, 0.35);
}

.faq-pill-txt {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 16. NEWSLETTER SECTION */
.newsletter-wrapper {
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.6) 0%, rgba(10, 15, 29, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-lg);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.newsletter-info h2 {
  font-size: 2.25rem;
  margin-top: 10px;
  margin-bottom: 15px;
}

.newsletter-mockup-post {
  margin-top: 30px;
  background: #02050a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  max-width: 400px;
}

.mockup-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.post-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-blue-violet);
}

.post-username {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.post-snippet {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.newsletter-form-container {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.newsletter-form input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 14px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.form-feedback {
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-feedback.success {
  display: block;
  color: var(--accent);
}

.form-feedback.error {
  display: block;
  color: var(--danger);
}

/* 17. CONTACT SECTION */
.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.method-icon {
  width: 45px;
  height: 45px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-method-item h5 {
  font-size: 0.9rem;
  color: #fff;
}

.contact-method-item p {
  font-size: 0.85rem;
}

.contact-form-wrapper {
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input, .contact-form select, .contact-form textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  width: 100%;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23cbd5e1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
}

.contact-form select option {
  background-color: var(--bg-tertiary);
  color: #fff;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

/* 18. FOOTER */
.footer-section {
  background: #02040a;
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.footer-cta-bar {
  background: var(--gradient-blue-violet);
  padding: 30px 0;
}

.footer-cta-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-cta-bar h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
}

.footer-cta-bar p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  padding: 80px 0 50px 0;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.brand-desc {
  font-size: 0.85rem;
  margin-bottom: 25px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: bold;
}

.social-link:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

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

.footer-links-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* 19. RESPONSIVE DESIGN - MEDIA QUERIES */

@media (max-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .team-card {
    flex: 0 0 calc(50% - 15px);
  }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  /* Menu hamburger */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a0f12;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 100px 40px;
    gap: 25px;
    z-index: 1005;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  /* burger animation */
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .grid-2, .grid-2-equal {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-headline {
    font-size: 2.75rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-card-glow {
    padding: 30px;
  }
  
  .interactive-showcase-container {
    padding: 20px;
  }
  
  .floating-card {
    display: none; /* Hide float badges on mobile for layout clarity */
  }
  
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .timeline-progress-bar {
    left: 20px;
  }
  
  .timeline-node {
    width: 100%;
    padding-left: 50px;
    padding-right: 0 !important;
  }
  
  .timeline-node:nth-child(even) {
    align-self: flex-start;
    justify-content: flex-start;
  }
  
  .node-bullet {
    left: 4px !important;
    right: auto !important;
  }
  
  .pricing-cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 440px;
  }
  
  .comparison-table-wrapper {
    padding: 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-wrapper {
    padding: 30px;
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-cta-bar-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-card {
    flex: 0 0 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* BENTO BOX LAYOUT */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}
.bento-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 40px 0 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 480px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f5;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.bento-content {
  margin-bottom: 40px;
}
.bento-title {
  color: #1d1d1f;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.bento-desc {
  color: #515154;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}
.bento-image-wrapper {
  margin-top: auto;
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bento-image-wrapper span {
  color: #c1c1c6;
  font-size: 0.9rem;
  font-weight: 500;
}
.bento-card.bento-gradient {
  background: linear-gradient(135deg, #0071e3 0%, #ff8a00 100%);
  border: none;
}
.bento-card.bento-gradient .bento-title, 
.bento-card.bento-gradient .bento-desc {
  color: #ffffff;
}
.bento-card.bento-gradient .bento-image-wrapper span {
  color: rgba(255,255,255,0.7);
}
.bento-card.dark-theme {
  background-color: #4a4a52;
}
.bento-card.dark-theme .bento-title {
  color: #ffffff;
}
.bento-card.dark-theme .bento-desc {
  color: #e8e8ed;
}
/* --- SECTION: TEAM & MODELS (STACKED GLASSMORPHISM) --- */
.team-models-section {
  position: relative;
  padding: 120px 0 160px;
  background: linear-gradient(180deg, #e8f4fa 0%, #ffffff 100%);
  overflow: hidden;
  color: #12080a;
}
.team-models-content {
  position: relative;
  z-index: 2;
}
.team-models-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 80px;
  color: #12080a;
  letter-spacing: -1.5px;
}
.stacked-mockups-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 750px;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.mockup-layer {
  position: absolute;
  top: 0;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 -15px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.8);
}
.mockup-header {
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
}
.mockup-header .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.mockup-header .dot.red { background: #ff5f56; }
.mockup-header .dot.yellow { background: #ffbd2e; }
.mockup-header .dot.green { background: #27c93f; }
.mockup-header .title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.mockup-body {
  flex: 1;
  padding: 40px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

/* Layer specific styling */
.layer-back-2 {
  width: 70%;
  height: 400px;
  z-index: 1;
  top: 0;
  background: rgba(240, 240, 245, 0.9);
}
.layer-back-1 {
  width: 85%;
  height: 450px;
  z-index: 2;
  top: 60px;
  background: rgba(250, 250, 255, 0.9);
}
.layer-front {
  width: 100%;
  height: auto;
  min-height: 400px;
  z-index: 3;
  top: 140px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -20px 50px rgba(0,0,0,0.12);
  border-radius: 16px; /* give front full border radius */
}

.stacked-mockups-container:hover .layer-back-2 { transform: translateY(-20px); }
.stacked-mockups-container:hover .layer-back-1 { transform: translateY(-10px); }

.mockup-team-content {
  text-align: center;
  margin-top: 20px;
}
.mockup-team-content h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
  color: #111;
}
.mockup-team-content p {
  color: #555;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .team-models-section { padding: 80px 0; }
  .stacked-mockups-container { height: auto; transform: none; display: flex; flex-direction: column; gap: 20px; }
  .mockup-layer { position: relative; width: 100%; height: auto; transform: none !important; border-radius: 16px; margin-bottom: 20px; }
  .layer-back-1, .layer-back-2 { width: 100%; }
}
