/* ==========================================================================
   Ryve AI - Modern Stylesheet
========================================================================== */

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

:root {
  /* Color Palette - Mufi Inspired */
  --bg-color: #1c1510; 
  --surface-color: rgba(13, 13, 26, 0.7);
  --surface-hover: rgba(255, 120, 0, 0.08);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #FFFFFF;
  --text-muted: #A3A3B5;

  /* Accent Colors */
  --accent-blue: #E66A1F; /* Orange */
  --accent-cyan: #FF6B00; /* Bright Orange */
  --accent-warm: #C45A1A; /* Burnt orange */
  --accent-dark: #2a2218; /* Dark browny neutral */

  /* Specific Glowing Colors */
  --glow-orange: rgba(196, 90, 26, 0.5);
  --glow-warm: rgba(255, 140, 0, 0.3);

  --bg-light: var(--bg-color);
  --bg-light-card: rgba(255, 255, 255, 0.02);
  --text-dark: var(--text-main);
  --text-dark-muted: var(--text-muted);
  --border-light: rgba(255, 255, 255, 0.05);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-glow: 0 0 20px var(--glow-orange);
  --shadow-glow-warm: 0 0 20px var(--glow-warm);
  --shadow-glow-warm: 0 0 20px var(--glow-orange);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-card-hover: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & GLOBAL
========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(255, 160, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 80, 30, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(200, 120, 0, 0.04) 0%, transparent 50%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background — scoped to hero only */
.hero-bg-effects {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-blob-1 {
  top: -10%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(255, 220, 0, 0.25) 0%, rgba(255, 120, 0, 0.15) 30%, transparent 65%);
  filter: blur(100px);
  animation: float 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-blob-2 {
  bottom: -20%;
  right: -20%;
  width: 75vw;
  height: 75vw;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.3) 0%, rgba(255, 50, 0, 0.15) 40%, transparent 70%);
  filter: blur(90px);
  animation: float 20s infinite alternate-reverse cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: -5s;
}

.hero-ribbon {
  position: absolute;
  top: 15%; left: 20%;
  width: 60vw; height: 60vw;
  border-radius: 45% 55% 70% 30% / 45% 65% 35% 55%;
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow:
    0 0 60px rgba(255, 200, 0, 0.6),
    inset 0 0 40px rgba(255, 100, 0, 0.4),
    0 0 100px rgba(255, 96, 41, 0.5);
  animation: fluid-ribbon 25s linear infinite;
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

/* Center background animation on mobile */
@media (max-width: 768px) {
  .hero-blob-1 {
    top: 5%;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vw;
  }
  .hero-blob-2 {
    bottom: auto;
    top: 15%;
    right: auto;
    left: 5vw;
    width: 90vw;
    height: 90vw;
  }
  .hero-ribbon {
    top: 10%;
    left: 10vw;
    width: 80vw;
    height: 80vw;
  }
}

@keyframes fluid-ribbon {
  0% { transform: rotate(0deg) scale(1); border-radius: 45% 55% 70% 30% / 45% 65% 35% 55%; }
  50% { transform: rotate(180deg) scale(1.05); border-radius: 30% 70% 55% 45% / 65% 45% 55% 35%; }
  100% { transform: rotate(360deg) scale(1); border-radius: 45% 55% 70% 30% / 45% 65% 35% 55%; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* Glassmorphism 3D Class & Animations */

@keyframes levitate {
  0% { transform: perspective(1000px) translateY(0px) rotateX(0deg) rotateY(0deg); }
  50% { transform: perspective(1000px) translateY(-5px) rotateX(1deg) rotateY(0.5deg); }
  100% { transform: perspective(1000px) translateY(0px) rotateX(0deg) rotateY(0deg); }
}

@keyframes pulse-border-orange {
  0% { border-color: rgba(196, 90, 26, 0.3); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(196, 90, 26, 0.05); }
  50% { border-color: rgba(196, 90, 26, 0.8); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(196, 90, 26, 0.15), 0 0 20px rgba(196, 90, 26, 0.2); }
  100% { border-color: rgba(196, 90, 26, 0.3); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(196, 90, 26, 0.05); }
}

@keyframes pulse-border-neutral {
  0% { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); }
  50% { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.1); }
  100% { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); }
}

.glass {
  background: rgba(17, 17, 28, 0.6);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
  transition: var(--transition);
  animation: levitate 6s infinite ease-in-out;
}

/* Base application of glows based on odd/even to match the left/right aesthetic */
.glass:nth-child(odd), .glass:first-child {
  animation: levitate 6s infinite ease-in-out, pulse-border-orange 4s infinite ease-in-out;
}
.glass:nth-child(even) {
  animation: levitate 7s infinite ease-in-out, pulse-border-neutral 4s infinite ease-in-out;
  animation-delay: -2s;
}

.glass:hover {
  transform: perspective(1000px) translateY(-5px) scale(1.02);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF, #A3A3B5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #E66A1F, #C45A1A);
  color: white;
  box-shadow: 0 0 20px rgba(196, 90, 26, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(196, 90, 26, 0.8);
  filter: brightness(1.1);
}

.btn-secondary {
  background: linear-gradient(135deg, #E66A1F, #1a1510);
  color: white;
  box-shadow: 0 0 20px rgba(230, 106, 31, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(230, 106, 31, 0.6);
  filter: brightness(1.1);
}

.btn-accent {
  background: linear-gradient(135deg, #FFFFFF, #E0E0E0);
  color: #0D0D1A;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.btn-accent:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  background: #FFFFFF;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   LAYOUT
========================================================================== */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   NAVIGATION
========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  padding: 10px 12px 10px 28px;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .nav-container {
  background: rgba(20, 15, 10, 0.85);
  border-color: rgba(255, 215, 0, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.logo span {
  color: var(--accent-cyan);
}

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

.nav-links a.nav-item {
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.nav-links a.nav-item:hover, .nav-links a.nav-item.active {
  color: var(--accent-cyan);
}

.nav-links .btn-accent {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #2a2218, #1a1510);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.nav-links .btn-accent:hover {
  background: linear-gradient(135deg, #3a3228, #2a2218);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-container {
    border-radius: 20px;
    padding: 12px 16px;
    max-width: 95%;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(20, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    gap: 16px;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-toggle { display: block; }
}

/* ==========================================================================
   HERO SECTION
========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.stats-bar {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SERVICES / LEAK ANALYSIS
========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.problem-card {
  padding: 40px 30px;
  border-radius: var(--radius-lg);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-dark));
  opacity: 0;
  transition: var(--transition);
}



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

.prob-icon {
  width: 60px; height: 60px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.prob-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.prob-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.prob-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.prob-solution {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   AI SYSTEMS
========================================================================== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.system-card {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.system-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(230, 106, 31, 0.1), rgba(255, 107, 0, 0.05));
  border: 1px solid rgba(230, 106, 31, 0.3);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .system-card.featured {
    grid-template-columns: 1fr;
  }
}

.sys-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.sys-badge.core { background: rgba(230, 106, 31, 0.2); color: #fdba74; }
.sys-badge.support { background: rgba(255, 107, 0, 0.2); color: #ffedd5; }

.sys-title { font-size: 1.5rem; margin-bottom: 16px; }
.sys-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }

.sys-roi-box { margin-bottom: 24px; }
.sys-roi-val { font-size: 2rem; font-family: var(--font-heading); font-weight: 800; color: #FFFFFF; }
.sys-roi-label { font-size: 0.85rem; color: var(--text-muted); }

.sys-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sys-features li i {
  color: var(--accent-warm);
}

/* ==========================================================================
   DEMO SECTION
========================================================================== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
@media (max-width: 992px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.demo-head {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; gap: 16px;
}

.demo-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; justify-content: center; align-items: center;
  font-size: 1.5rem; background: linear-gradient(135deg, var(--accent-orange), var(--accent-cyan));
}
.demo-info h3 { font-size: 1.1rem; }
.demo-status { font-size: 0.8rem; color: var(--success); display: flex; align-items: center; gap: 8px;}
.demo-status::before { content: ''; width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite;}

.demo-body {
  flex: 1; padding: 24px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
}
.demo-body::-webkit-scrollbar { width: 6px; }
.demo-body::-webkit-scrollbar-track { background: transparent; }
.demo-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.msg {
  display: flex; gap: 12px; max-width: 80%;
  animation: slideUp 0.3s ease forwards;
}
.msg.ai { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }

.msg-av {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0;
}
.msg.ai .msg-av { background: rgba(230, 106, 31, 0.2); }
.msg.user .msg-av { background: rgba(255, 107, 0, 0.2); }

.msg-text {
  padding: 12px 16px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5;
}
.msg.ai .msg-text { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-top-left-radius: 4px; }
.msg.user .msg-text { background: linear-gradient(135deg, var(--accent-dark), var(--accent-warm)); color: white; border-top-right-radius: 4px; }

.chat-input {
  padding: 20px; border-top: 1px solid var(--border-color); background: rgba(255,255,255,0.02);
  display: flex; gap: 12px;
}
.chat-input input {
  flex: 1; background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); border-radius: 50px;
  padding: 0 20px; color: white; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: var(--transition);
}
.chat-input input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1); }
.chat-btn {
  width: 50px; height: 50px; border-radius: 50%; background: var(--accent-cyan); color: #000; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: var(--transition);
}
.chat-btn:hover { background: #fff; transform: scale(1.05); }

/* Voice Call specific */
.call-controls { display: flex; gap: 16px; padding: 20px; border-top: 1px solid var(--border-color); background: rgba(255,255,255,0.02); }
.btn-call { flex: 1; padding: 16px; border-radius: 50px; border: none; font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.btn-call.start { background: var(--success); color: #000; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.btn-call.end { background: var(--danger); color: #fff; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); animation: pulse 2s infinite; }
.btn-call:hover { filter: brightness(1.2); }

.speaker-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.05em; }
.msg.ai .speaker-label { color: var(--accent-cyan); }
.msg.user .speaker-label { color: var(--accent-warm); }

/* ==========================================================================
   ROI CARDS
========================================================================== */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.roi-card {
  padding: 30px 20px; text-align: center; border-radius: var(--radius-lg);
}
.roi-card:hover { border-color: var(--accent-warm); }
.roi-card i { font-size: 2.5rem; color: var(--accent-cyan); margin-bottom: 16px; display: block; }
.roi-val { font-size: 2rem; font-family: var(--font-heading); font-weight: 800; background: linear-gradient(135deg, var(--text-main), var(--text-muted)); -webkit-background-clip: text; color: transparent; margin-bottom: 8px; }
.roi-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.roi-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   TESTIMONIALS
========================================================================== */
.testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px;
}
.testi-card { padding: 40px; border-radius: var(--radius-lg); }
.testi-card:hover { border-color: var(--accent-cyan); }
.stars { color: var(--warning); font-size: 1.2rem; margin-bottom: 20px; letter-spacing: 2px; }
.testi-text { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); font-style: italic; margin-bottom: 30px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), var(--accent-warm)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.testi-name { font-size: 1rem; font-weight: 700; }
.testi-company { font-size: 0.8rem; color: var(--accent-cyan); }

/* ==========================================================================
   PRICING
========================================================================== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; align-items: center;
}
.price-card { 
  padding: 40px; 
  border-radius: var(--radius-xl); 
  position: relative; 
  overflow: visible !important; 
}
.price-popular { 
  position: absolute; 
  top: -15px; 
  left: 50%; 
  transform: translateX(-50%); 
  background: linear-gradient(135deg, #FF6B00 0%, #E66A1F 100%); 
  color: #fff;
  padding: 6px 18px; 
  border-radius: 50px; 
  font-size: 0.75rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  box-shadow: 0 4px 15px rgba(230, 106, 31, 0.4); 
  z-index: 10;
  white-space: nowrap;
}
.price-card.featured { border: 1px solid var(--accent-warm); background: linear-gradient(180deg, rgba(196, 90, 26, 0.05), rgba(0, 0, 0, 0)); }

.price-tier { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 8px;}
.price-name { font-size: 2rem; font-family: var(--font-heading); font-weight: 800; margin-bottom: 16px; }
.price-amount { display: flex; align-items:baseline; gap: 4px; margin-bottom: 24px; }
.price-amount .currency { font-size: 1.5rem; color: var(--accent-cyan); }
.price-amount .value { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--accent-cyan); line-height: 1; }
.price-amount .period { font-size: 1rem; color: var(--text-muted); }
.price-setup { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.price-margin { display: inline-block; padding: 6px 12px; border-radius: 6px; background: rgba(16,185,129,0.1); color: var(--success); font-size: 0.85rem; font-weight: 700; margin-bottom: 30px; border: 1px solid rgba(16,185,129,0.2); }

.price-features { margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.price-features li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.price-features li i { color: var(--success); font-size: 1.1rem; }
.price-features li.excluded { color: var(--text-muted); opacity: 0.6; }
.price-features li.excluded i { color: var(--text-muted); }
.btn-block { width: 100%; }

/* ==========================================================================
   CTA BANNER
========================================================================== */
.cta-banner {
  padding: 80px 40px; border-radius: var(--radius-xl); text-align: center; margin: 0 auto;
  background: linear-gradient(135deg, rgba(230, 106, 31, 0.2), rgba(196, 90, 26, 0.1));
  border: 1px solid rgba(196, 90, 26, 0.3);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 60%); pointer-events: none;
}
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.cta-banner p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }

/* ==========================================================================
   FOOTER
========================================================================== */
.footer { border-top: 1px solid var(--border-color); padding: 80px 0 40px; background: rgba(5,5,15,0.95); margin-top: 100px;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--text-muted); margin-top: 20px; max-width: 300px; }
.footer-title { font-size: 1.1rem; font-family: var(--font-heading); margin-bottom: 24px; font-weight: 700; color: #fff;}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-cyan); padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 0.85rem;}

/* ==========================================================================
   ANIMATIONS
========================================================================== */
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-50px) scale(1.1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll Reveal Classes */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   FLOATING BUTTON
========================================================================== */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #FF8C00 0%, #FF3D00 100%) !important;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(255, 61, 0, 0.4) !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 96, 41, 0.5);
  color: white;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 96, 41, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255, 96, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 96, 41, 0); }
}

@media (max-width: 768px) {
  .floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   ABOUT US BENTO GRID
========================================================================== */
.about-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
  background: #0F0F0F99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  margin: 0 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-heading {
  margin-bottom: 48px;
}

.about-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-dark-card {
  background: linear-gradient(160deg, #1a1208 0%, #0d0a04 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.about-dark-content {
  position: relative;
  z-index: 5;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 20px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-warm);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-warm);
  animation: pulse 2s infinite;
}

.about-location {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.earth-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  opacity: 0.85;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-box {
  padding: 32px;
  border-radius: var(--radius-lg);
  flex: 1;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.review-text strong {
  color: var(--text-main);
}

.review-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.stars-row {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.stars-row i {
  color: var(--warning);
  font-size: 1rem;
  background: rgba(255, 193, 7, 0.2);
  padding: 4px;
  border-radius: 3px;
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.review-counter {
  display: flex;
  align-items: baseline;
}

.counter-num {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

.counter-plus {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.quote-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  flex: 1;
}

.quote-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-dark));
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  margin-bottom: 8px;
}

.quote-icon i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.4rem;
}

.quote-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.quote-cite {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.quote-name {
  font-weight: 700;
  color: var(--text-main);
}

.quote-divider {
  width: 20px;
  height: 1px;
  background: var(--border-color);
}

.quote-role {
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .about-bento {
    grid-template-columns: 1fr;
  }
  .about-dark-card {
    min-height: 380px;
  }
}

/* ==========================================================================
   SERVICES ACCORDION (Light section — index-2 style)
========================================================================== */
.services-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
  background: #0F0F0F99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  margin: 0 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.services-section .section-tag {
  color: var(--accent-warm);
  background: rgba(255, 96, 41, 0.08);
  border-color: rgba(255, 96, 41, 0.15);
}

.services-section .section-title {
  color: var(--text-dark);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.services-desc {
  font-size: 1rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin-top: 24px;
}

.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.srv-accordion-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

/* Inactive items: white pill cards with shadow */
.srv-accordion-item:not(.active) {
  background: var(--bg-light-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.srv-accordion-item:not(.active):hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Active item: dark expanded card */
.srv-accordion-item.active {
  background: linear-gradient(135deg, #1a1510 0%, #12100c 100%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.srv-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  transition: var(--transition);
}

.srv-accordion-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-dark-muted);
  transition: var(--transition);
  line-height: 1.3;
}

.srv-accordion-item.active .srv-accordion-title {
  color: var(--text-main);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.srv-num {
  font-size: 1rem;
  color: var(--text-dark-muted);
}

.srv-accordion-item.active .srv-num {
  color: var(--text-muted);
}

.srv-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 32px;
}

.srv-accordion-item.active .srv-accordion-body {
  max-height: 300px;
  padding: 0 32px 28px;
}

.srv-accordion-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.srv-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

/* ==========================================================================
   CASE STUDIES / FEATURED WORKS
========================================================================== */
.casestudies-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
  background: #0F0F0F99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  margin: 0 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


.casestudies-section .section-tag {
  color: var(--accent-warm);
  background: rgba(255, 96, 41, 0.08);
  border-color: rgba(255, 96, 41, 0.15);
}

.casestudies-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 48px;
}

.casestudy-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.casestudy-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.casestudy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.casestudy-item:hover .casestudy-image img {
  transform: scale(1.05);
}

.casestudy-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.casestudy-overlay span {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.casestudy-item:hover .casestudy-overlay {
  opacity: 1;
}

.casestudy-content {
  padding: 24px;
  padding-left: 30px;
}

.casestudy-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.casestudy-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.casestudy-dots .dot-active {
  background: var(--accent-warm);
}

.casestudy-details {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.casestudy-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  min-width: 200px;
  flex-shrink: 0;
  color: var(--text-dark);
}

.casestudy-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}

.casestudy-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark-muted);
  opacity: 0.7;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  max-width: 280px;
}

@media (max-width: 768px) {
  .casestudy-details {
    flex-direction: column;
    gap: 20px;
  }
  .casestudy-grid {
    gap: 20px;
  }
  .casestudy-image {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   PROCESS SECTION
========================================================================== */
.process-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
  background: #0F0F0F99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  margin: 0 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.process-section .section-tag {
  color: var(--accent-warm);
  background: rgba(255, 96, 41, 0.08);
  border-color: rgba(255, 96, 41, 0.15);
}

.process-section .section-title {
  color: var(--text-dark);
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  align-items: start;
}

.process-left {
  position: sticky;
  top: 120px;
}

.process-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.process-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-light-card);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.process-nav-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-light-card);
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.15);
  transform: translateY(-2px);
}

.process-right {
  overflow: hidden;
}

.process-cards-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 5px 20px; /* add padding for shadow */
}

.process-card {
  min-width: 300px;
  max-width: 340px;
  padding: 32px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  background: var(--bg-light-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.process-card:hover {
  box-shadow: var(--shadow-card-hover);
  background: rgba(255, 255, 255, 0.04);
}

.process-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.process-card-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.process-card-content p {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.process-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.process-time {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.process-step-num {
  font-family: var(--font-heading);
}

.step-current {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark-muted);
  opacity: 0.3;
}

.step-total {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  opacity: 0.2;
}

@media (max-width: 992px) {
  .process-layout {
    grid-template-columns: 1fr;
  }
  .process-left {
    position: static;
  }
  .process-card {
    min-width: 260px;
  }
}

/* ==========================================================================
   BENEFITS BENTO
========================================================================== */
.benefits-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
  background: #0F0F0F99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  margin: 0 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.benefits-section .section-tag {
  color: var(--accent-warm);
  background: rgba(255, 96, 41, 0.08);
  border-color: rgba(255, 96, 41, 0.15);
}

.benefits-section .section-title {
  color: var(--text-dark);
}

.benefits-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.benefit-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-light-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.benefit-card:hover {
  box-shadow: var(--shadow-card-hover);
  background: rgba(255, 255, 255, 0.04);
}

.benefit-large {
  grid-column: auto;
}

.benefit-card-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.benefit-card-text p {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* Progress bars */
.benefit-progress-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-progress-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-progress-line {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.benefit-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-warm));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  white-space: nowrap;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefit-progress-label i {
  color: var(--accent-cyan);
}

/* Steps */
.benefit-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 16px 0;
}

.benefit-step-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
}

.benefit-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

/* Shield icon */
.benefit-icon-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.benefit-shield-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.15), rgba(255, 96, 41, 0.1));
  border: 2px solid rgba(255, 170, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-cyan);
}

/* Integration icons */
.benefit-integration-visual {
  padding: 16px 0;
}

.integration-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.int-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-dark-muted);
  transition: var(--transition);
}

.int-icon.highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-warm));
  border: none;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(255, 96, 41, 0.25);
}

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

@media (max-width: 768px) {
  .benefit-progress-item {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 6px;
  }
  .benefit-progress-label {
    min-width: auto;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE OVERHAUL
========================================================================== */

/* Global overflow protection */
html, body {
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---- Tablet & Small Laptop (max-width: 992px) ---- */
@media (max-width: 992px) {
  section {
    padding: 70px 0;
  }

  .about-section,
  .services-section,
  .casestudies-section,
  .process-section,
  .benefits-section {
    padding: 60px 20px;
    margin: 0 10px 16px;
    border-radius: var(--radius-lg);
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
  }

  .stats-bar {
    gap: 24px;
    padding: 20px;
  }

  .stat-num {
    font-size: 1.75rem;
  }

  .casestudy-content {
    padding: 20px;
    padding-left: 20px;
  }

  .cta-banner {
    padding: 50px 24px;
  }

  .cta-banner h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    line-height: 1.15 !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .stats-bar {
    gap: 16px;
    padding: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-block {
    flex: 1 1 40%;
    min-width: 100px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* About Bento */
  .about-section {
    padding: 40px 16px;
    margin: 0 8px 12px;
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

  .about-dark-card {
    min-height: auto;
    padding: 32px 24px 24px;
  }

  .about-location {
    font-size: 1.5rem;
  }

  .review-box {
    padding: 24px;
  }

  .quote-card {
    padding: 20px;
    flex-direction: column;
  }

  /* Services Accordion */
  .services-section {
    padding: 40px 16px;
    margin: 0 8px 12px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .srv-accordion-header {
    padding: 16px 20px;
  }

  .srv-accordion-title {
    font-size: 1.1rem !important;
  }

  .srv-accordion-item.active .srv-accordion-title {
    font-size: 1.25rem !important;
  }

  .srv-accordion-body {
    padding: 0 20px;
  }

  .srv-accordion-item.active .srv-accordion-body {
    padding: 0 20px 20px;
  }

  .srv-tags {
    gap: 6px;
  }

  .srv-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  /* Case Studies */
  .casestudies-section {
    padding: 40px 16px;
    margin: 0 8px 12px;
  }

  .casestudies-list {
    gap: 32px;
  }

  .casestudy-image {
    aspect-ratio: 16 / 10;
  }

  .casestudy-content {
    padding: 16px;
    padding-left: 16px;
  }

  .casestudy-title {
    font-size: 1.15rem;
    min-width: unset;
  }

  .casestudy-details {
    flex-direction: column;
    gap: 12px;
  }

  .casestudy-grid {
    gap: 12px;
  }

  /* Process */
  .process-section {
    padding: 40px 16px;
    margin: 0 8px 12px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-left {
    position: static;
  }

  .process-card {
    min-width: 240px;
    max-width: 100%;
    padding: 24px;
  }

  .process-cards-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .process-card {
    scroll-snap-align: start;
  }

  /* Benefits */
  .benefits-section {
    padding: 40px 16px;
    margin: 0 8px 12px;
  }

  .benefits-bento {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .benefit-card {
    padding: 24px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-card {
    padding: 28px;
  }

  .price-name {
    font-size: 1.5rem;
  }

  .price-amount .value {
    font-size: 2.5rem;
  }

  /* Testimonials */
  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .testi-card {
    padding: 28px;
  }

  /* Problems Grid */
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .problem-card {
    padding: 28px 20px;
  }

  /* Systems Grid */
  .systems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .system-card {
    padding: 28px;
  }

  .system-card.featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ROI */
  .roi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .roi-card {
    padding: 20px 12px;
  }

  .roi-val {
    font-size: 1.5rem;
  }

  /* Demo */
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    height: 450px;
  }

  /* Footer */
  .footer {
    padding: 50px 0 30px;
    margin-top: 60px;
  }

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

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

  /* CTA */
  .cta-banner {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 14px 26px !important;
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  .hero-title {
    font-size: 1.6rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .about-section,
  .services-section,
  .casestudies-section,
  .process-section,
  .benefits-section {
    padding: 28px 12px;
    margin: 0 4px 8px;
    border-radius: var(--radius-md);
  }

  .stats-bar {
    gap: 12px;
    padding: 14px 10px;
    border-radius: var(--radius-md) !important;
  }

  .stat-block {
    flex: 1 1 40%;
  }

  .stat-num {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .about-dark-card {
    padding: 24px 16px 20px;
  }

  .about-location {
    font-size: 1.25rem;
  }

  .srv-accordion-header {
    padding: 14px 16px;
  }

  .srv-accordion-title {
    font-size: 1rem !important;
  }

  .srv-accordion-item.active .srv-accordion-title {
    font-size: 1.1rem !important;
  }

  .process-card {
    min-width: 220px;
    padding: 20px;
  }

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

  .floating-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .nav-container {
    padding: 8px 12px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .price-card {
    padding: 24px 16px;
  }

  .price-amount .value {
    font-size: 2rem;
  }

  .testi-card {
    padding: 20px;
  }

  .testi-text {
    font-size: 0.9rem;
  }

  .prob-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .cta-banner {
    padding: 30px 16px;
  }

  .cta-banner h2 {
    font-size: 1.25rem;
  }

  .cta-banner p {
    font-size: 0.85rem;
    margin-bottom: 24px !important;
  }
}
