/* ============================================
   REHAN AUTOMOTIVE - Premium Dark Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* --- CSS Variables --- */
:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --dark-4: #2a2a2a;
  --grey: #888888;
  --light-grey: #cccccc;
  --white: #ffffff;
  --red: #e63946;
  --red-dark: #c1121f;
  --red-glow: rgba(230, 57, 70, 0.15);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max-width: 1340px;
  --header-height: 100px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--near-black);
  color: var(--light-grey);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--grey);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--dark-4);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 80px;
  width: auto;
}

.footer .logo {
  height: 90px;
}

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

.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--light-grey);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav a:hover { color: var(--white); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--white); }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 5px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, var(--red-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
  color: var(--red);
}

.hero-desc {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-3);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}
.hero-stat p {
  font-size: 12px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-car-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--dark);
  border-radius: 16px;
  border: 1px solid var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-car-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.hero-car-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-car-inner svg {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.hero-car-inner p {
  font-size: 14px;
  color: var(--dark-4);
  font-weight: 500;
}

/* --- Floating badge on hero --- */
.hero-float-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  padding: 16px 20px;
  border-radius: 12px;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}
.hero-float-badge h4 {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}
.hero-float-badge p {
  font-size: 11px;
  color: var(--grey);
  margin-top: 2px;
}

/* --- Why Us Section --- */
.why-us {
  padding: 100px 0;
  background: var(--black);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-4), transparent);
}

.why-us-header {
  text-align: center;
  margin-bottom: 64px;
}
.why-us-header .section-subtitle {
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--dark-4);
  transform: translateY(-4px);
}
.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--red-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* --- Stock Section --- */
.stock-section {
  padding: 100px 0;
  background: var(--near-black);
}

.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.stock-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 6px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--red);
  color: var(--white);
  background: var(--red-glow);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.car-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.car-card:hover {
  border-color: var(--dark-4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.car-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.car-card-img .car-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

.car-card-body {
  padding: 24px;
}

.car-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.car-card-body .car-variant {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
}

.car-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.car-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey);
}

.car-spec svg {
  width: 14px;
  height: 14px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--dark-3);
}

.car-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}

.car-card-footer .btn {
  padding: 8px 18px;
  font-size: 12px;
}

/* No stock placeholder */
.no-stock-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
}
.no-stock-msg h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.no-stock-msg p {
  color: var(--grey);
  margin-bottom: 24px;
}

/* --- About Section --- */
.about-section {
  padding: 100px 0;
  background: var(--black);
  position: relative;
}

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

.about-visual {
  position: relative;
}

.about-img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark);
  border-radius: 16px;
  border: 1px solid var(--dark-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-wrapper .about-logo {
  width: 320px;
  opacity: 0.8;
}

.about-content .section-subtitle {
  margin-bottom: 24px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature .check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--red-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-feature .check svg {
  width: 14px;
  height: 14px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
}

.about-feature p {
  font-size: 15px;
  color: var(--light-grey);
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: var(--near-black);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--dark-3), var(--red), var(--dark-3));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--dark-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  transition: var(--transition);
}

.step-card:hover .step-number {
  border-color: var(--red);
  background: var(--red-glow);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* --- Sell Your Car Section --- */
.sell-section {
  padding: 100px 0;
  background: var(--black);
}

.sell-banner {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 20px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.sell-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--red-glow);
  filter: blur(100px);
  pointer-events: none;
}

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

.sell-form {
  position: relative;
  z-index: 1;
}

.sell-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
  background: var(--near-black);
}

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

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

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--dark-4);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--red-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.contact-card p {
  font-size: 13px;
  color: var(--grey);
}
.contact-card a {
  color: var(--light-grey);
}
.contact-card a:hover {
  color: var(--red);
}

.contact-form-wrapper {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--dark-3);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  height: 72px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--red);
  background: var(--red-glow);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--grey);
}
.footer-social a:hover svg {
  fill: var(--red);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--grey);
  padding: 6px 0;
}
.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--dark-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--dark-4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--dark-4);
}
.footer-bottom-links a:hover {
  color: var(--grey);
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

/* --- AutoTrader link banner --- */
.autotrader-banner {
  padding: 60px 0;
  background: var(--dark);
  text-align: center;
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
}

.autotrader-banner p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 20px;
}

.autotrader-banner .btn {
  font-size: 13px;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Intersection observer animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page: Stock --- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--black);
  text-align: center;
}

.stock-search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.stock-search-bar select,
.stock-search-bar input {
  padding: 12px 18px;
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  min-width: 180px;
  outline: none;
  transition: var(--transition);
}
.stock-search-bar select:focus,
.stock-search-bar input:focus {
  border-color: var(--red);
}

.stock-count {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  color: var(--grey);
}
.stock-count span {
  color: var(--white);
  font-weight: 600;
}

/* --- Page: About --- */
.about-page-content {
  padding: 80px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.75;
}

/* --- Page: Contact --- */
.contact-page {
  padding: 80px 0;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
}
.mobile-nav a:hover {
  color: var(--red);
}
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav-close svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* --- Success message --- */
.form-success {
  display: none;
  padding: 16px;
  background: rgba(0, 180, 80, 0.1);
  border: 1px solid rgba(0, 180, 80, 0.3);
  border-radius: 8px;
  color: #4ade80;
  font-size: 14px;
  text-align: center;
}
.form-success.show {
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .sell-banner { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .hero-stat h3 { font-size: 24px; }
  
  .why-grid { grid-template-columns: 1fr; }
  .stock-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .stock-header { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  
  .sell-banner { padding: 32px 24px; }
  .contact-form-wrapper { padding: 24px; }
  
  .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stock-search-bar select,
  .stock-search-bar input { min-width: 100%; }
}
