/* ===== CSS Variables ===== */
:root {
  --primary: #0a1628;
  --primary-light: #132238;
  --accent: #00d4ff;
  --accent-dark: #00a8cc;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --orange: #ff6b35;
  --orange-glow: rgba(255, 107, 53, 0.3);
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gradient: linear-gradient(135deg, var(--accent) 0%, #0066ff 100%);
  --gradient-orange: linear-gradient(135deg, var(--orange) 0%, #ff8f5a 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--primary);
  color: var(--gray-200);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
}
.logo-accent { color: var(--accent); }
.nav-menu {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-menu a {
  padding: 8px 16px; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem;
  color: var(--gray-300);
  transition: var(--transition);
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-particles .particle {
  position: absolute; border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-400); max-width: 600px;
  margin: 0 auto 32px; line-height: 1.7;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--accent); max-width: 640px;
  margin: 0 auto 16px; line-height: 1.6;
  font-weight: 500; font-style: italic;
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 600; font-size: 1rem;
  transition: var(--transition); cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}
.btn-full { width: 100%; justify-content: center; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem; font-weight: 800;
  color: var(--accent);
}
.stat-label {
  display: block; font-size: 0.9rem;
  color: var(--gray-500); font-weight: 500;
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px; position: relative;
}
.scroll-indicator span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0; }
}

/* ===== Sections General ===== */
section { padding: 100px 0; }
.section-header {
  text-align: center; max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem; color: var(--gray-500);
}

/* ===== Services ===== */
.services { background: var(--primary-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 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);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.service-card p {
  color: var(--gray-500); font-size: 0.95rem;
  margin-bottom: 20px; line-height: 1.6;
}
.service-link {
  color: var(--accent); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.service-link:hover { color: var(--white); }

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.why-lead {
  font-size: 1.1rem; color: var(--gray-400);
  margin-bottom: 32px; line-height: 1.7;
}
.why-features { display: flex; flex-direction: column; gap: 24px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.feature h4 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.feature p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.5; }

/* Before/After Visual */
.visual-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.visual-header {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gray-500); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.visual-after-label { color: var(--accent); }
.before-after {
  position: relative; width: 100%; height: 280px;
  border-radius: var(--radius); overflow: hidden;
  cursor: ew-resize; user-select: none;
}
.before-image, .after-image {
  position: absolute; inset: 0; overflow: hidden;
}
.after-image { clip-path: inset(0 0 0 50%); }
.dirty-surface, .clean-surface {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.dirty-surface {
  background: linear-gradient(135deg, #555 0%, #777 100%);
}
.clean-surface {
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
}
.grime {
  position: absolute; border-radius: 50%;
  background: rgba(40, 40, 30, 0.6);
  filter: blur(20px);
}
.grime-1 { width: 120px; height: 80px; top: 20%; left: 15%; }
.grime-2 { width: 100px; height: 100px; top: 50%; left: 60%; }
.grime-3 { width: 80px; height: 60px; top: 70%; left: 30%; }
.grime-4 { width: 140px; height: 90px; top: 30%; left: 75%; }
.surface-text {
  font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.dirty-surface .surface-text { color: rgba(255,255,255,0.2); }
.clean-surface .surface-text { color: rgba(0,0,0,0.15); }
.slider-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--accent);
  transform: translateX(-50%); z-index: 5;
  box-shadow: 0 0 20px var(--accent-glow);
}
.slider-button {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== Gallery ===== */
.gallery { background: var(--primary-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.gallery-item { text-align: center; }
.gallery-caption {
  margin-top: 12px; font-size: 0.9rem;
  color: var(--gray-500); font-weight: 500;
}

/* Before/After Slider (gallery) */
.ba-slider {
  position: relative; width: 100%; height: 260px;
  border-radius: var(--radius); overflow: hidden;
  cursor: ew-resize; user-select: none;
}
.ba-before, .ba-after {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 16px;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-label {
  padding: 4px 12px; border-radius: 6px;
  background: rgba(0,0,0,0.6); color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--accent);
  transform: translateX(-50%); z-index: 5;
  box-shadow: 0 0 20px var(--accent-glow);
}
.ba-handle div {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}
.stars {
  color: var(--orange); font-size: 1.2rem;
  margin-bottom: 16px; letter-spacing: 2px;
}
.testimonial-card > p {
  font-size: 1rem; color: var(--gray-300);
  line-height: 1.7; margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--white);
}
.testimonial-author strong { display: block; color: var(--white); font-weight: 600; }
.testimonial-author span { font-size: 0.85rem; color: var(--gray-500); }

/* ===== Service Areas ===== */
.areas { background: var(--primary-light); }
.areas-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 24px;
}
.area-tag {
  padding: 10px 24px; border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gray-300); font-weight: 500;
  transition: var(--transition);
}
.area-tag:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
}
.areas-note {
  text-align: center; color: var(--gray-500);
}
.areas-note a { color: var(--accent); font-weight: 600; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-lead {
  font-size: 1.1rem; color: var(--gray-400);
  margin-bottom: 32px; line-height: 1.7;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.contact-method:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-method span { display: block; font-size: 0.85rem; color: var(--gray-500); }
.contact-method strong { display: block; font-size: 1.05rem; color: var(--white); font-weight: 600; }

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.9rem; font-weight: 500; color: var(--gray-300);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: inherit; font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.form-group select option { background: var(--primary); color: var(--white); }
.form-note {
  text-align: center; font-size: 0.85rem;
  color: var(--gray-600); margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.6; }
.footer-links h4,
.footer-contact h4 {
  font-size: 1rem; font-weight: 600; color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact p {
  color: var(--gray-500); font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: var(--gray-400); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem; color: var(--gray-600);
}

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.active { opacity: 1; pointer-events: all; }
.modal-content {
  background: var(--primary-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px; text-align: center;
  max-width: 400px; width: 90%;
  transform: scale(0.9); transition: transform 0.3s ease;
}
.modal.active .modal-content { transform: scale(1); }
.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal-content h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.modal-content p { color: var(--gray-500); margin-bottom: 24px; }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }

/* Fade-in-up for hero */
.fade-in-up {
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: 0.15s; }
.fade-in-up.delay-2 { animation-delay: 0.3s; }
.fade-in-up.delay-3 { animation-delay: 0.45s; }
.fade-in-up.delay-4 { animation-delay: 0.6s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px;
    height: 100vh; background: var(--primary-light);
    flex-direction: column; align-items: stretch;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  .nav-menu.active { right: 0; }
  .nav-menu a { padding: 12px 16px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .contact-form-wrapper { padding: 24px; }
}
