/* 
 * DINO Landing Page Design System & Stylesheet
 * Brand Theme: Premium White, Futuristic, Minimalist, Enterprise-grade
 * Sourced Colors: Orange -> Pink -> Purple -> Blue
 */

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

/* --- CSS Variables & Custom Properties --- */
:root {
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --color-orange: #FF5B35;
  --color-pink: #E91E63;
  --color-purple: #9C27B0;
  --color-blue: #2196F3;

  --color-orange-rgb: 255, 91, 53;
  --color-pink-rgb: 233, 30, 99;
  --color-purple-rgb: 156, 39, 176;
  --color-blue-rgb: 33, 150, 243;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--color-orange), var(--color-pink), var(--color-purple), var(--color-blue));
  --grad-orange-pink: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  --grad-pink-purple: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  --grad-purple-blue: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  --grad-glow: linear-gradient(135deg, rgba(255, 91, 53, 0.15), rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.15), rgba(33, 150, 243, 0.15));

  /* Light Theme Palette */
  --bg-main: #FFFFFF;
  --bg-soft: #F8F9FC;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --bg-dark-accent: #0F1219;
  /* High-contrast problem section */

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.15);

  --text-main: #0B0E14;
  --text-muted: #5E697F;
  --text-light: #94A3B8;

  /* System UI */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 18, 25, 0.05);
  --shadow-lg: 0 20px 50px rgba(15, 18, 25, 0.08);
  --shadow-glow: 0 10px 40px rgba(233, 30, 99, 0.12);

  /* Animations & Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --header-height: 120px;
  --container-width: 1280px;
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

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

html,
body {
  overflow-x: hidden;
}

/* Base grid mesh background for futuristic aesthetic */
.grid-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

/* Custom selection */
::selection {
  background-color: rgba(233, 30, 99, 0.15);
  color: var(--color-pink);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- Typography Helpers --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  line-height: 1.6;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-orange {
  background: var(--grad-orange-pink);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

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

.section-padding {
  padding: 120px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-header .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(233, 30, 99, 0.06);
  border: 1px solid rgba(233, 30, 99, 0.15);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.02);
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
}

.section-header p {
  font-size: 1.15rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-main);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #252d3d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 14, 20, 0.15);
}

.btn-secondary {
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--grad-primary);
  color: var(--bg-main);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-blue), var(--color-purple), var(--color-pink), var(--color-orange));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.btn-gradient:hover::before {
  opacity: 1;
}

.btn-gradient span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
}

/* --- Fixed Blur Navigation Header --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-nav.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 86px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal), transform var(--transition-fast);
}

.header-nav.scrolled .logo-img {
  height: 60px;
}

.logo-container:hover .logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-main);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-actions {
    display: none;
  }
}

/* --- SECTION 1: HERO --- */
.hero {
  padding: 180px 0 100px 0;
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg-main);
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 91, 53, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 20%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

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

@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 80px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-orange);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

.hero-sub {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 580px;
}

@media (max-width: 991px) {
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 991px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Floating Device Cards & Phone Simulator */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Floating Cards Layout */
.floating-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
  z-index: 10;
  pointer-events: auto;
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 30px 60px rgba(15, 18, 25, 0.12);
  border-color: rgba(233, 30, 99, 0.2);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  flex-shrink: 0;
}

.card-icon.blue {
  background: var(--color-blue);
}

.card-icon.orange {
  background: var(--color-orange);
}

.card-icon.pink {
  background: var(--color-pink);
}

.card-icon.purple {
  background: var(--color-purple);
}

.card-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-weight: 600;
}

.card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Card positions in hero */
.card-pos-1 {
  top: 10%;
  left: 0;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.card-pos-2 {
  bottom: 15%;
  left: -20px;
  animation: float-fast 5s ease-in-out infinite alternate;
}

.card-pos-3 {
  top: 15%;
  right: -20px;
  animation: float-medium 7s ease-in-out infinite alternate;
}

.card-pos-4 {
  bottom: 12%;
  right: 0;
  animation: float-slow 8s ease-in-out infinite alternate;
}

@media (max-width: 1200px) {
  .card-pos-1 {
    left: -30px;
  }

  .card-pos-3 {
    right: -30px;
  }
}

@media (max-width: 576px) {
  .floating-card {
    display: none;
    /* Hide floating secondary cards on small screens */
  }
}

/* --- THE SMARTPHONE SIMULATOR --- */
.phone-mockup {
  width: 280px;
  height: 520px;
  background: #000;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0px 25px 50px -12px rgba(0, 0, 0, 0.25),
    0px 0px 0px 4px #1A1F26,
    0px 0px 0px 8px #0F1219;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 60%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

/* Phone Inner Screen */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0d14;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transition: background var(--transition-normal);
}

/* Notch */
.phone-notch {
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
}

.phone-camera {
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-speaker {
  width: 32px;
  height: 3px;
  background: #222;
  border-radius: var(--radius-pill);
}

/* Home Indicator */
.phone-home-indicator {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

/* Screen State Templates */
.screen-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 44px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 5;
}

/* Screen Header (Global for phone states) */
.phone-state-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  z-index: 10;
}

.phone-icons {
  display: flex;
  gap: 4px;
}

/* STATE 1: UNLOCKED */
.state-unlocked {
  opacity: 1;
  pointer-events: auto;
  background: radial-gradient(circle at top, #1E1B4B 0%, #0F172A 100%);
}

.phone-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.phone-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.phone-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.phone-app-icon svg {
  width: 22px;
  height: 22px;
}

.phone-app-item:hover .phone-app-icon {
  transform: translateY(-2px);
}

.phone-app-name {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* Phone lock/unlock controls (Simulator triggers on website) */
.sim-controls {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.sim-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--bg-soft);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.sim-btn:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

.sim-btn.active {
  background: var(--color-pink);
  color: var(--bg-main);
}

/* STATE 2: LOCKED SCREEN */
.state-locked {
  background: radial-gradient(circle at top, #3A1010 0%, #1A0505 100%);
}

.lock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  gap: 20px;
}

.lock-shield {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 91, 53, 0.15);
  border: 2px solid var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  animation: pulse-orange 2s infinite;
}

.lock-container h3 {
  font-size: 1.2rem;
  color: #FFF;
  font-family: var(--font-heading);
}

.lock-container p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 180px;
  margin: 0 auto;
}

.lock-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--bg-main);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* STATE 3: REMINDER / PAY NOTIFICATION */
.state-reminder {
  background: radial-gradient(circle at top, #1E1A3C 0%, #0D0B18 100%);
}

.reminder-notification {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 24px;
  display: flex;
  gap: 10px;
  animation: slide-down 0.4s ease-out;
}

.reminder-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.reminder-logo {
  width: 16px;
  height: 16px;
  background: var(--color-pink);
  border-radius: 4px;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
}

.reminder-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #FFF;
}

.reminder-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.reminder-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.reminder-pay-btn {
  margin-top: 8px;
  width: 100%;
  padding: 8px 0;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

/* Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 91, 53, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 91, 53, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 91, 53, 0);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

@keyframes float-medium {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-16px);
  }
}

@keyframes float-fast {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

@keyframes slide-down {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- SECTION 2: TRUST STRIP --- */
.trust-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
  overflow: hidden;
}

.trust-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--color-blue);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .trust-wrapper {
    justify-content: center;
    gap: 30px;
  }
}

/* --- SECTION 3: THE PROBLEM --- */
.problem-section {
  background: var(--bg-dark-accent);
  color: var(--bg-main);
}

.problem-section h2 {
  color: var(--bg-main);
}

.problem-section p {
  color: var(--text-light);
}

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

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

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

.problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 91, 53, 0.25);
}

.problem-card .card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 91, 53, 0.1);
  color: var(--color-orange);
  font-size: 1.2rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  color: var(--bg-main);
  font-weight: 600;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
}

.problem-solve-bar {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 0 auto;
}

.problem-solve-bar h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.problem-solve-bar p {
  font-size: 1rem;
}

/* --- SECTION 4: DINO ECOSYSTEM --- */
.ecosystem-section {
  background-color: var(--bg-main);
  overflow: hidden;
}

.ecosystem-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .ecosystem-wrapper {
    transform: none;
    margin: 0 -24px;
    width: calc(100% + 48px);
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    justify-content: flex-start;
  }

  .ecosystem-wrapper::-webkit-scrollbar {
    display: none;
  }
}

/* Ecosystem SVG connections */
.ecosystem-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .ecosystem-svg {
    display: none !important;
  }
}

.ecosystem-svg path {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  transition: all var(--transition-normal);
}

.ecosystem-svg path.glow {
  stroke: url(#eco-grad);
  stroke-width: 3;
  stroke-dasharray: none;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Center DINO Node */
.eco-node-center {
  position: relative;
  z-index: 5;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-main), var(--bg-main)), var(--grad-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.eco-node-center:hover {
  transform: scale(1.05);
}

.ecosystem-wrapper:has(.eco-node:hover) .eco-node-center {
  box-shadow: 0 0 50px rgba(233, 30, 99, 0.35);
  transform: scale(1.03);
}

.eco-node-center img {
  height: 48px;
  width: auto;
  margin-bottom: 6px;
}

.eco-node-center span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

/* Satellite Nodes */
.eco-node {
  position: absolute;
  z-index: 5;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .eco-node {
    position: static !important;
    transform: none !important;
    scroll-snap-align: center;
    flex: 0 0 280px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    margin: 0;
    white-space: normal;
    border-radius: var(--radius-lg);
  }

  .eco-node:hover,
  .eco-node.active {
    transform: translateY(-4px) !important;
  }

  .eco-node-icon {
    margin-bottom: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .eco-node-label {
    font-size: 1.1rem;
    white-space: normal;
    text-align: left;
  }

  .eco-node-center {
    display: none !important;
  }
}

.eco-node:hover,
.eco-node.active {
  background: var(--bg-main);
  border-color: rgba(33, 150, 243, 0.25);
  box-shadow: 0 12px 30px rgba(33, 150, 243, 0.12);
}

.eco-node.active {
  border-color: var(--color-pink);
}

.eco-node-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  font-size: 0.85rem;
}

.eco-node-icon.orange {
  background: var(--color-orange);
}

.eco-node-icon.pink {
  background: var(--color-pink);
}

.eco-node-icon.purple {
  background: var(--color-purple);
}

.eco-node-icon.blue {
  background: var(--color-blue);
}

.eco-node-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Node layout locations around center (600px radius/height box) */
.node-partner {
  top: 10%;
  left: 10%;
  transform: scale(1);
}

.node-partner:hover,
.node-partner.active {
  transform: scale(1.08);
}

.node-device {
  top: 5%;
  left: 50%;
  transform: translateX(-50%) scale(1);
}

.node-device:hover,
.node-device.active {
  transform: translateX(-50%) scale(1.08);
}

.node-control {
  top: 10%;
  right: 10%;
  transform: scale(1);
}

.node-control:hover,
.node-control.active {
  transform: scale(1.08);
}

.node-gps {
  top: 45%;
  left: 2%;
  transform: translateY(-50%) scale(1);
}

.node-gps:hover,
.node-gps.active {
  transform: translateY(-50%) scale(1.08);
}

.node-emi {
  top: 45%;
  right: 2%;
  transform: translateY(-50%) scale(1);
}

.node-emi:hover,
.node-emi.active {
  transform: translateY(-50%) scale(1.08);
}

.node-customer {
  bottom: 10%;
  left: 10%;
  transform: scale(1);
}

.node-customer:hover,
.node-customer.active {
  transform: scale(1.08);
}

.node-promo {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%) scale(1);
}

.node-promo:hover,
.node-promo.active {
  transform: translateX(-50%) scale(1.08);
}

.node-analytics {
  bottom: 10%;
  right: 10%;
  transform: scale(1);
}

.node-analytics:hover,
.node-analytics.active {
  transform: scale(1.08);
}

/* Ecosystem Details Tooltip card */
.eco-details-card {
  max-width: 500px;
  margin: 40px auto 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 10;
}

.eco-details-card.show {
  opacity: 1;
  transform: translateY(0);
}

.eco-details-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-details-description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- SECTION 5: CORE CAPABILITIES --- */
.capabilities-section {
  background: var(--bg-soft);
}

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

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

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

.capability-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 18, 25, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 18, 25, 0.02), 0 1px 2px rgba(15, 18, 25, 0.01);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 18, 25, 0.12);
  box-shadow: 0 20px 40px rgba(15, 18, 25, 0.06), 0 1px 3px rgba(15, 18, 25, 0.02);
}

.capability-icon-container {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156, 39, 176, 0.05);
  color: var(--color-purple);
  margin-bottom: 28px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.capability-card:nth-child(2) .capability-icon-container {
  color: var(--color-orange);
  background: rgba(255, 91, 53, 0.05);
}

.capability-card:nth-child(3) .capability-icon-container {
  color: var(--color-pink);
  background: rgba(233, 30, 99, 0.05);
}

.capability-card:nth-child(4) .capability-icon-container {
  color: var(--color-blue);
  background: rgba(33, 150, 243, 0.05);
}

.capability-card:nth-child(5) .capability-icon-container {
  color: var(--color-purple);
  background: rgba(156, 39, 176, 0.05);
}

.capability-card:nth-child(6) .capability-icon-container {
  color: var(--color-pink);
  background: rgba(233, 30, 99, 0.05);
}

.capability-card:hover .capability-icon-container {
  transform: scale(1.05) translateY(-2px);
}

.capability-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.capability-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.capability-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.capability-features li svg {
  color: var(--color-pink);
  flex-shrink: 0;
}

/* --- SECTION 6: WHY DINO IS DIFFERENT --- */
.diff-section {
  background-color: var(--bg-main);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

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

.diff-card {
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.diff-card.traditional {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
}

.diff-card.traditional h3 {
  color: var(--text-muted);
}

.diff-card.dino {
  background: #FFF;
  border: 2px solid transparent;
  background-image: linear-gradient(#FFF, #FFF), var(--grad-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-lg);
}

.diff-card.dino h3 {
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diff-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.diff-list-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.traditional .diff-list-item-icon {
  background: rgba(255, 91, 53, 0.1);
  color: var(--color-orange);
}

.dino .diff-list-item-icon {
  background: rgba(33, 150, 243, 0.1);
  color: var(--color-blue);
}

.diff-list-item-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

.traditional .diff-list-item-content h4 {
  color: var(--text-muted);
}

.diff-list-item-content p {
  font-size: 0.95rem;
}

/* --- SECTION 7: PLATFORM SHOWCASE --- */
.showcase-section {
  background: var(--bg-soft);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: rgba(0, 0, 0, 0.04);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .showcase-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
    gap: 8px;
  }

  .showcase-tabs::-webkit-scrollbar {
    display: none;
  }

  .showcase-tab {
    flex: 0 0 auto;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

.showcase-tab {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  color: var(--text-main);
}

.showcase-tab.active {
  background: var(--bg-main);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Dashboard Mockup Layout */
.showcase-screen-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.showcase-screen {
  display: none;
  padding: 24px;
  animation: fade-in 0.4s ease-out;
}

.showcase-screen.active {
  display: block;
}

/* Dashboard Mock Elements */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.dash-title h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.dash-title p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dash-stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.dash-stat-card label {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-stat-card span {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.dash-grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 991px) {
  .dash-grid-layout {
    grid-template-columns: 1fr;
  }
}

.dash-panel {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow-x: auto;
}

.dash-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 600;
}

/* Dashboard Mock Table */
.dash-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .dash-panel {
    padding: 16px;
  }

  .dash-table th,
  .dash-table td {
    font-size: 0.75rem;
    padding: 8px 6px;
  }
}

.dash-table th,
.dash-table td {
  text-align: left;
  padding: 12px 8px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-color);
}

.dash-table th {
  color: var(--text-light);
  font-weight: 500;
}

.dash-table td {
  color: var(--text-muted);
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-pill.success {
  background: rgba(33, 150, 243, 0.08);
  color: var(--color-blue);
}

.dash-pill.warning {
  background: rgba(255, 91, 53, 0.08);
  color: var(--color-orange);
}

.dash-pill.danger {
  background: rgba(233, 30, 99, 0.08);
  color: var(--color-pink);
}

/* Simulated charts */
.svg-chart-container {
  width: 100%;
  height: 200px;
}

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

/* --- SECTION 8: FEATURE GRID --- */
.grid-section {
  background: var(--bg-main);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

/* Bento Grid Redesign Styles */
.bento-card {
  background: #F8F9FC;
  border: 1px solid rgba(15, 18, 25, 0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 18, 25, 0.01);
}

.bento-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: rgba(15, 18, 25, 0.12);
  box-shadow: 0 15px 35px rgba(15, 18, 25, 0.05), 0 1px 3px rgba(15, 18, 25, 0.02);
}

.bento-card.span-2-col {
  grid-column: span 2;
}

.bento-card.span-2-row {
  grid-row: span 2;
}

@media (max-width: 991px) {
  .bento-card.span-2-col {
    grid-column: span 1;
  }

  .bento-card.span-2-row {
    grid-row: span 1;
  }
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(33, 150, 243, 0.05);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-card:nth-child(2) .bento-icon {
  color: var(--color-orange);
  background: rgba(255, 91, 53, 0.05);
}

.bento-card:nth-child(3) .bento-icon {
  color: var(--color-pink);
  background: rgba(233, 30, 99, 0.05);
}

.bento-card:nth-child(4) .bento-icon {
  color: var(--color-purple);
  background: rgba(156, 39, 176, 0.05);
}

.bento-card:nth-child(5) .bento-icon {
  color: var(--color-blue);
  background: rgba(33, 150, 243, 0.05);
}

.bento-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.bento-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Bento Visual Previews */
.bento-visual {
  width: 100%;
  height: 120px;
  background: rgba(15, 18, 25, 0.02);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(15, 18, 25, 0.03);
  transition: background-color var(--transition-normal);
}

.bento-card:hover .bento-visual {
  background: rgba(15, 18, 25, 0.035);
}

/* Specific Bento Visualizations */
.bento-partner-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  padding: 12px;
  background: #FFF;
  border: 1px solid rgba(15, 18, 25, 0.05);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bento-partner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.bento-partner-bar {
  height: 6px;
  width: 100%;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.bento-partner-fill {
  height: 100%;
  background: var(--color-orange);
  border-radius: 3px;
  width: 65%;
}

.bento-partner-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-light);
}

/* Encrypted Keys Preview */
.bento-keys-preview {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #FFF;
  border: 1px dashed rgba(15, 18, 25, 0.1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 85%;
}

/* Loan Sparkline */
.bento-loan-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  background: #FFF;
  border: 1px solid rgba(15, 18, 25, 0.05);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bento-loan-info h5 {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.bento-loan-info span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.bento-sparkline-svg {
  width: 60px;
  height: 24px;
}

/* QR Code Preview */
.bento-qr-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bento-qr-preview svg {
  width: 50px;
  height: 50px;
  color: var(--text-main);
}

.bento-qr-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-blue);
  box-shadow: 0 0 8px var(--color-blue);
  animation: qr-scan 2.5s ease-in-out infinite alternate;
}

@keyframes qr-scan {
  0% {
    top: 10%;
  }

  100% {
    top: 90%;
  }
}

/* LiveDeploy Terminal (Bigger Preview) */
.bento-card-large-visual {
  width: 100%;
  height: 170px;
  background: #0B0E14;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.bento-terminal-header {
  height: 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.bento-terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.bento-terminal-dot.red {
  background: #FF5F56;
}

.bento-terminal-dot.yellow {
  background: #FFBD2E;
}

.bento-terminal-dot.green {
  background: #27C93F;
}

.bento-terminal-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 8px;
  font-weight: 500;
}

.bento-terminal-body {
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.term-line-meta {
  color: rgba(255, 255, 255, 0.3);
}

.term-tag-info {
  color: var(--color-blue);
  font-weight: 600;
}

.term-tag-success {
  color: #27C93F;
  font-weight: 600;
}

.term-tag-warning {
  color: #FFBD2E;
  font-weight: 600;
}

/* Control Preview (Lock / Unlock) */
.bento-lock-preview {
  display: flex;
  gap: 12px;
  width: 90%;
}

.bento-lock-btn {
  flex: 1;
  padding: 10px;
  background: #FFF;
  border: 1px solid rgba(15, 18, 25, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.bento-lock-btn.lock {
  color: var(--color-orange);
  background: rgba(255, 91, 53, 0.02);
}

.bento-lock-btn.unlock {
  color: var(--color-blue);
  background: rgba(33, 150, 243, 0.02);
}

/* Auto Lock Slider Mock */
.bento-slider-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 90%;
  background: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.bento-slider-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
}

.bento-slider-track {
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  position: relative;
  margin-top: 4px;
}

.bento-slider-fill {
  height: 100%;
  background: var(--color-pink);
  border-radius: 2px;
  width: 40%;
}

.bento-slider-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pink);
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  border: 2px solid #FFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* App Restriction Icons Grid */
.bento-apps-preview {
  display: flex;
  gap: 16px;
}

.bento-app-wrapper {
  position: relative;
}

.bento-app-preview-icon {
  width: 38px;
  height: 38px;
  background: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.bento-app-restricted-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-pink);
  color: #FFF;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* TargetLock Shield */
.bento-targetlock-preview {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(156, 39, 176, 0.05);
  border: 1px solid rgba(156, 39, 176, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  animation: bento-pulse-purple 3s infinite;
}

@keyframes bento-pulse-purple {
  0% {
    box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.15);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(156, 39, 176, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(156, 39, 176, 0);
  }
}

/* Map Mockup */
.bento-map-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 90%;
  background: #FFF;
  border: 1px solid rgba(15, 18, 25, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.bento-map-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.bento-map-line h5 {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.bento-map-line p {
  font-size: 0.68rem;
  color: var(--text-light);
}

.bento-map-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-blue);
  position: relative;
}

.bento-map-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-blue);
  transform: translate(-50%, -50%);
  animation: map-radar 2s infinite;
}

@keyframes map-radar {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

/* --- SECTION 9: HOW IT WORKS --- */
.timeline-section {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
}

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

/* Timeline connector line */
.timeline-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

@media (max-width: 991px) {
  .timeline-line {
    top: 0;
    left: 40px;
    bottom: 0;
    width: 2px;
    height: 100%;
  }
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 991px) {
  .timeline-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 28px;
  }
  .timeline-node {
    margin-bottom: 0;
  }
}

.timeline-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  flex-shrink: 0;
}

.timeline-step:hover .timeline-node {
  transform: scale(1.1);
  border-color: var(--color-pink);
  box-shadow: var(--shadow-glow);
  color: var(--color-pink);
}

.timeline-step:nth-child(1) .timeline-node {
  border-color: rgba(255, 91, 53, 0.3);
}

.timeline-step:nth-child(2) .timeline-node {
  border-color: rgba(233, 30, 99, 0.3);
}

.timeline-step:nth-child(3) .timeline-node {
  border-color: rgba(156, 39, 176, 0.3);
}

.timeline-step:nth-child(4) .timeline-node {
  border-color: rgba(33, 150, 243, 0.3);
}

.timeline-step:nth-child(5) .timeline-node {
  border-color: rgba(233, 30, 99, 0.3);
}

.timeline-step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.timeline-step-content p {
  font-size: 0.9rem;
  max-width: 180px;
}

@media (max-width: 991px) {
  .timeline-step-content p {
    max-width: none;
  }
}

/* --- SECTION 10: CTA BANNER --- */
.cta-section {
  background: var(--bg-main);
}

.cta-banner {
  position: relative;
  background: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--bg-main);
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFF;
}

@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: 2.4rem;
  }
}

.cta-banner p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* --- SECTION 11: FOOTER --- */
footer {
  background: var(--bg-soft);
  padding: 40px 0;
  text-align: center;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 24px;
  width: 100%;
}

.footer-bottom-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom-centered p {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- DEMO BOOKING MODAL POPUP --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 14, 20, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.08);
}

.modal-form .btn {
  margin-top: 10px;
  width: 100%;
}

/* --- ANIMATIONS FOR SCROLL REVEALS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- BASELINE SUPPORT SCROLL ANIMATIONS --- */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .reveal-scroll {
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }

  @keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}