/* ============================================
   BIG THINQ — Design System & Styles
   Mobile-First Responsive Design
   ============================================ */

/* CSS Variables / Design Tokens */
:root {
  /* Background System */
  --bg-pure: #030712;
  --bg-primary: #050a18;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-elevated: rgba(30, 41, 59, 0.5);
  --bg-glass: rgba(15, 23, 42, 0.4);
  
  /* Border System */
  --border-light: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(148, 163, 184, 0.2);
  --border-accent: rgba(0, 229, 204, 0.3);
  
  /* Text System */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Accent Colors */
  --accent-teal: #00E5CC;
  --accent-purple: #7B2FF7;
  --accent-blue: #3B82F6;
  --accent-pink: #EC4899;
  --accent-amber: #F59E0B;
  
  /* Gradients */
  --gradient-cta: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  --gradient-text: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  --gradient-card-1: linear-gradient(135deg, rgba(0, 229, 204, 0.1), rgba(123, 47, 247, 0.05));
  --gradient-card-2: linear-gradient(135deg, rgba(123, 47, 247, 0.1), rgba(59, 130, 246, 0.05));
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Text Accent Gradient */
.text-accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; padding: 0; }
}

/* Section Badge */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

/* Icon Sizes */
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  h2 { font-size: 3rem; }
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-pure);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.preloader-logo span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   Cursor Glow (Desktop)
   ============================================ */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
  display: none;
}

@media (min-width: 1024px) {
  .cursor-glow { display: block; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #030712;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 204, 0.3);
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-full);
  background: inherit;
  filter: blur(16px);
  opacity: 0.4;
  z-index: -1;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.btn-primary:hover.glow-btn::before {
  opacity: 0.7;
  filter: blur(20px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ============================================
   Navbar — Mobile First
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s var(--ease-out);
  padding: 16px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(3, 7, 18, 0.95);
  border-bottom-color: var(--border-hover);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

/* Mobile: Nav menu hidden */
.nav-menu { display: none; }
.nav-actions .btn { display: none; }

.mobile-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: var(--bg-elevated);
}

/* Desktop Nav */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-actions .btn { display: inline-flex; }
  .mobile-menu-btn { display: none; }
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 2px;
}

/* Services Dropdown */
.dropdown {
  position: relative;
}

/* Keep hover active while moving pointer into the dropdown panel. */
.dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.dropdown .dropbtn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  padding: 8px 0;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.dropdown .dropbtn:hover {
  color: var(--text-primary);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  min-width: 520px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 28px;
  z-index: 100;
}

@media (min-width: 1024px) {
  .dropdown:hover .dropdown-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    animation: dropFadeIn 0.25s var(--ease-out);
  }
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.drop-column {
  flex: 1;
}

.drop-column h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.drop-column a {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.drop-column a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

/* ============================================
   Mobile Menu Overlay
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-pure);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: all 0.4s var(--ease-out);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.close-menu-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-menu-btn:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-link {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-link:hover {
  color: var(--accent-teal);
  padding-left: 8px;
}

/* Mobile Accordion */
.mobile-accordion {
  border-bottom: 1px solid var(--border-light);
}

.accordion-trigger {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 0;
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.accordion-icon {
  transition: transform 0.3s var(--ease-out);
}

.accordion-trigger.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding-bottom: 16px;
}

.accordion-panel.open {
  display: block;
}

.accordion-category {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-teal);
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.accordion-sub-link {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.accordion-sub-link:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}

.mobile-cta {
  margin-top: auto;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 229, 204, 0.06);
  border: 1px solid rgba(0, 229, 204, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  color: var(--accent-teal);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-teal);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
  font-weight: 800;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* Tablet+ */
@media (min-width: 640px) {
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-btns { flex-direction: row; }
  .stat-number, .stat-suffix { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .hero-section { padding: 160px 0 100px; }
  .hero-title { font-size: 3.5rem; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 1.15rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4rem; }
}

/* Dashboard Mockup */
.hero-visual {
  width: 100%;
  max-width: 1000px;
}

.dashboard-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 229, 204, 0.05);
  transform: perspective(1200px) rotateX(5deg);
  transition: transform 0.6s var(--ease-out);
}

.hero-visual:hover .dashboard-wrapper {
  transform: perspective(1200px) rotateX(0deg);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(0, 229, 204, 0.08);
}

.dashboard-img {
  width: 100%;
  height: auto;
}

.dashboard-glare {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  animation: glare 7s ease-in-out infinite;
}

@keyframes glare {
  0% { left: -100%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

/* ============================================
   Trust / Marquee Section
   ============================================ */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-primary);
  text-align: center;
  overflow: hidden;
}

.trust-subtitle {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
  font-weight: 600;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
}

.marquee-content span {
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.marquee-content span:hover {
  color: var(--text-primary);
}

.dot {
  width: 5px;
  height: 5px;
  background: var(--accent-teal);
  border-radius: 50%;
  display: block;
  opacity: 0.5;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .trust-section { padding: 56px 0; }
  .marquee-content span { font-size: 1.15rem; }
  .marquee-content { gap: 3rem; }
}

/* ============================================
   Generic Section Styles
   ============================================ */
.fade-up-section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.text-center {
  text-align: center;
}

.text-center p {
  max-width: 600px;
}

.section-header.text-center p {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .fade-up-section { padding: 100px 0; }
  .section-header { margin-bottom: 60px; }
}

@media (min-width: 1024px) {
  .fade-up-section { padding: 120px 0; }
}

/* ============================================
   Why Us Section
   ============================================ */
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.whyus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.whyus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity 0.3s;
}

.whyus-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.whyus-card:hover::before {
  opacity: 1;
}

.whyus-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--accent-teal);
}

@media (min-width: 768px) {
  .whyus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  .whyus-card { padding: var(--space-2xl); }
}

/* ============================================
   Bento Grid — Services
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-large { grid-column: span 2; grid-row: span 2; }
  .card-wide { grid-column: span 2; }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

/* Card Icon Gradients */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform 0.3s var(--ease-spring);
}

.bento-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.icon-gradient-1 {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.15), rgba(0, 229, 204, 0.05));
  border: 1px solid rgba(0, 229, 204, 0.2);
  color: var(--accent-teal);
}

.icon-gradient-2 {
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.15), rgba(123, 47, 247, 0.05));
  border: 1px solid rgba(123, 47, 247, 0.2);
  color: var(--accent-purple);
}

.icon-gradient-3 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.icon-gradient-4 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
}

.icon-gradient-5 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.bento-card p {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  line-height: 1.7;
}

.card-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.card-features li .icon-xs {
  color: var(--accent-teal);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

.learn-more:hover {
  color: var(--accent-teal);
}

.learn-more i {
  transition: transform 0.3s var(--ease-spring);
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* Highlighted/Active Card */
.active-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.6));
  border-color: rgba(59, 130, 246, 0.2);
}

.card-bg-effect {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.active-card:hover .card-bg-effect {
  opacity: 0.9;
}

.card-glow {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

.card-content-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .card-content-wrap {
    flex-direction: row;
    align-items: flex-start;
  }
  .card-content-wrap .card-icon {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .bento-card { padding: var(--space-2xl); }
}

/* ============================================
   Process / Timeline Section
   ============================================ */
.process-section .section-header {
  text-align: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-purple), transparent);
  z-index: 0;
}

.timeline-step {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-2xl);
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-teal);
  background: var(--bg-pure);
  padding: 6px 0;
  width: 40px;
  text-align: center;
}

.step-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 229, 204, 0.4);
  flex-shrink: 0;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  width: 100%;
  transition: all 0.3s var(--ease-out);
}

.step-content:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.step-tags span {
  padding: 4px 12px;
  background: rgba(0, 229, 204, 0.06);
  border: 1px solid rgba(0, 229, 204, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 500;
}

@media (min-width: 768px) {
  .timeline-line { left: 30px; }
  .step-num { font-size: 1.25rem; width: 60px; }
  .step-content { padding: var(--space-2xl); }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(3, 7, 18, 0.8));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: none;
}

.testimonial-card.active-testimonial {
  display: block;
  animation: testimonialFadeIn 0.5s var(--ease-out);
}

@keyframes testimonialFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 24px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.stars .filled {
  color: #fbbf24;
  fill: #fbbf24;
  width: 18px;
  height: 18px;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.2), rgba(123, 47, 247, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
}

.author-info {
  text-align: left;
}

.author-info strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonial Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out);
}

.testimonial-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  background: var(--border-light);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.dot-indicator.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
}

@media (min-width: 768px) {
  .testimonial-card { padding: 48px; }
  .testimonial-quote { font-size: 1.35rem; }
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner-inner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(3, 7, 18, 0.9));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.12) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.cta-glow-2 {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(20%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.1) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.cta-content > p {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}

@media (min-width: 768px) {
  .cta-banner-inner { padding: 80px 40px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: var(--space-md) !important;
  display: inline-block;
}

.brand-col p {
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease-out);
}

.social-link:hover {
  background: rgba(0, 229, 204, 0.1);
  border-color: rgba(0, 229, 204, 0.2);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.support-ticket-link {
  color: var(--accent-teal) !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.75rem !important;
  font-style: italic;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .footer { padding: 80px 0 24px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-list {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.fade-up-list.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Misc Utilities
   ============================================ */
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.25);
}

/* Selection Highlight */
::selection {
  background: rgba(0, 229, 204, 0.2);
  color: var(--text-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}
