:root {
    --green: #00ff41;
    --green-dark: #00cc33;
    --green-glow: rgba(0, 255, 65, 0.3);
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-nav: rgba(10, 10, 10, 0.95);
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --text-muted: #666666;
    --border-green: #00ff41;
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;
    --font-display: 'Orbitron', sans-serif;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-mono);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
  }

  .nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green);
    text-decoration: none;
    letter-spacing: 2px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--green);
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .btn-light-mode {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    padding: 8px 18px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s;
  }

  .btn-light-mode:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  .btn-heart {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
  }

  .btn-heart:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px 80px;
    background: radial-gradient(ellipse at 30% 50%, #1a1a2e 0%, #0a0a0a 70%);
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
      radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.6), transparent),
      radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.7), transparent),
      radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent),
      radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.6), transparent),
      radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,0.5), transparent),
      radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.7), transparent),
      radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.6), transparent),
      radial-gradient(1.5px 1.5px at 5% 50%, rgba(0,255,65,0.4), transparent),
      radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.5), transparent),
      radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 35% 95%, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 75% 5%, rgba(255,255,255,0.5), transparent);
    pointer-events: none;
    z-index: 0;
  }

  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 55%;
  }

  .hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-white);
  }

  .hero-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    letter-spacing: 2px;
  }

  .hero-image {
    position: relative;
    z-index: 1;
    max-width: 45%;
  }

  .hero-image img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.15));
  }

  /* BEST SELLERS */
  .best-sellers {
    padding: 80px 40px;
    background: var(--bg-dark);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 50px;
    letter-spacing: 2px;
  }

  .cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .car-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 20px;
    clip-path: polygon(
      0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px,
      100% calc(100% - 10px), calc(100% - 10px) 100%,
      10px 100%, 0 calc(100% - 10px)
    );
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--green-glow);
  }

  .car-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    clip-path: polygon(
      0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px,
      100% calc(100% - 8px), calc(100% - 8px) 100%,
      8px 100%, 0 calc(100% - 8px)
    );
  }

  .car-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 8px;
  }

  .car-card .description {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .car-card .price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 15px;
  }

  .car-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn-view-details {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
  }

  .btn-view-details:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  .btn-row {
    display: flex;
    gap: 10px;
  }

  .btn-icon {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    flex-shrink: 0;
  }

  .btn-icon:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  .btn-buy {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    flex: 1;
  }

  .btn-buy:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  .btn-view-all {
    display: block;
    margin: 40px auto 0;
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    padding: 12px 30px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
  }

  .btn-view-all:hover {
    background: var(--text-white);
    box-shadow: 0 0 15px var(--green-glow);
  }

  /* CONTACT */
  .contact {
    padding: 80px 40px;
    background: var(--bg-dark);
  }

  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-info-card {
    background: var(--green);
    color: var(--bg-dark);
    padding: 40px 30px;
    clip-path: polygon(
      0 15px, 15px 0, calc(100% - 15px) 0, 100% 15px,
      100% calc(100% - 15px), calc(100% - 15px) 100%,
      15px 100%, 0 calc(100% - 15px)
    );
  }

  .contact-info-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .contact-info-item .icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
  }

  .contact-form-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 30px;
    text-align: center;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--text-muted);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-bottom-color: var(--green);
  }

  .contact-form textarea {
    resize: vertical;
    min-height: 80px;
  }

  .btn-submit {
    background: var(--green);
    color: var(--bg-dark);
    border: none;
    padding: 14px 40px;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s;
    margin-top: 10px;
    align-self: flex-start;
  }

  .btn-submit:hover {
    background: var(--text-white);
    box-shadow: 0 0 20px var(--green-glow);
  }

  /* FOOTER */
  footer {
    background: #050505;
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(0, 255, 65, 0.1);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
  }

  .footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 15px;
    letter-spacing: 2px;
  }

  .footer-brand p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
  }

  .footer-links ul {
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
  }

  .footer-links a:hover {
    color: var(--green);
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
  }

  .footer-contact-item .icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--green);
  }

  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
  }

  /* SCROLL ANIMATIONS */
  .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-up-delay-1 { transition-delay: 0.1s; }
  .fade-up-delay-2 { transition-delay: 0.2s; }
  .fade-up-delay-3 { transition-delay: 0.3s; }

  /* LIGHT MODE */
  body.light-mode {
    --bg-dark: #f0f0f0;
    --bg-card: #ffffff;
    --bg-nav: rgba(240, 240, 240, 0.95);
    --text-white: #111111;
    --text-gray: #444444;
    --text-muted: #888888;
  }

  body.light-mode .hero {
    background: radial-gradient(ellipse at 30% 50%, #e0e8f0 0%, #f0f0f0 70%);
  }

  body.light-mode .hero::before {
    background-image:
      radial-gradient(1px 1px at 10% 20%, rgba(0,0,0,0.15), transparent),
      radial-gradient(1px 1px at 30% 60%, rgba(0,0,0,0.1), transparent),
      radial-gradient(1px 1px at 50% 10%, rgba(0,0,0,0.12), transparent),
      radial-gradient(1px 1px at 70% 40%, rgba(0,0,0,0.08), transparent),
      radial-gradient(1px 1px at 90% 80%, rgba(0,0,0,0.1), transparent),
      radial-gradient(1px 1px at 15% 85%, rgba(0,0,0,0.06), transparent),
      radial-gradient(1px 1px at 45% 75%, rgba(0,0,0,0.08), transparent),
      radial-gradient(1px 1px at 80% 15%, rgba(0,0,0,0.12), transparent),
      radial-gradient(1px 1px at 60% 90%, rgba(0,0,0,0.05), transparent),
      radial-gradient(1px 1px at 25% 35%, rgba(0,0,0,0.1), transparent);
  }

  body.light-mode .car-card {
    border-color: rgba(0, 204, 51, 0.3);
  }

  body.light-mode footer {
    background: #e8e8e8;
  }

  body.light-mode .contact-form input,
  body.light-mode .contact-form textarea {
    color: #111111;
    border-bottom-color: rgba(0, 0, 0, 0.2);
  }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 120px 30px 60px;
    }

    .hero-content {
      max-width: 100%;
      margin-bottom: 40px;
    }

    .hero-content h1 {
      font-size: 2.8rem;
    }

    .hero-image {
      max-width: 80%;
    }

    .cars-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 768px) {
    nav {
      padding: 12px 20px;
    }

    .nav-links {
      display: none;
    }

    .hero-content h1 {
      font-size: 2rem;
    }

    .hero {
      padding: 100px 20px 40px;
    }

    .cars-grid {
      grid-template-columns: 1fr;
    }

    .best-sellers,
    .contact {
      padding: 60px 20px;
    }

    .form-row {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr;
    }

    .section-title {
      font-size: 1.5rem;
    }
  }