/* Leshrac Electricals - Global Styles */

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

:root {
  --navy: #0B1F3A;
  --navy-light: #152D52;
  --blue: #1A56DB;
  --blue-light: #3B82F6;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --green: #059669;
  --light: #F8FAFC;
  --muted: #64748B;
  --text: #1E293B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #0B1F3A 0%, #152D52 50%, #1A3566 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 5%;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.logo-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--amber);
}

.nav-cta {
  background: var(--amber);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  background: var(--gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26, 86, 219, 0.15) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '⚡';
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 820px;
}

h1 span {
  color: var(--amber);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

/* BRANDS BAR */
.brands-bar {
  background: var(--navy);
  padding: 24px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brands-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.brands-label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.brands-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.brand-pill {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.brand-pill:hover {
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.4);
}

/* SECTIONS */
section {
  padding: 100px 5%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: rgba(26, 86, 219, 0.08);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 60px;
}

/* THREE PATHS */
.paths {
  background: var(--light);
}

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

.path-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 40px 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  border-radius: 20px 20px 0 0;
}

.path-card.featured::before {
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.12);
  border-color: transparent;
}

.path-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.path-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.path-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.path-features {
  list-style: none;
  margin-bottom: 32px;
}

.path-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  padding: 5px 0;
}

.path-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.path-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.path-cta-primary {
  background: var(--navy);
  color: white;
}

.path-cta-primary:hover {
  background: var(--blue);
}

.path-cta-featured {
  background: var(--amber);
  color: var(--navy);
}

.path-cta-featured:hover {
  background: var(--amber-light);
}

.path-cta-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}

.path-cta-outline:hover {
  background: var(--navy);
  color: white;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

/* WHY LESHRAC */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(26, 86, 219, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.why-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.why-visual {
  background: var(--gradient);
  border-radius: 24px;
  padding: 48px 40px;
  color: white;
}

.visual-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--amber);
  font-size: 1.1rem;
}

/* CATEGORIES */
.categories {
  background: var(--light);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
  text-decoration: none;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.1);
  border-color: var(--blue);
}

.cat-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.cat-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

.cat-count {
  color: var(--muted);
  font-size: 0.82rem;
}

/* LEAD FORM */
.form-section {
  background: var(--gradient);
  padding: 100px 5%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.form-left h2 {
  color: white;
}

.form-left .section-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.form-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.trust-point::before {
  content: '→';
  color: var(--amber);
  font-weight: 700;
}

.form-card {
  background: white;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--light);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
  background: white;
}

textarea {
  height: 90px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 4px;
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.form-privacy {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 12px;
}

#form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

#form-success .success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

#form-success h3 {
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

#form-success p {
  color: var(--muted);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--light);
}

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

.testi-card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--border);
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testi-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.testi-role {
  color: var(--muted);
  font-size: 0.82rem;
}

.stars {
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.3);
}

.step-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: var(--navy);
  padding: 60px 5% 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 2;
}

.footer-contact a {
  color: var(--amber);
  text-decoration: none;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.footer-gstin {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* STICKY CTA BAR */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 5%;
  display: none;
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.sticky-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sticky-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.sticky-btn-primary {
  background: var(--amber);
  color: var(--navy);
}

.sticky-btn-wa {
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-btn-wa::before {
  content: '💬';
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .paths-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 70px 5%;
  }

  .hero {
    padding: 88px 5% 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  nav ul {
    display: none;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: block;
  }

  .brands-list {
    gap: 12px;
  }
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  bottom: 72px;
  right: 28px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s;
  animation: pulse-wa 3s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.15);
  }
}