:root {
  --bg-dark: #0B1120;
  --bg-card: #151E32;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-purple: #8B5CF6;
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5);
  --font-main: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glow Effect */
.glow-bg {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(11, 17, 32, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  background: rgba(11, 17, 32, 0.8);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  height: 45px;
  width: auto;
  transition: 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-login {
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
}

.btn-login:hover {
  background: white;
  color: var(--bg-dark);
  border-color: white;
}

.nav-links-desktop {
  display: flex;
  gap: 24px;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  z-index: 99;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
}

@media (max-width: 992px) {
  .nav-links-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .btn-login {
    display: none;
  }

  .logo-img {
    height: 35px;
  }
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.hero-logo {
  max-width: 250px;
  width: 80%;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .hero-cta {
    flex-direction: column;
    padding: 0 40px;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .hero-logo {
    max-width: 180px;
  }
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

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

/* Floating Login Widget */
.login-widget {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 300px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.glass-card {
  background: rgba(21, 30, 50, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.login-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

.glass-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  color: white;
  margin-bottom: 12px;
  font-family: inherit;
}

.glass-input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.btn-glass-action {
  width: 100%;
  background: white;
  color: var(--bg-dark);
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.btn-glass-action:hover {
  background: var(--accent-blue);
  color: white;
}

.password-display.error-msg .password-value {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* About Section */
.dark-section-alt {
  background: #0D1326;
  position: relative;
}

.section-label {
  display: inline-block;
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .about-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

@media (max-width: 600px) {
  .stats-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-card h3 {
  margin-bottom: 20px;
  color: var(--accent-green);
}

.check-list {
  list-style: none;
}

.check-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: white;
}

.check-list li::before {
  content: "\F272";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: normal;
  font-size: 1rem;
}

/* Power Grid */
.section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.power-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 30px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.power-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.power-card[data-glow="blue"]:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.power-card[data-glow="green"]:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.power-card[data-glow="amber"]:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.power-card[data-glow="purple"]:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 24px;
  display: inline-block;
  background: linear-gradient(135deg, white 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s;
}

.power-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.power-card[data-glow="blue"] .card-icon {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.power-card[data-glow="green"] .card-icon {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.power-card[data-glow="amber"] .card-icon {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.power-card[data-glow="purple"] .card-icon {
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.power-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .power-card {
    padding: 24px;
  }

  .power-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
  }

  .card-icon {
    font-size: 1.8rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .power-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
}

.module-list {
  list-style: none;
  padding: 0;
}

.module-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.module-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

/* Network Section */
.dark-section {
  background: #0F1623;
  position: relative;
}

.network-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.network-info h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.network-info p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 48px;
}

/* Reps Grid */
.reps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.rep-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 12px;
  transition: 0.3s;
}

.rep-card strong {
  display: block;
  color: white;
  margin-bottom: 4px;
}

.rep-card small {
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.rep-phone {
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s;
}

.btn-text-glow:hover {
  color: white;
  text-shadow: 0 0 10px var(--accent-blue);
}

/* Google Maps Integration */
.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-frame {
  /* Dark Mode Filter Magic */
  filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(120%) grayscale(20%);
  transition: filter 0.5s ease;
}

.map-container:hover .map-frame {
  filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(120%) grayscale(0%);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(15, 22, 35, 0.4) 100%);
  pointer-events: none;
  z-index: 10;
  border-radius: 24px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* representatives Section */
.representatives-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.state-group h3 {
  margin-bottom: 24px;
  color: var(--accent-blue);
  font-size: 1.5rem;
  border-left: 4px solid var(--accent-blue);
  padding-left: 15px;
}

.reps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.rep-card-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  transition: 0.3s;
}

.rep-card-glass:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
}

.rep-card-glass .city {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: white;
}

.rep-card-glass .name {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-link,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.2s;
}

.whatsapp-link i {
  color: #25D366;
  font-size: 1.2rem;
}

.phone-link i {
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.whatsapp-link:hover {
  color: #25D366;
  transform: translateX(5px);
}

.phone-link:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

/* Password Display in Widget */
.password-display {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.password-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.password-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.password-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  font-family: monospace;
  letter-spacing: 2px;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.copy-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: scale(1.1);
}

.copy-btn i {
  font-size: 0.9rem;
}

/* Partnership Section */
.partnership-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .partnership-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.partnership-card {
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: float 6s ease-in-out infinite;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.partnership-card h3 {
  color: white;
  margin-bottom: 12px;
}

.partnership-card p {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .partnership-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .partnership-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
    width: 100%;
  }

  .partnership-visual .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
  }

  .partnership-visual h3 {
    margin: 0;
    font-size: 1.3rem;
  }
}

/* Network Layout Split */
.network-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.reps-list-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 350px;
}

.map-frame {
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 0%, var(--bg-dark) 150%);
  pointer-events: none;
}

@media (max-width: 992px) {
  .network-layout-split {
    grid-template-columns: 1fr;
  }
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateX(10px);
  border-color: var(--accent-blue);
}

.contact-card .icon {
  font-size: 1.8rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.contact-card h4 {
  color: white;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.glass-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-form h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

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

.w-100 {
  width: 100%;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
  color: var(--text-secondary);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}

/* Scroll Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.navbar.scrolled {
  background: rgba(11, 17, 32, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 15px 0;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 0px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    text-align: center;
    margin-bottom: 20px;
  }

  .login-widget {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    margin: 10px auto 30px;
    width: calc(100% - 48px);
    max-width: 400px;
    display: block;
    z-index: 10;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .network-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }

  .power-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
  }

  .network-list {
    grid-template-columns: 1fr;
  }

  .footer-flex {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}