/* ============================================
   KALAMEDIA — Creative Digital Agency
   Design System & Styles
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  /* Colors — Matched to Kalamedia Logo */
  --bg-primary: #030d17;
  --bg-secondary: #061626;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a7b8;
  --text-muted: #5a7388;
  
  /* Teal/Turquoise from logo */
  --accent-primary: #2bbcb3;
  --accent-secondary: #e88d30;
  --accent-gradient: linear-gradient(135deg, #2bbcb3 0%, #1a8a9e 50%, #0d5f7a 100%);
  --accent-gradient-hover: linear-gradient(135deg, #33d4ca 0%, #1fa0b5 100%);
  --accent-glow: 0 0 30px rgba(43, 188, 179, 0.5);
  
  /* Logo brand colors */
  --brand-navy: #0b2a45;
  --brand-teal: #1a8a9e;
  --brand-turquoise: #2bbcb3;
  --brand-orange: #e88d30;
  --brand-deep-blue: #0d5f7a;
  
  --danger: #ff4d6a;
  --warning: #e88d30;
  --success: #2bbcb3;
  
  /* Typography — Outfit matches modern agency aesthetic */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 100px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Theme elements */
  --grid-line: rgba(255, 255, 255, 0.03);
  --badge-bg: rgba(255, 255, 255, 0.05);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --inner-glow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.4);
  --mouse-glow: rgba(255,255,255,0.06);
  --btn-glass: rgba(255, 255, 255, 0.03);
  --btn-glass-hover: rgba(255, 255, 255, 0.08);
  --btn-highlight: linear-gradient(rgba(255,255,255,0.2), transparent);
}

[data-theme="light"] {
  --bg-primary: #f4f7fb;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(0, 0, 0, 0.1);
  --border-glass-hover: rgba(0, 0, 0, 0.18);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --accent-glow: 0 4px 20px rgba(43, 188, 179, 0.25);
  --grid-line: rgba(0, 0, 0, 0.04);
  --badge-bg: rgba(0, 0, 0, 0.03);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 1);
  --inner-glow-soft: none;
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.15);
  --mouse-glow: rgba(0,0,0,0.02);
  --btn-glass: rgba(0, 0, 0, 0.02);
  --btn-glass-hover: rgba(0, 0, 0, 0.05);
  --btn-highlight: linear-gradient(rgba(255,255,255,0.2), transparent);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(5px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(6, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo .logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.navbar-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-logo .logo-text .logo-kala {
  color: var(--text-primary);
}

.navbar-logo .logo-text .logo-media {
  color: var(--brand-teal);
}

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

.navbar-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.navbar-menu a:hover {
  color: var(--text-primary);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: var(--bg-primary) !important;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth) !important;
}

.navbar-cta:hover {
  box-shadow: var(--accent-glow);
  transform: translateY(-2px);
}

.navbar-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  top: -50px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  opacity: 0.2;
}

.orb-2 {
  bottom: -50px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
  opacity: 0.15;
  animation-direction: reverse;
  animation-duration: 15s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--badge-bg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--inner-glow);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(43, 188, 179, 0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(43, 188, 179, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 580px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--btn-highlight);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.btn-primary:hover {
  box-shadow: var(--accent-glow);
  transform: scale(1.02) translateY(-2px);
}

.btn-outline {
  background: var(--btn-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: var(--inner-glow-soft);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--btn-glass-hover);
  border-color: var(--border-glass-hover);
  transform: scale(1.02) translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 3D Tech Visual in Hero */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-strong), var(--inner-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s ease;
}

.fc-1 {
  width: 280px;
  top: 5%;
  left: -5%;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.fc-2 {
  width: 240px;
  bottom: 5%;
  right: -5%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
}

.fc-3 {
  width: 190px;
  top: 35%;
  left: 25%;
  animation: float 7s ease-in-out infinite 1s;
  z-index: 3;
}

.fc-icon {
  width: 40px; height: 40px;
  background: rgba(43, 188, 179, 0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

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

.fc-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 8px;
}

.fc-bar.w-70 { width: 70%; background: var(--accent-primary); }
.fc-bar.w-40 { width: 40%; }
.fc-bar.w-90 { width: 90%; background: var(--accent-secondary); }

/* ============================================
   MARQUEE SERVICES
   ============================================ */
.services-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 18px 0;
  white-space: nowrap;
  position: relative;
  display: flex;
}

.services-marquee::before,
.services-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.services-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.services-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-content {
  display: inline-flex;
  animation: scrollMarquee 35s linear infinite;
  gap: 40px;
  padding-left: 40px;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES (Bento Grid)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--inner-glow-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--mouse-glow), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  pointer-events: none;
}

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

.service-card:hover {
  border-color: rgba(43, 188, 179, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong), var(--inner-glow);
}

.card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-wide {
  grid-column: span 2;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--btn-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 32px;
  box-shadow: var(--inner-glow-soft);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.service-features li {
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.service-features li::before {
  content: '✦';
  color: var(--accent-primary);
  font-size: 1rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  transition: var(--transition-bounce);
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-overlay .portfolio-tag {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-strong), var(--inner-glow-soft);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: rgba(43, 188, 179, 0.4);
  background: linear-gradient(135deg, rgba(43, 188, 179, 0.08) 0%, rgba(26, 138, 158, 0.02) 100%);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.pricing-card.popular::before {
  content: '🔥 Paling Favorit';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 0 0 12px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 24px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

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

.pricing-features li .check {
  color: var(--accent-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   PROCESS / HOW WE WORK
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-glass);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 0 auto 20px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--brand-orange);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-primary);
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.92rem;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(43, 188, 179, 0.2);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(43, 188, 179, 0.08) 0%, rgba(232, 141, 48, 0.04) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content .section-title {
  margin-bottom: 16px;
}

.cta-content .section-desc {
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bento-wide {
    grid-column: span 1;
  }

  .portfolio-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-grid::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Nav */
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 22, 38, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    border-left: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .navbar-menu a {
    font-size: 1.1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Hero */
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .pricing-card, .service-card, .testimonial-card {
    padding: 28px 24px;
  }
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-switch {
  position: relative;
  width: 54px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  box-shadow: var(--inner-glow-soft);
  margin-left: 12px;
}

.theme-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent-gradient);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

[data-theme="light"] .theme-switch-slider {
  transform: translateX(26px);
}

.theme-switch .icon {
  font-size: 0.8rem;
  z-index: 0;
  user-select: none;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] {
  --mouse-glow: rgba(0, 0, 0, 0.04);
}

/* ============================================
   LEAD CAPTURE FORM (CRM)
   ============================================ */
.crm-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-strong), var(--inner-glow-soft);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.crm-form-row {
  display: flex;
  gap: 24px;
}

.crm-form-group {
  margin-bottom: 24px;
  flex: 1;
}

.crm-form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.crm-form-input,
.crm-form-select,
.crm-form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

[data-theme="light"] .crm-form-input,
[data-theme="light"] .crm-form-select,
[data-theme="light"] .crm-form-textarea {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.crm-form-input:focus,
.crm-form-select:focus,
.crm-form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(43, 188, 179, 0.2);
}

.crm-form-input::placeholder,
.crm-form-textarea::placeholder {
  color: var(--text-muted);
}

.crm-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.crm-form-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px;
  border-radius: var(--radius-md);
  margin-top: 8px;
  cursor: pointer;
  text-align: center;
  border: none;
}

@media (max-width: 768px) {
  .crm-form-row {
    flex-direction: column;
    gap: 0;
  }
  .crm-form-container {
    padding: 32px 24px;
  }
}

