:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #8b5cf6;
  --dark: #0a0a0f;
  --dark-light: #12121a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --success: #10b981;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero h1, .hero p, .hero .btn,
.section-title, .section-subtitle, .service-card,
.process-step, .price-card, .team-member,
.testimonial-card, .stat-card { opacity: 1 !important; }
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 9999;
}
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 5%; background: rgba(10,10,15,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@supports (backdrop-filter: blur(20px)) {
  .navbar {
    background: rgba(10,10,15,0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
.nav-container {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu-btn { display: none; }
.logo {
  font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--light);
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--gray); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--light); }
.btn-nav { padding: 0.6rem 1.2rem; background: var(--primary); color: white !important; border-radius: 8px; }
.hero {
  position: relative; min-height: 67vh; min-height: 67dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 5% 80px; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);
}
#webgl-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 900px; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  -webkit-animation: gradientShift 6s ease infinite; animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--gray); margin-bottom: 2.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 50px;
  font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer; font-size: 1rem;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 8px 30px rgba(99,102,241,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99,102,241,0.35); }
.btn-outline { background: transparent; color: var(--light); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.4); }
.btn-white { background: white; color: var(--dark); padding: 1.2rem 2.5rem; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 15px 50px rgba(0,0,0,0.3); }
.btn-secondary { background: rgba(99,102,241,0.1); color: var(--primary); border: 1px solid rgba(99,102,241,0.3); }
.btn-secondary:hover { background: rgba(99,102,241,0.2); }
.hero-stats { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .stat-number {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.hero-stat .stat-label { color: var(--gray); font-size: 0.9rem; }
.marquee-section { background: linear-gradient(90deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05)); padding: 1.2rem 0; overflow: hidden; }
.marquee { display: flex; white-space: nowrap; animation: marquee-scroll 19s linear infinite; width: fit-content; }
@keyframes marquee-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.marquee-item { font-size: 0.95rem; font-weight: 600; color: var(--gray); padding: 0 1.5rem; }
.marquee .sep { color: var(--primary); opacity: 0.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3); border-radius: 50px; color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; background: linear-gradient(135deg, var(--light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 2rem; position: relative; overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.service-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.service-card.featured { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.05)); border-color: var(--primary); }
.card-badge { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 0.3rem 0; border-radius: 20px; font-size: 0.75rem; font-weight: 600; width: 90px; text-align: center; white-space: nowrap; }
.service-icon-wrap { width: 90px; height: 90px; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; background: rgba(99,102,241,0.08); border-radius: 24px; border: 2px solid rgba(99,102,241,0.15); transition: transform 0.3s; }
.service-emoji { font-size: 42px; line-height: 1; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p { color: var(--gray); margin-bottom: 1.5rem; }
.service-features { list-style: none; }
.service-features li { padding: 0.5rem 0; color: var(--gray); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { text-align: center; padding: 2rem; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.stat-card .stat-number { font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .stat-label { color: var(--gray); font-size: 0.95rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after { content: '→'; position: absolute; right: -1rem; top: 2rem; font-size: 1.5rem; color: var(--primary); }
.step-number { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; }
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--gray); font-size: 0.9rem; }
.pricing-toggle-nav { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.toggle-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; background: rgba(30,41,59,0.6); border: 1px solid rgba(148,163,184,0.2); border-radius: 50px; color: #94a3b8; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.toggle-btn.active { background: linear-gradient(90deg, var(--primary), var(--accent)); border-color: transparent; color: white; }
.category-panel { display: none; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.category-panel.active { display: block; opacity: 1; transform: translateY(0); }
.pricing-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.category-panel[data-panel="auto"] .pricing-cards-row { grid-template-columns: repeat(2, 1fr); max-width: 800px; justify-content: center; }
.price-card { background: rgba(30,41,59,0.5); border: 1px solid rgba(148,163,184,0.1); border-radius: 20px; padding: 2rem; position: relative; transition: transform 0.3s, border-color 0.3s; display: flex; flex-direction: column; min-width: 280px; }
.price-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.price-card.featured { background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.08)); border-color: rgba(99,102,241,0.4); }
.card-header { margin-bottom: 1.5rem; }
.price-card h4 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.card-header p { color: var(--gray); font-size: 0.85rem; }
.card-price { text-align: center; padding: 1.5rem 0; border-top: 1px solid rgba(148,163,184,0.1); border-bottom: 1px solid rgba(148,163,184,0.1); margin-bottom: 1.5rem; }
.price-amount { display: block; font-size: 2.8rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.price-delay { color: var(--success); font-size: 0.85rem; font-weight: 600; }
.card-features { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.card-features li { padding: 0.6rem 0; border-bottom: 1px solid rgba(148,163,184,0.08); color: #cbd5e1; font-size: 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
.card-features li::before { content: none; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 2rem; }
.testimonial-stars { 
  color: #fbbf24; 
  margin-bottom: 1rem; 
  font-size: 1.2rem; 
  display: flex;
  gap: 0.2rem;
}
.testimonial-card > p { color: var(--gray); font-style: italic; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--accent)); text-align: center; padding: 4rem 5%; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-section > p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; max-width:
 600px; margin-left: auto; margin-right: auto; }
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.05); padding: 4rem 5% 2rem; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; max-width: 1200px; margin: 0 auto; margin-bottom: 2rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--light); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--gray); font-size: 0.85rem; }
.feature-check { width: 18px; height: 18px; stroke: var(--success); stroke-width: 2.5; fill: none; flex-shrink: 0; }
.team-simple { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; max-width: 700px; margin: 0 auto; text-align: center; }
@media (max-width: 600px) { .team-simple { grid-template-columns: 1fr; gap: 2rem; } }
.team-simple-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.team-icon { width: 64px; height: 64px; stroke: var(--primary); stroke-width: 1.5; fill: none; opacity: 0.8; }
.team-simple-item:nth-child(2) .team-icon { stroke: #f59e0b; }
.team-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.team-info p { color: var(--gray); font-size: 1rem; }
.logo-img { height: 45px; width: auto; object-fit: contain; }
.logo-img-footer { height: 50px; width: auto; object-fit: contain; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step:not(:last-child)::after { content: '↓'; position: static; display: block; margin-top: 0.5rem; }
  .pricing-cards-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: rgba(10,10,15,0.98); 
    flex-direction: column; 
    padding: 1.5rem; 
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.active { display: flex; }
  .navbar { padding: 1rem 5%; position: relative; }
  .mobile-menu-btn { 
    display: flex !important; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 0.5rem;
    color: var(--light);
  }
  .mobile-menu-btn svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
  .hero { height: auto; min-height: 500px; padding: 100px 5% 60px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 2rem; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .pricing-toggle-nav { flex-direction: column; align-items: center; }
  .toggle-btn { width: 100%; max-width: 280px; justify-content: center; }
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { text-align: center; }
}
@media (max-width: 480px) {
  .hero { min-height: 450px; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .stat-number { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { gap: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  #webgl-canvas { display: none; }
  .hero { background: radial-gradient(ellipse at center, rgba(99,102,241,0.2) 0%, transparent 60%), linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%); }
  .logo-img { height: 38px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
