/*
Theme Name: ChargePointSA
Theme URI: https://chargepointsa.co.za
Author: ChargePointSA Team
Author URI: https://chargepointsa.co.za
Description: Custom WordPress theme for ChargePointSA - South Africa's EV charging experts. Modern, fast, SEO-optimized theme built for EV charging solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chargepointsa
Tags: custom, modern, ev-charging, clean, minimal

ChargePointSA is a custom WordPress theme designed for an EV charging solutions company.
*/

/* Base Reset and Variables - NIO-Inspired Premium Design */
:root {
  --primary-red: #dc2626;
  --primary-red-dark: #b91c1c;
  --primary-red-light: #ef4444;
  --grey-dark: #171717;
  --grey-medium: #525252;
  --grey-light: #e5e5e5;
  --grey-ultralight: #fafafa;
  --white: #ffffff;
  --text-dark: #171717;
  --text-light: #737373;
  --gradient-red: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  background-image: url('assets/images/background-pattern.svg');
  background-size: 200px 200px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Typography - NIO-Inspired Elegant & Light */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 2rem;
  font-weight: 400;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.8;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red-dark);
}

/* Container and Layout - More Spacious */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 8rem 0;
}

/* Buttons - Clean & Minimal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--grey-light);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--grey-ultralight);
  border-color: var(--grey-medium);
}

.btn-grey {
  background: var(--text-dark);
  color: white;
}

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

/* Cards - Ultra Clean */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-light);
}

/* Grid System - More Spacious */
.grid {
  display: grid;
  gap: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-grey-light {
  background: var(--grey-ultralight);
}

.bg-grey-dark {
  background: var(--grey-dark);
  color: white;
}

.text-red {
  color: var(--primary-red);
}

.text-grey {
  color: var(--grey-medium);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 968px) {
  .container {
    padding: 0 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .grid {
    gap: 2rem;
  }
  
  .btn {
    padding: 1rem 2rem;
  }
}

/* Animations - Smooth & Elegant */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.lazy-load {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load.loaded {
  opacity: 1;
}

/* Visual Hierarchy Enhancements */
.section-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-section .hero-title strong,
.section-title strong {
  font-weight: 500;
  color: var(--primary-red);
}

/* Enhanced Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

/* Better Image Presentation */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Enhanced Selection */
::selection {
  background: var(--primary-red);
  color: white;
}

::-moz-selection {
  background: var(--primary-red);
  color: white;
}

/* Divider Elements */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary-red);
  margin: 2rem auto;
  border-radius: 2px;
}

/* Premium Badge Style */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--grey-ultralight);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.badge-red {
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary-red);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--grey-ultralight);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-light);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-medium);
}

/* ================================
   EV Calculator Styles
   ================================ */

.ev-calculator-page {
  padding: 4rem 0;
  background: var(--grey-ultralight);
}

.calculator-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.calculator-header h1 {
  color: var(--grey-dark);
  margin-bottom: 0.5rem;
}

.calculator-header p {
  font-size: 1.25rem;
  color: var(--text-light);
}

.calculator-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.calculator-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--grey-light);
}

.calculator-section:last-of-type {
  border-bottom: none;
}

.calculator-section h2 {
  font-size: 1.75rem;
  color: var(--grey-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--grey-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grey-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control:hover {
  border-color: var(--grey-medium);
}

.form-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.calculator-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--grey-light);
  color: var(--grey-dark);
}

.btn-secondary:hover {
  background: var(--grey-medium);
  color: var(--white);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

/* Results Section */
.results-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 3px solid var(--primary-red);
}

.results-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--grey-dark);
}
/* URL Import Feature */
.url-import-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 2px dashed #3b82f6;
}

.url-import-section h2 {
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.url-import-section .help-text {
  color: #475569;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.url-import-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.url-import-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.url-import-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--grey-dark);
}

.url-import-box input[type="url"] {
  width: 100%;
  margin-bottom: 0.75rem;
}

.url-import-box button {
  width: 100%;
}

.import-status {
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  min-height: 24px;
}

.import-status.loading {
  background: #fef3c7;
  color: #92400e;
}

.import-status.success {
  background: #d1fae5;
  color: #065f46;
}

.import-status.error {
  background: #fee2e2;
  color: #991b1b;
}

.imported-vehicle-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--grey-ultralight);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.imported-vehicle-preview img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.imported-vehicle-preview span {
  font-weight: 600;
  color: var(--grey-dark);
  font-size: 0.9rem;
}

.divider {
  text-align: center;
  margin: 2rem 0 0 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #cbd5e1;
}

.divider span {
  position: relative;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 0 1rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .url-import-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .url-import-section {
    padding: 1.5rem;
  }
}

/* Switch Score Meter */
.switch-score-container {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.switch-score-container h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--grey-dark);
}

.switch-meter {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.meter-gauge {
  position: relative;
  height: 60px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 30%, #eab308 60%, #22c55e 100%);
  border-radius: 30px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.4);
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--grey-dark);
}

.meter-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
}

.meter-score {
  margin: 1.5rem 0;
}

.score-value {
  font-size: 5rem;
  font-weight: 800;
  color: var(--grey-dark);
  line-height: 1;
}

.score-label {
  font-size: 2rem;
  color: var(--text-light);
  font-weight: 600;
}

.switch-recommendation {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.recommendation-text {
  font-size: 1.5rem;
  font-weight: 700;
/* Vehicle Image in Results */
.vehicle-image-header {
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
}

.result-vehicle-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

  color: var(--grey-dark);
  margin-bottom: 1.5rem;
}

.recommendation-reasons {
  list-style: none;
  padding: 0;
}

.recommendation-reasons li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-ultralight);
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.recommendation-reasons li:last-child {
  border-bottom: none;
}

.recommendation-reasons li::before {
  content: "✓";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  margin-right: 1rem;
  flex-shrink: 0;
  font-weight: bold;
}

.recommendation-reasons li.negative::before {
  content: "✗";
  background: #ef4444;
}


.results-grid {
/* Comparison Table */
.comparison-table-container {
  margin: 3rem 0;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.comparison-table-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--grey-dark);
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.comparison-table thead {
  background: var(--grey-dark);
  color: var(--white);
}

.comparison-table th {
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table th.ev-col {
  background: #22c55e;
}

.comparison-table th.ice-col {
  background: #ef4444;
}

.comparison-table th.winner-col {
  background: #f59e0b;
  text-align: center;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--grey-light);
}

.comparison-table tbody tr:hover {
  background: var(--grey-ultralight);
}

.comparison-table td.ev-col,
.comparison-table td.ice-col {
  font-weight: 600;
  color: var(--grey-dark);
}

.comparison-table td.winner-col {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table tr.total-row {
  background: var(--grey-ultralight);
  font-size: 1.1rem;
}

.comparison-table tr.total-row td {
  padding: 1.5rem 1rem;
  border-top: 3px solid var(--grey-dark);
  border-bottom: 3px solid var(--grey-dark);
}

@media (max-width: 768px) {
  .comparison-table-container {
    padding: 1.5rem;
  }
  
  .comparison-table table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
}

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.results-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.results-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ev-results {
  border-top-color: #22c55e;
}

.petrol-results {
  border-top-color: #ef4444;
}

.results-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--grey-dark);
  text-align: center;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-ultralight);
}

.result-item:last-child {
  border-bottom: none;
}

.result-item .label {
  color: var(--text-light);
  font-weight: 500;
}

.result-item .value {
  color: var(--grey-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.result-item.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--grey-dark);
  font-size: 1.1rem;
}

.result-item.total .value {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.result-item.highlight {
  background: var(--grey-ultralight);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Savings Summary */
.savings-summary {
  margin-bottom: 3rem;
}

.savings-card {
  background: var(--gradient-red);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.savings-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.savings-amount {
  margin-bottom: 2rem;
}

.savings-value {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.savings-value.positive {
  color: #22c55e;
}

.savings-value.negative {
  color: #fbbf24;
}

.savings-label {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 500;
}

.savings-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.savings-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.savings-item .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.savings-item .value {
  font-size: 1.5rem;
  font-weight: 700;
}

.environmental-impact {
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.environmental-impact h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.impact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.impact-item .label {
  font-size: 1.1rem;
}

.impact-item .value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Chart Container */
.chart-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  height: 400px;
}

/* Calculator Info Section */
.calculator-info {
  margin-top: 4rem;
}

.calculator-info h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--grey-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 4px solid var(--primary-red);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--grey-dark);
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .calculator-container {
    padding: 2rem 1.5rem;
  }

  .calculator-header h1 {
    font-size: 2rem;
  }

  .calculator-header p {
    font-size: 1rem;
  }

  .calculator-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .savings-value {
    font-size: 3rem;
  }

  .savings-details {
    grid-template-columns: 1fr;
  }

  .chart-container {
    height: 300px;
    padding: 1rem;
  }

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

@media (max-width: 480px) {
  .ev-calculator-page {
    padding: 2rem 0;
  }

  .calculator-container {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .savings-card {
    padding: 2rem 1.5rem;
  }

  .savings-value {
    font-size: 2.5rem;
  }
}

/* ================================
   PREMIUM ENHANCEMENTS - NIO-Inspired
   ================================ */

/* Glass Morphism Effect for Special Elements */
.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Premium Stat Counter */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Quote/Callout */
.callout {
  background: var(--grey-ultralight);
  border-left: 4px solid var(--primary-red);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.callout p {
  margin-bottom: 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Premium List Styling */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Enhanced Content Width for Readability */
.content-narrow {
  max-width: 680px;
  margin: 0 auto;
}

.content-wide {
  max-width: 1400px;
  margin: 0 auto;
}

/* Premium Price Display */
.price-display {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-display .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-display .period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Testimonial/Review Styling */
.testimonial {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  border: 1px solid transparent;
  transition: var(--transition);
}

.testimonial:hover {
  border-color: var(--grey-light);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--grey-ultralight) 0%,
    var(--grey-light) 50%,
    var(--grey-ultralight) 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Status Indicators */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-warning {
  background: rgba(251, 191, 36, 0.1);
  color: #d97706;
}

.status-error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}