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

:root {
  --bg: #050505;
  --bg-rgb: 5, 5, 5;
  --surface: #0a0a0c;
  --surface-rgb: 10, 10, 12;
  --surface-hover: #121216;
  --accent: #ff5d22;
  --accent-rgb: 255, 93, 34;
  --text: #f5f5f7;
  --text-muted: #86868b;
  --text-dim: #515156;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 93, 34, 0.25);
  --container: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Custom Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 93, 34, 0.3);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

.cursor-ring.is-hover {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
  background-color: rgba(255, 93, 34, 0.05);
}

/* Background Blur Orbs */
.blur-orb-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
  will-change: transform;
}

.blur-orb--orange {
  background: var(--accent);
  width: 50vw;
  height: 50vw;
  top: -10vw;
  right: -10vw;
  animation: orbFloat 25s ease-in-out infinite alternate;
}

.blur-orb--purple {
  background: #7a22ff;
  width: 40vw;
  height: 40vw;
  bottom: 10vh;
  left: -10vw;
  animation: orbFloat 30s ease-in-out infinite alternate-reverse;
}

.blur-orb--orange-2 {
  background: var(--accent);
  width: 35vw;
  height: 35vw;
  top: 50vh;
  right: 15vw;
  animation: orbFloat 22s ease-in-out infinite alternate;
  opacity: 0.08;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-5%, 8%) scale(1.15);
  }
  100% {
    transform: translate(8%, -5%) scale(0.9);
  }
}

/* Layout Utilities */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 45px 0;
  }
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
  text-shadow: 0 0 12px rgba(255, 93, 34, 0.3);
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 60px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Interactive Glowing Cards */
.glow-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  z-index: 1;
}

.glow-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 93, 34, 0.08),
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glow-card:hover::before {
  opacity: 1;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 30px rgba(255, 93, 34, 0.3);
}

.btn-primary:hover {
  background: #ff723f;
  border-color: #ff723f;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 93, 34, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 93, 34, 0.03);
  transform: translateY(-2px);
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease, background 0.4s ease;
}

.header--scrolled {
  background: rgba(5, 5, 5, 0.9);
  padding: 4px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 93, 34, 0.6);
}

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

@media (max-width: 991px) {
  .nav {
    display: none; /* simple burger menu layout below or stack */
  }
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
}

/* Mobile Nav Toggle (Burger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }
  .header__cta {
    display: none;
  }
}

/* Mobile Nav Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}

.mobile-menu.is-active {
  right: 0;
}

.mobile-menu .nav__link {
  font-size: 1.5rem;
}

/* 1. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
}

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

@media (max-width: 991px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero .btn-group {
    justify-content: center;
  }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Floating Mockups (Hero Right) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
}

.mockup-container {
  position: relative;
  width: 320px;
  height: 520px;
}

.phone-mockup {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: #0d0d10;
  border: 4px solid #222;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 93, 34, 0.1);
  overflow: hidden;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #09090b;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Muted visual inner phone app */
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.phone-logo {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.phone-bar {
  width: 40px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.phone-chart {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.phone-chart-header {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phone-chart-value {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--accent);
  margin-top: 4px;
}

.phone-chart-svg {
  width: 100%;
  height: 80px;
  margin-top: 10px;
}

.phone-feed-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-feed-content {
  flex-grow: 1;
}

.phone-feed-title {
  font-size: 0.7rem;
  font-weight: 600;
}

.phone-feed-desc {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Floating Cards surrounding the phone */
.floating-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
  animation: floatEffect 6s ease-in-out infinite;
}

.floating-card--views {
  top: 60px;
  left: -60px;
  animation-delay: 0s;
}

.floating-card--installs {
  bottom: 80px;
  right: -50px;
  animation-delay: 2s;
}

.floating-card--ads {
  top: 220px;
  right: -60px;
  animation-delay: 4s;
}

@media (max-width: 576px) {
  .floating-card--views {
    left: -10px;
    top: 20px;
  }
  .floating-card--installs {
    right: -10px;
    bottom: 20px;
  }
  .floating-card--ads {
    right: -20px;
  }
}

.float-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.float-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@keyframes floatEffect {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* 2. Problem Section */
.problem {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 15, 18, 0.6) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

@media (max-width: 991px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.problem__left {
  max-width: 500px;
}

.problem__lead {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.problem__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .problem__cards {
    grid-template-columns: 1fr;
  }
}

.pain-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
}

.pain-box:hover {
  background: rgba(255, 93, 34, 0.02);
  border-color: rgba(255, 93, 34, 0.15);
  transform: translateY(-4px);
}

.pain-num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.pain-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.pain-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* App Store Visual Mockup (Problem Right) */
.problem__visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(12, 12, 16, 0.8);
  padding: 30px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.problem__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 70%);
}

.appstore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.appstore-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

.appstore-search {
  width: 140px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.appstore-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: filter 0.5s, opacity 0.5s;
}

.problem__visual:hover .appstore-list {
  filter: none;
  opacity: 0.85;
}

.appstore-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-md);
}

.appstore-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1c1c22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.appstore-info {
  flex-grow: 1;
}

.appstore-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.appstore-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.appstore-install-btn {
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
}

.appstore-overlay-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: #111;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(255, 93, 34, 0.4);
  z-index: 10;
  pointer-events: none;
  text-transform: uppercase;
}

/* 3. What BONES Does Section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 93, 34, 0.08);
  border: 1px solid rgba(255, 93, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 93, 34, 0.4);
}

.service-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 4. How It Works Section */
.timeline-section {
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 0; /* Animated dynamically by JS */
  background: linear-gradient(180deg, var(--accent), #ff7a00);
  box-shadow: 0 0 10px var(--accent);
  z-index: 2;
  transition: height 0.1s ease-out;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  margin-bottom: 60px;
  z-index: 3;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-node {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 93, 34, 0.2);
  transform: scale(1.05);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-content {
  border-color: rgba(255, 93, 34, 0.15);
  background: rgba(12, 12, 16, 0.8);
}

.timeline-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 5. For Whom Section */
.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .for-whom__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.for-whom-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.for-whom-card:hover {
  border-color: var(--accent);
  background: rgba(255, 93, 34, 0.03);
  box-shadow: 0 10px 30px rgba(255, 93, 34, 0.05);
  transform: translateY(-3px);
}

.for-whom-icon {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.for-whom-card:hover .for-whom-icon {
  transform: scale(1.2) rotate(5deg);
}

.for-whom-title {
  font-size: 0.95rem;
  font-weight: 600;
}

/* 6. Cases & Results Section */
.cases {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 15, 0.8) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 991px) {
  .cases__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.stat-val {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* SVG Dashboard Visual */
.cases__dashboard {
  background: #0d0d11;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

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

.db-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.db-tabs {
  display: flex;
  gap: 8px;
}

.db-tab {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.db-chart-container {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 24px;
}

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

.chart-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0px 8px 12px rgba(255, 93, 34, 0.3));
}

.chart-path-bg {
  fill: none;
  stroke: rgba(255, 93, 34, 0.03);
  stroke-width: 3;
}

.chart-gradient {
  fill: url(#chart-glow-grad);
}

.db-footer-metrics {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.db-metric-item {
  text-align: center;
}

.db-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.db-metric-val {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

/* 7. Statement Section (Emotional Text) */
.statement {
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
}

.statement__inner {
  max-width: 900px;
  padding: 0 24px;
}

.statement__text {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.statement-word {
  opacity: 0.15;
  transition: opacity 0.5s ease, color 0.5s ease;
  display: inline-block;
  margin-right: 0.2em;
}

.statement-word.active {
  opacity: 1;
  color: var(--text);
}

.statement-word.highlight {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255, 93, 34, 0.25);
}

.statement__author {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
}

/* 8. CTA Section */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__wrapper {
  background: radial-gradient(100% 100% at 50% 0%, rgba(255, 93, 34, 0.08) 0%, rgba(10, 10, 12, 0) 70%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
}

@media (max-width: 991px) {
  .cta__wrapper {
    padding: 40px;
  }
}

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

@media (max-width: 991px) {
  .cta__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.cta__form-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 93, 34, 0.15);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Custom dropdown inside CTA */
.custom-select {
  position: relative;
}

.select-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  text-align: left;
}

.select-trigger:focus {
  border-color: var(--accent);
}

.select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #0d0d11;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: none;
}

.select-menu.show {
  display: block;
}

.select-option {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.select-option:hover,
.select-option.active {
  background: rgba(255, 93, 34, 0.1);
  color: #fff;
}

.success-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-box.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 93, 34, 0.1);
  border: 1px solid rgba(255, 93, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  margin: 0 auto 20px;
}

.success-box h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* 9. Testimonials (Floating Slider / Marquee) Section */
.testimonials {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  width: 420px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 576px) {
  .testimonial-card {
    width: calc(100vw - 48px);
  }
}

.test-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  user-select: none;
}

.test-user {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 93, 34, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid rgba(255, 93, 34, 0.3);
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

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

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  width: 24px;
  border-radius: 4px;
}

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

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 93, 34, 0.05);
}

/* Budget Selector Button Group */
.budget-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

@media (max-width: 576px) {
  .budget-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

.budget-btn {
  padding: 12px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.budget-btn:hover {
  border-color: rgba(255, 93, 34, 0.3);
  color: var(--text);
}

.budget-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 93, 34, 0.3);
}

/* Floating Sticky Cases Button */
.floating-cases-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--border-hover);
  padding: 12px 20px;
  border-radius: 99px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 10px rgba(255,93,34,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 998;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, border-color 0.2s, background-color 0.2s;
}

.floating-cases-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cases-btn:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.floating-cases-btn::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  display: inline-block;
}

.test-meta {
  display: flex;
  flex-direction: column;
}

.test-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.test-company {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 10. Footer Section */
.footer {
  border-top: 1px solid var(--border);
  background: #030304;
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 250px;
}

.footer__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 576px) {
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Reveal-on-scroll styles */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
