/* Arc Electric — main.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --yellow: #F5C518;
  --cyan: #00D4FF;
  --dark: #0A0A0F;
  --card: #13131A;
  --text: #F0EDE8;
  --muted: rgba(240,237,232,0.5);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(245,197,24,0.3); border-radius: 3px; }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

/* Navbar */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
  padding: 0 1.5rem;
}
#navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-radius: 8px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 2px; background: var(--yellow); border-radius: 1px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Lang switcher */
.lang-btn {
  background: none; border: 1px solid var(--border); cursor: pointer;
  color: var(--muted); font-family: var(--font-heading); font-size: 12px;
  font-weight: 700; letter-spacing: 0.1em; padding: 6px 12px;
  border-radius: 8px; transition: border-color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.2); }
.lang-btn .active-lang { color: var(--yellow); }
.lang-btn .sep { color: rgba(255,255,255,0.2); }

/* CTA Button */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; font-family: var(--font-heading); font-size: 14px;
  font-weight: 600; border-radius: var(--radius);
  background: var(--yellow); color: #0A0A0F;
  border: none; cursor: pointer;
  transition: box-shadow 0.3s, opacity 0.2s;
  text-decoration: none; gap: 8px;
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(245,197,24,0.25); opacity: 0.92; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; font-family: var(--font-heading); font-size: 14px;
  font-weight: 600; border-radius: var(--radius);
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  text-decoration: none; gap: 8px;
}
.btn-outline:hover { border-color: rgba(0,212,255,0.5); color: var(--cyan); }

/* Nav CTA */
.nav-cta {
  padding: 10px 20px; font-size: 13px;
  border: 1px solid var(--yellow); color: var(--yellow);
  border-radius: var(--radius); font-family: var(--font-heading);
  font-weight: 600; transition: background 0.3s, color 0.3s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--yellow); color: #0A0A0F; }

/* Hero */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  padding: 120px 1.5rem 80px;
}
#hero canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(245,197,24,0.2); background: rgba(245,197,24,0.05);
  font-size: 11px; font-weight: 600; color: var(--yellow);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: pulse 2s ease-in-out infinite; }
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; text-transform: uppercase; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-title .gradient { background: linear-gradient(135deg, var(--yellow), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub {
  font-size: 1.15rem; color: var(--muted); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 16px; height: 16px; }

/* Counters */
#counters { padding: 80px 0; }
.counters-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 1024px) { .counters-grid { grid-template-columns: repeat(4, 1fr); } }
.counter-card {
  padding: 32px 24px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--border);
  text-align: center; transition: border-color 0.4s;
}
.counter-card:hover { border-color: rgba(245,197,24,0.2); }
.counter-icon { margin: 0 auto 16px; opacity: 0.7; }
.counter-num { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.counter-num.yellow { color: var(--yellow); }
.counter-num.cyan { color: var(--cyan); }
.counter-label { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* Services grid */
#services-section { padding: 80px 0; }
.section-eyebrow { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 48px; }
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 32px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.15s;
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-card:nth-child(odd):hover { border-color: rgba(245,197,24,0.3); box-shadow: 0 20px 60px rgba(245,197,24,0.06); }
.service-card:nth-child(even):hover { border-color: rgba(0,212,255,0.3); box-shadow: 0 20px 60px rgba(0,212,255,0.06); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.3s; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card:nth-child(odd) .service-icon { background: rgba(245,197,24,0.1); color: var(--yellow); }
.service-card:nth-child(even) .service-icon { background: rgba(0,212,255,0.1); color: var(--cyan); }
.service-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.service-link { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.service-card:nth-child(odd) .service-link { color: var(--yellow); }
.service-card:nth-child(even) .service-link { color: var(--cyan); }
.service-card:hover .service-link { gap: 10px; }

/* Why section */
#why { padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.why-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.why-item { display: flex; align-items: flex-start; gap: 12px; }
.why-check { width: 24px; height: 24px; border-radius: 50%; background: rgba(245,197,24,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.why-img { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.why-img img { width: 100%; height: 450px; object-fit: cover; }
.why-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.5), transparent); }

/* CTA Banner */
#cta-banner {
  padding: 80px 0; position: relative; overflow: hidden;
  background: var(--card); text-align: center;
}
.cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.cta-content .section-title { margin-bottom: 20px; }
.cta-desc { color: var(--muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 32px; } }
.footer-title { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer-contact-item svg { color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a, .footer-contact-item span { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 12px; color: var(--muted); }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Forms */
.form-section { padding: 80px 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 3fr 2fr; } }
.form-card { padding: 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: 13px; color: var(--muted); }
.form-input, .form-textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.3s; width: 100%;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: rgba(245,197,24,0.4); }
.form-textarea { resize: none; min-height: 120px; }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--border);
  margin-bottom: 12px; transition: border-color 0.3s;
}
.contact-info-card:hover { border-color: rgba(245,197,24,0.2); }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(245,197,24,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { color: var(--yellow); }
.map-container { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); height: 280px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Quote steps */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 40px; }
.step-dot {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
  transition: all 0.4s; background: rgba(255,255,255,0.06); color: var(--muted);
}
.step-dot.active { background: var(--yellow); color: #0A0A0F; transform: scale(1.1); box-shadow: 0 4px 20px rgba(245,197,24,0.3); }
.step-dot.done { background: rgba(245,197,24,0.15); color: var(--yellow); }
.step-line { width: 60px; height: 2px; background: rgba(255,255,255,0.06); border-radius: 1px; overflow: hidden; }
.step-line-fill { height: 100%; background: var(--yellow); transition: width 0.6s ease; }
.quote-step { display: none; }
.quote-step.active { display: block; }
.service-checkbox {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border-radius: 14px; border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.3s, background 0.3s; background: rgba(255,255,255,0.02);
}
.service-checkbox:hover { border-color: rgba(255,255,255,0.12); }
.service-checkbox.checked { border-color: rgba(245,197,24,0.4); background: rgba(245,197,24,0.04); }
.checkboxes-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .checkboxes-grid { grid-template-columns: 1fr 1fr; } }
.checkbox-visual {
  width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.service-checkbox.checked .checkbox-visual { border-color: var(--yellow); background: var(--yellow); }
.checkbox-visual svg { display: none; }
.service-checkbox.checked .checkbox-visual svg { display: block; }
.step-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Services page */
.service-section { padding: 64px 0; border-top: 1px solid var(--border); }
.service-section-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .service-section-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.service-section-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.service-section-img img { width: 100%; height: 350px; object-fit: cover; }
.service-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(245,197,24,0.1); color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.service-bullets { list-style: none; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.service-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(240,237,232,0.75); }
.service-bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; margin-top: 8px; }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: fixed; inset: 0; top: 72px; background: rgba(10,10,15,0.98); flex-direction: column; padding: 24px; gap: 4px; backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-cta { display: none; }
}

/* Page header */
.page-header { padding: 120px 0 60px; text-align: center; }
.page-header .section-title { margin-bottom: 16px; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
