/* 77 EV Mall - Responsive Website */

:root {
  --bg: #0a1628;
  --bg-alt: #0f1f38;
  --bg-card: #132743;
  --surface: #ffffff;
  --text: #e8eef7;
  --text-muted: #8fa3bf;
  --primary: #0066cc;
  --primary-light: #1a7fe6;
  --accent: #00c896;
  --accent-dim: rgba(0, 200, 150, 0.15);
  --warning: #ffb020;
  --occupied: #00c896;
  --recruiting: #4da3ff;
  --negotiating: #ffb020;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.logo-text { letter-spacing: 0.02em; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav-desktop a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--primary-light); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-mobile a:last-child {
  color: var(--primary-light);
  font-weight: 600;
  border: none;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 102, 204, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 200, 150, 0.12), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 200, 150, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, #4da3ff, #00c896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  max-width: 480px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1.2;
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

@media (min-width: 480px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 12px;
}

.section-head p { color: var(--text-muted); font-size: 0.95rem; }

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: 0.25s;
}

.feature-card:hover {
  border-color: rgba(0, 102, 204, 0.4);
  transform: translateY(-3px);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); }

.warehouse-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .warehouse-grid { grid-template-columns: repeat(2, 1fr); }
}

.warehouse-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}

.warehouse-card-us { border-color: rgba(0, 102, 204, 0.35); }
.warehouse-flag { font-size: 2rem; margin-bottom: 12px; }
.warehouse-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.warehouse-loc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.warehouse-card ul { font-size: 0.88rem; color: var(--text-muted); }
.warehouse-card li { padding: 6px 0; padding-left: 18px; position: relative; }
.warehouse-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-size: 0.75rem; }

.warehouse-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
}

.featured-brand {
  display: grid;
  gap: 24px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 102, 204, 0.15) 100%);
  border: 1px solid rgba(0, 102, 204, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .featured-brand { grid-template-columns: 200px 1fr; align-items: center; }
}

.featured-brand-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  min-height: 160px;
}

.featured-brand-logo {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.featured-slot { margin-top: 10px; font-size: 0.78rem; color: var(--accent); font-weight: 600; }
.brand-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}

.featured-brand-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.featured-brand-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }

.featured-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.featured-meta span {
  font-size: 0.78rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--text-muted);
}

.slots-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legend-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-recruiting { background: var(--recruiting); }
.dot-occupied { background: var(--occupied); }
.dot-negotiating { background: var(--negotiating); }

.market-block { margin-bottom: 36px; }

.market-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.market-header h3 { font-size: 1.1rem; }
.market-header p { font-size: 0.82rem; color: var(--text-muted); }

.slots-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .slots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .slots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .slots-grid { grid-template-columns: repeat(4, 1fr); } }

.slot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: 0.2s;
}

.slot-card:hover { border-color: rgba(255, 255, 255, 0.15); }

.slot-card.occupied {
  border-color: rgba(0, 200, 150, 0.4);
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 200, 150, 0.06));
}

.slot-id { font-size: 0.72rem; color: var(--text-muted); font-family: "DM Sans", monospace; margin-bottom: 4px; }
.slot-category { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.slot-examples { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }

.slot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.slot-mode { font-size: 0.72rem; color: var(--text-muted); }

.slot-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.slot-status.recruiting { background: rgba(77, 163, 255, 0.15); color: var(--recruiting); }
.slot-status.occupied { background: var(--accent-dim); color: var(--occupied); }
.slot-status.negotiating { background: rgba(255, 176, 32, 0.15); color: var(--negotiating); }

.slot-brand {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1.2fr 1fr; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.pricing-main { border-color: rgba(0, 102, 204, 0.4); }
.pricing-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--text-muted); }

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.price small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

.pricing-card ul li {
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child { border: none; }
.pricing-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

.fee-list li { display: flex; justify-content: space-between; align-items: center; }
.fee-list strong { color: var(--text); font-size: 0.88rem; }
.pricing-note { margin-top: 16px; font-size: 0.78rem; color: var(--text-muted); }

.expo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(0, 102, 204, 0.2), rgba(0, 200, 150, 0.1));
  border: 1px solid rgba(0, 102, 204, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.expo-banner p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.section-contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

.contact-info h2 { font-size: 1.75rem; margin: 10px 0 12px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item a { color: var(--primary-light); font-weight: 600; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.82rem; margin-bottom: 6px; color: var(--text-muted); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row select option { background: var(--bg-card); }

.form-tip { margin-top: 12px; font-size: 0.85rem; text-align: center; min-height: 1.2em; }
.form-tip.success { color: var(--accent); }
.form-tip.error { color: #ff6b6b; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-brand .logo-badge { width: 32px; height: 32px; font-size: 0.75rem; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
  .footer-brand { align-items: flex-start; }
  .footer-copy { width: 100%; text-align: center; margin-top: 8px; }
}
