/* JPA ELECTRIC LLC — Dark theme, electric yellow + red gradient */

:root {
  --bg: #0b0f14;
  --bg-alt: #111722;
  --card: #151d2b;
  --border: #232f42;
  --text: #e8edf5;
  --muted: #9aa8bc;
  --primary: #eab308;
  --secondary: #ef4444;
  --gradient: linear-gradient(135deg, #eab308 0%, #f59e0b 45%, #ef4444 100%);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--secondary); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: .5px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--gradient);
  color: #0b0f14;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-links .contact-btn {
  background: var(--gradient);
  color: #0b0f14;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 30px;
}

.nav-links .contact-btn:hover { color: #0b0f14; filter: brightness(1.1); }

.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 24px 110px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(234, 179, 8, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(239, 68, 68, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1420 0%, var(--bg) 100%);
}

.hero-content { max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 30px;
  color: var(--primary);
  font-size: .85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p { font-size: 1.15rem; color: var(--muted); margin-bottom: 34px; }

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .95rem;
  transition: all .25s;
  border: 2px solid transparent;
}

.btn-primary { background: var(--gradient); color: #0b0f14; }
.btn-primary:hover { filter: brightness(1.12); color: #0b0f14; }

.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(234, 179, 8, 0.12); }

/* ===== Stats ===== */
.stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }

.stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label { color: var(--muted); font-size: .95rem; }

/* ===== Sections ===== */
.features, .approach, .content-page { padding: 80px 24px; }

.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-heading p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s;
}

.feature-card:hover { transform: translateY(-6px); border-color: rgba(234, 179, 8, 0.5); }

.feature-icon { font-size: 2rem; margin-bottom: 14px; }

.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { color: var(--muted); font-size: .95rem; }

/* ===== Approach ===== */
.approach { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-step { text-align: center; padding: 10px; }

.step-number {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 10px;
}

.approach-step h4 { margin-bottom: 8px; }
.approach-step p { color: var(--muted); font-size: .9rem; }

/* ===== CTA ===== */
.cta { padding: 80px 24px; text-align: center; background: radial-gradient(ellipse at center, rgba(234, 179, 8, 0.1), transparent 60%); }
.cta h2 { font-size: 2rem; margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== Page banner ===== */
.page-banner {
  padding: 90px 24px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(234, 179, 8, 0.1), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(239, 68, 68, 0.1), transparent 55%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-banner h1 { font-size: 2.4rem; margin-bottom: 12px; }
.page-banner p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ===== Content pages ===== */
.content-container { max-width: 960px; margin: 0 auto; }

.content-section { margin-bottom: 44px; }
.content-section h2 { font-size: 1.6rem; margin-bottom: 16px; color: var(--primary); }
.content-section h3 { margin: 18px 0 8px; }
.content-section p { margin-bottom: 14px; color: #c8d2e0; }
.content-section ul { margin: 0 0 14px 22px; color: #c8d2e0; }
.content-section li { margin-bottom: 8px; }

/* ===== Service detail grid ===== */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.service-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.service-detail-card h2 { font-size: 1.25rem; color: var(--text); margin-bottom: 6px; }
.service-icon { color: var(--primary); }

.card-tag {
  display: inline-block;
  background: rgba(234, 179, 8, 0.12);
  color: var(--primary);
  font-size: .8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.service-detail-card p { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.service-detail-card ul { margin: 10px 0 0 18px; color: var(--muted); font-size: .92rem; }
.service-detail-card li { margin-bottom: 6px; }

/* ===== Delivery model ===== */
.delivery-model { margin-top: 60px; text-align: center; }
.delivery-model h2 { margin-bottom: 34px; }

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.delivery-step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; }

.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #0b0f14;
  font-weight: 800;
}

.delivery-step h4 { margin-bottom: 8px; }
.delivery-step p { color: var(--muted); font-size: .85rem; }

/* ===== Team page grid ===== */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-page-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}

.team-page-card:hover { transform: translateY(-5px); border-color: rgba(234, 179, 8, 0.5); }

.avatar { font-size: 2.2rem; margin-bottom: 12px; }

.team-page-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

.role { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }

.desc { color: var(--muted); font-size: .85rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }

.contact-info-item .icon { font-size: 1.5rem; }

.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { color: var(--muted); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-group { margin-bottom: 18px; }

.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-success { margin-top: 14px; color: #34d399; font-weight: 600; min-height: 22px; }

/* ===== Footer ===== */
footer {
  background: #070a0f;
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 320px; }

.footer-links h4 { margin-bottom: 16px; font-size: 1rem; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .88rem;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .delivery-steps { grid-template-columns: 1fr 1fr; }
  .team-page-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 15, 20, 0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .feature-grid, .approach-steps, .delivery-steps, .team-page-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
