/* ============================================
   Go EV Charger Pros - Premium Landing Page V2
   Advanced Graphics & Animations
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============ CSS Variables ============ */
:root {
  /* Primary Colors */
  --primary-orange: #FF6B35;
  --primary-orange-dark: #E55A28;
  --primary-orange-light: #FF8C5A;

  /* Accent Colors */
  --accent-cyan: #00D4FF;
  --accent-green: #00FF88;
  --accent-purple: #8B5CF6;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-cream: #FAFAFA;
  --bg-dark: #1A1A2E;
  --bg-darker: #0F0F1A;

  /* Text Colors */
  --text-dark: #1A1A2E;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;

  /* Borders */
  --border-light: #E5E7EB;
  --border-focus: #00D4FF;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.4);
  --shadow-orange: 0 8px 30px rgba(255, 107, 53, 0.4);

  /* Fonts */
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============ Reset & Base ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* ============ Main Container ============ */
.landing-container {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-white);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  max-height: 550px;
  background:
    linear-gradient(135deg, rgba(26, 26, 46, 0.75) 0%, rgba(15, 15, 26, 0.6) 100%),
    url('hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 3rem;
  overflow: hidden;
}

/* Animated Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
  animation: gradientPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Particles Effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 212, 255, 0.6);
  border-radius: 50%;
  animation: particleFloat 15s linear infinite;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Logo */
.hero-header {
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 1));
  }
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.3em;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.hero-title {
  max-width: 650px;
}

.title-line {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.8s ease-out both;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-accent {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--primary-orange);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  animation: slideIn 0.8s ease-out 0.4s both;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 {
  top: 30%;
  right: 10%;
  animation-delay: 0s;
}

.badge-2 {
  top: 55%;
  right: 5%;
  animation-delay: 3s;
}

@keyframes floatBadge {

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

  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.badge-icon {
  font-size: 1.2rem;
}

/* ============ CONTENT SECTION ============ */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-white);
}

/* ============ INFO PANEL (Left) ============ */
.info-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg-light);
  position: relative;
}

.info-panel::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.5rem;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  border-radius: 14px;
  margin-bottom: 0.75rem;
  transition: var(--transition-smooth);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.feature-item:hover .feature-icon svg {
  stroke: var(--accent-green);
}

.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Services Section */
.services-section {
  margin-top: 0.5rem;
}

.service-buttons {
  display: flex;
  gap: 1rem;
}

.service-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  opacity: 0.1;
}

.service-btn:hover::before {
  width: 300px;
  height: 300px;
}

.service-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
  transition: var(--transition-smooth);
}

.service-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.service-btn:hover svg {
  stroke: var(--primary-orange);
  transform: scale(1.1);
}

/* ============ FORM PANEL (Right) ============ */
.form-panel {
  padding: 2.5rem;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
}

.form-container {
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 10px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-arrow {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  pointer-events: none;
}

.select-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-group:has(input:focus) .select-arrow svg,
.form-group:has(select:focus) .select-arrow svg {
  stroke: var(--accent-cyan);
}

.input-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  transform: translateX(-50%);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.form-group:has(input:focus) .input-glow,
.form-group:has(select:focus) .input-glow {
  width: 100%;
}

/* Submit Button */
.submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  border: none;
  border-radius: 10px;
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-main);
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon svg {
  transform: translateX(5px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Trust Section */
.trust-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-gray);
  opacity: 0.6;
  transition: var(--transition-smooth);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-dark);
  background: var(--bg-light);
  transform: scale(1.1);
}

.trust-logo[data-brand="tesla"]:hover {
  color: #CC0000;
}

.trust-logo[data-brand="rivian"]:hover {
  color: #FF7900;
}

.trust-logo[data-brand="ford"]:hover {
  color: #003478;
}

.trust-logo[data-brand="lucid"]:hover {
  color: #1A1A1A;
}

/* ============ BOTTOM NAVIGATION ============ */
.bottom-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.25rem 2rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.nav-tab {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-tab:hover {
  color: var(--text-dark);
}

.nav-tab:hover::after {
  transform: scaleX(1);
}

.nav-tab.active {
  color: var(--primary-orange);
  font-weight: 600;
}

.nav-tab.active::after {
  transform: scaleX(1);
}

.tab-indicator {
  display: none;
}

/* ============ SUCCESS MODAL ============ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPop 0.5s ease 0.2s both;
}

@keyframes checkPop {
  from {
    transform: scale(0) rotate(-180deg);
  }

  to {
    transform: scale(1) rotate(0deg);
  }
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 3;
}

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.modal-close {
  padding: 0.85rem 2.5rem;
  background: var(--bg-dark);
  color: var(--text-white);
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ============ CURSOR GLOW ============ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .info-panel::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 45vh;
    min-height: 350px;
    padding: 1.5rem;
  }

  .logo-name {
    font-size: 1.1rem;
  }

  .title-line {
    font-size: 1.5rem;
  }

  .title-accent {
    font-size: 1rem;
  }

  .floating-badge {
    display: none;
  }

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

  .service-buttons {
    flex-direction: column;
  }

  .info-panel,
  .form-panel {
    padding: 1.5rem;
  }

  .bottom-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
    padding: 1rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .title-line {
    font-size: 1.3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .feature-item {
    padding: 1rem 0.5rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .nav-tab {
    font-size: 0.8rem;
  }
}

/* ============ SCROLL ANIMATIONS ============ */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

/* ============ LOADING ANIMATION ============ */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .hero {
    background: #1a1a2e !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .bottom-nav {
    display: none;
  }
}