/* Vivid Concepts - Modern Violet Theme */

:root {
  /* Primary Colors - Modern Violet */
  --primary-50: #f5f3ff;
  --primary-100: #ede9fe;
  --primary-200: #ddd6fe;
  --primary-300: #c4b5fd;
  --primary-400: #a78bfa;
  --primary-500: #8b5cf6;
  --primary-600: #7c3aed;
  --primary-700: #6d28d9;
  --primary-800: #5b21b6;
  --primary-900: #4c1d95;
  
  /* Accent Colors */
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  
  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  --gray-950: #09090b;
  
  /* Semantic */
  --background: #09090b;
  --background-secondary: #18181b;
  --background-tertiary: #27272a;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-pink) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-300) 0%, var(--accent-cyan) 50%, var(--accent-pink) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 60px -12px var(--primary-500);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1200px;
  --container-padding: clamp(20px, 5vw, 40px);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px -4px var(--primary-600);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px var(--primary-500);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-300);
  border: 2px solid var(--primary-600);
}

.btn-secondary:hover {
  background: var(--primary-900);
  border-color: var(--primary-500);
}

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-900);
  color: var(--primary-300);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
  border: 1px solid var(--primary-700);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-800);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.logo-vivid {
  color: var(--primary-400);
}

.logo-concepts {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .nav-cta {
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 10px;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px -4px var(--primary-600);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--background);
  padding: 20px;
  border-bottom: 1px solid var(--gray-800);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-800);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .nav-cta {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 10px;
  text-align: center;
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--primary-900) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--gray-800) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-800) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-600);
  top: -200px;
  right: -200px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--primary-700);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: 30px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-subtitle strong {
  color: var(--primary-300);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-700);
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: var(--container-padding);
}

.code-window {
  width: 100%;
  max-width: 480px;
  background: var(--background-secondary);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: var(--background-tertiary);
  border-bottom: 1px solid var(--gray-700);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #eab308; }
.window-dots span:nth-child(3) { background: #22c55e; }

.window-title {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-content {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
}

.code-content pre {
  margin: 0;
}

.code-keyword { color: var(--primary-400); }
.code-var { color: #f472b6; }
.code-func { color: var(--accent-cyan); }
.code-method { color: #fbbf24; }
.code-prop { color: #a78bfa; }
.code-string { color: #34d399; }
.code-comment { color: var(--text-muted); font-style: italic; }

/* Services Section */
.services {
  padding: var(--section-padding) 0;
  background: var(--background-secondary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-700), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--background);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 36px;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: var(--primary-600);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px var(--primary-900);
}

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--background) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-color: var(--primary-700);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-900);
  border-radius: 14px;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-400);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-500);
  border-radius: 50%;
}

/* Case Study Section */
.case-study {
  padding: var(--section-padding) 0;
  background: var(--background);
  overflow-x: hidden;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.case-study-info {
  min-width: 0;
}

.case-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.case-logo-text {
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-400);
}

.case-badge {
  padding: 6px 12px;
  background: var(--accent-green);
  color: var(--background);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.case-study-info h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 20px;
}

.case-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.case-features {
  margin: 30px 0;
  display: grid;
  gap: 20px;
}

.case-feature {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateX(-20px);
}

.case-feature.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.feature-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-900);
  border-radius: 8px;
}

.feature-check svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-green);
}

.case-feature strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.case-feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.case-result {
  display: flex;
  gap: 30px;
  padding: 24px;
  background: var(--background-secondary);
  border-radius: 16px;
  margin-top: 30px;
}

.result-item {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  color: var(--primary-400);
}

.result-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Case Study Visual */
.case-study-visual {
  position: relative;
}

.app-mockup {
  position: relative;
  z-index: 1;
}

.mockup-screen {
  background: var(--background-secondary);
  border: 1px solid var(--gray-700);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mockup-header {
  padding: 16px 20px;
  background: var(--background-tertiary);
  border-bottom: 1px solid var(--gray-700);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-600);
}

.mockup-content {
  display: flex;
  height: 350px;
}

.mockup-sidebar {
  width: 60px;
  background: var(--background);
  border-right: 1px solid var(--gray-700);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-item {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 10px;
}

.sidebar-item.active {
  background: var(--primary-600);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-image-area {
  flex: 1;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.polygon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polygon-overlay svg {
  width: 100%;
  height: 100%;
}

.mockup-stats {
  display: flex;
  gap: 15px;
}

.stat-box {
  flex: 1;
  padding: 15px;
  background: var(--background);
  border-radius: 10px;
  border: 1px solid var(--gray-700);
}

.stat-box .stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stat-box .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-400);
}

/* Screenshot Gallery */
.screenshot-gallery {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.screenshot-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screenshot-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.screenshot-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Device Frames */
.device-frame {
  position: relative;
  background: linear-gradient(145deg, #2a2a2e 0%, #1a1a1e 100%);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
  width: 3px;
  height: 30px;
  background: #3a3a3e;
  border-radius: 0 2px 2px 0;
}

.device-phone {
  width: 280px;
}

.device-phone-small {
  width: 200px;
}

.device-tablet {
  width: 320px;
  border-radius: 24px;
  padding: 10px;
}

.device-notch {
  width: 80px;
  height: 24px;
  background: #1a1a1e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative;
}

.device-notch::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #3a3a3e;
  border-radius: 2px;
}

.device-screen {
  background: var(--background);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/16;
}

.device-tablet .device-screen {
  aspect-ratio: 3/4;
  border-radius: 14px;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--background);
  border: 1px solid var(--gray-700);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.float-card svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-green);
}

.float-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.float-2 {
  bottom: 30%;
  right: -30px;
  animation-delay: 1s;
}

.float-3 {
  bottom: 10%;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.case-cta {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--background-secondary) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-radius: 20px;
  border: 1px solid var(--gray-800);
}

.case-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-cta-headline {
  font-size: clamp(20px, 4vw, 26px);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.case-cta strong {
  color: var(--text-primary);
}

/* Process Section */
.process {
  padding: var(--section-padding) 0;
  background: var(--background-secondary);
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-700), transparent);
}

.timeline {
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-600), var(--primary-900));
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

.timeline-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-600);
  border-radius: 50%;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--background-secondary);
}

.timeline-content {
  flex: 1;
  padding-top: 8px;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-content h3 {
  font-size: 22px;
  color: var(--text-primary);
}

.timeline-duration {
  padding: 6px 14px;
  background: var(--primary-900);
  color: var(--primary-300);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Timeline Summary */
.timeline-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.summary-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--background);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.summary-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.summary-card:hover {
  border-color: var(--primary-600);
}

.summary-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-900);
  border-radius: 12px;
}

.summary-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-400);
}

.summary-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.summary-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: 4px;
}

.summary-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Integrations Section */
.integrations {
  padding: var(--section-padding) 0;
  background: var(--background);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--background-secondary);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  transition: all var(--transition-base);
  aspect-ratio: 1;
  min-height: 120px;
}

.integration-item:hover {
  border-color: var(--primary-600);
  transform: translateY(-4px);
}

.integration-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border-radius: 14px;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-400);
}

.integration-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-400);
}

.integration-icon.salesforce {
  background: #00A1E0;
  color: white;
}

.integration-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.integration-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* Contact Section */
.contact {
  padding: var(--section-padding) 0;
  background: var(--background-secondary);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-700), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding-right: 40px;
}

.contact-info .section-title {
  text-align: left;
  font-size: clamp(28px, 4vw, 44px);
}

.contact-description {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-features {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-green);
}

.contact-direct {
  padding: 24px;
  background: var(--background);
  border-radius: 16px;
  border: 1px solid var(--gray-800);
}

.contact-direct p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-email {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-400);
  transition: color var(--transition-fast);
}

.contact-email:hover {
  color: var(--primary-300);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--background);
  border: 1px solid var(--gray-800);
  border-radius: 24px;
  padding: 40px;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 16px;
  background: var(--background-secondary);
  border: 1px solid var(--gray-700);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown var(--transition-normal) ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: var(--background);
  border-top: 1px solid var(--gray-800);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: quiche-sans, 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray-800);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-domain {
  color: var(--primary-400);
  font-size: 14px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 0 60px;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 50px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    justify-content: center;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
  }
  
  .service-card.featured {
    grid-column: span 1;
  }
  
  .case-study-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .case-study-visual {
    order: -1;
  }
  
  .case-study-info {
    padding: 0 var(--container-padding);
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .case-study-info h3 {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .case-description {
    font-size: 15px;
  }
  
  .case-feature {
    padding-right: 10px;
  }
  
  .case-feature strong {
    font-size: 15px;
  }
  
  .case-feature p {
    font-size: 13px;
  }
  
  .screenshot-gallery {
    flex-direction: column;
    align-items: center;
    padding: 0 var(--container-padding);
  }
  
  .device-phone {
    width: min(280px, 80vw);
  }
  
  .device-phone-small {
    width: min(180px, 60vw);
  }
  
  .device-tablet {
    width: min(280px, 75vw);
  }
  
  .screenshot-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .contact-info .section-title {
    text-align: center;
  }
  
  .contact-info .section-badge {
    display: block;
    text-align: center;
  }
  
  .contact-description {
    text-align: center;
  }
  
  .contact-features {
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .code-window {
    max-width: calc(100vw - 40px);
    margin: 0 auto 40px;
    box-sizing: border-box;
  }
  
  .code-content {
    overflow-x: auto;
    font-size: 12px;
  }
  
  .code-content pre {
    white-space: pre-wrap;
    word-break: break-word;
  }
  
  .timeline::before {
    left: 23px;
  }
  
  .timeline-marker {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
  
  .timeline-item {
    gap: 20px;
  }
  
  .case-result {
    flex-direction: column;
    gap: 20px;
  }
  
  .float-card {
    display: none;
  }
  
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .integration-item {
    padding: 20px 12px;
    min-height: 110px;
  }
  
  .integration-icon {
    width: 48px;
    height: 48px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 40px;
  }
  
  .code-content {
    font-size: 12px;
    padding: 16px;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .mockup-content {
    height: 280px;
  }
  
  .case-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .case-logo-text {
    font-size: 24px;
  }
  
  .case-result {
    padding: 16px;
  }
  
  .result-number {
    font-size: 28px;
  }
  
  .device-phone {
    width: min(240px, 75vw);
  }
  
  .device-tablet {
    width: min(220px, 70vw);
  }
  
  .case-cta {
    padding: 24px 16px;
    margin: 40px var(--container-padding) 0;
    text-align: center;
  }
  
  .case-cta p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .case-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animation States */
.service-card,
.timeline-item,
.case-feature,
.summary-card {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.15s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.45s; }

.case-feature:nth-child(1) { transition-delay: 0s; }
.case-feature:nth-child(2) { transition-delay: 0.1s; }
.case-feature:nth-child(3) { transition-delay: 0.2s; }
.case-feature:nth-child(4) { transition-delay: 0.3s; }
.case-feature:nth-child(5) { transition-delay: 0.4s; }
.case-feature:nth-child(6) { transition-delay: 0.5s; }

.summary-card:nth-child(1) { transition-delay: 0s; }
.summary-card:nth-child(2) { transition-delay: 0.1s; }
.summary-card:nth-child(3) { transition-delay: 0.2s; }
