/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #1f2a42;
  --surface: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(0,212,170,0.3);
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #00d4aa;
  --accent-dim: rgba(0,212,170,0.15);
  --accent-blue: #4f7cff;
  --accent-blue-dim: rgba(79,124,255,0.15);
  --accent-purple: #8b5cf6;
  --accent-purple-dim: rgba(139,92,246,0.15);
  --accent-orange: #f59e0b;
  --gradient-hero: linear-gradient(135deg, #0a0f1a 0%, #0f1b2d 50%, #0a1628 100%);
  --gradient-accent: linear-gradient(135deg, #00d4aa, #4f7cff);
  --gradient-ai: linear-gradient(135deg, #00d4aa, #4f7cff, #8b5cf6);
  --gradient-card: linear-gradient(145deg, rgba(26,34,54,0.8), rgba(17,24,39,0.9));
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,212,170,0.15);
  --shadow-glow-purple: 0 0 40px rgba(139,92,246,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #33e0be; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,212,170,0.2);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 20px rgba(0,212,170,0.1); } 50% { box-shadow: 0 0 40px rgba(0,212,170,0.25); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes count { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s !important; }
.animate-delay-2 { animation-delay: 0.2s !important; }
.animate-delay-3 { animation-delay: 0.3s !important; }
.animate-delay-4 { animation-delay: 0.4s !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10,15,26,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,15,26,0.95); border-bottom-color: var(--border); padding: 10px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.nav-brand .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-accent); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--bg-primary);
}
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient-accent); transition: var(--transition); border-radius: 2px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 100px; font-weight: 600; font-size: 0.9rem;
  background: var(--gradient-accent); color: var(--bg-primary) !important;
  transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,170,0.3); color: var(--bg-primary) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: var(--gradient-hero); overflow: hidden; padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-pattern.png') center/cover no-repeat;
  opacity: 0.12; pointer-events: none;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.08), transparent 70%);
  top: 10%; right: -10%; pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,124,255,0.06), transparent 70%);
  bottom: 10%; left: -5%; pointer-events: none;
}
.hero .container { 
  position: relative; 
  z-index: 2; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-content { 
  animation: fadeUp 0.8s ease; 
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge { margin-bottom: 24px; }
.hero h1 { font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.03em; }
.hero p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 660px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 40px; border-radius: 100px; font-weight: 700; font-size: 1.1rem;
  background: var(--gradient-accent); color: var(--bg-primary);
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,212,170,0.3); color: var(--bg-primary); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 40px; border-radius: 100px; font-weight: 600; font-size: 1.1rem;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-dim); }
.hero-visual { 
  animation: fadeUp 0.8s ease 0.2s both; 
  display: flex; 
  justify-content: center; 
  width: 100%;
  max-width: 800px;
}
.hero-image-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
  border: 1px solid var(--border);
  width: 100%;
  background: var(--bg-card);
}
.hero-image-wrapper img { width: 100%; height: auto; display: block; }
.hero-stats {
  display: flex; gap: 60px; justify-content: center; width: 100%;
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; }
.hero-stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }

/* ===== SERVICES ===== */
.services { background: var(--bg-secondary); position: relative; }
.services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.service-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 40px 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent); opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.service-icon.teal { background: var(--accent-dim); color: var(--accent); }
.service-icon.blue { background: var(--accent-blue-dim); color: var(--accent-blue); }
.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.service-features { list-style: none; }
.service-features li {
  padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 10px;
}
.service-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== PROCESS ===== */
.process { position: relative; }
.process-timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 60px; }
.process-timeline::before {
  content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-blue));
  border-radius: 2px;
}
.process-step { position: relative; margin-bottom: 48px; }
.process-step:last-child { margin-bottom: 0; }
.step-marker {
  position: absolute; left: -60px; top: 0; width: 48px; height: 48px;
  border-radius: 50%; background: var(--bg-card); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--accent); z-index: 2;
}
.step-content {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
  transition: var(--transition);
}
.step-content:hover { border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.step-week { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.step-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== CASE STUDIES ===== */
.case-studies { background: var(--bg-secondary); position: relative; }
.case-studies::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.case-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.case-header { padding: 32px 32px 0; }
.case-industry {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.case-industry.catering { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.case-industry.ecommerce { background: var(--accent-blue-dim); color: var(--accent-blue); }
.case-industry.jewelry { background: rgba(168,85,247,0.15); color: #a855f7; }
.case-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.case-card .case-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }
.case-results { padding: 24px 32px; border-top: 1px solid var(--border); }
.case-results h4 { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.case-results ul { list-style: none; }
.case-results li { padding: 6px 0; font-size: 0.88rem; color: var(--text-secondary); display: flex; gap: 8px; }
.case-results li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ===== ABOUT / DETROIT ===== */
.about { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.about-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.about-content p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 20px; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.highlight-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; text-align: center;
  transition: var(--transition);
}
.highlight-card:hover { border-color: var(--border-hover); }
.highlight-card .num { font-size: 1.8rem; font-weight: 800; }
.highlight-card .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TEAM ===== */
.team { background: var(--bg-secondary); position: relative; }
.team::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 28px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gradient-accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--bg-primary);
}
.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.team-card p { color: var(--text-secondary); font-size: 0.88rem; }
.team-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 60px;
  padding-top: 45px;
  border-top: 1px solid var(--border);
}
.team-logos .logo-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.8;
}
.team-logos .logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  width: 100%;
}
.company-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1) brightness(0) invert(1);
}

/* ===== CTA ===== */
.cta-section { position: relative; overflow: hidden; }
.cta-box {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.06), transparent 70%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; position: relative; }
.cta-box p { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; position: relative; }
.cta-box .btn-primary { position: relative; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}
.form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.form-input::placeholder {
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 320px; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text-primary); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ===== PHILOSOPHY ===== */
.philosophy { background: var(--bg-primary); position: relative; }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.philosophy-card {
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.philosophy-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-ai); opacity: 0; transition: var(--transition);
}
.philosophy-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); box-shadow: var(--shadow-glow-purple); }
.philosophy-card:hover::before { opacity: 1; }
.philosophy-card .card-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--accent-purple-dim); color: var(--accent-purple); border: 1px solid rgba(139,92,246,0.2);
  margin-bottom: 20px;
}
.philosophy-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.philosophy-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Custom AI Glow Elements */
.ai-glow-border { border-color: rgba(139,92,246,0.2) !important; }
.ai-glow-border:hover { border-color: rgba(139,92,246,0.4) !important; box-shadow: var(--shadow-glow-purple) !important; }
.service-icon.purple { background: var(--accent-purple-dim); color: var(--accent-purple); }
.text-gradient-ai {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(10,15,26,0.98); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid, .cases-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; text-align: center; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 64px 0; }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .about-highlights { grid-template-columns: 1fr; }
}
