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

:root {
  --black: #020617;
  --white: #ffffff;
  --yellow: #f97316;
  --yellow-dark: #ea580c;
  --yellow-light: #fff7ed;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --navy-900: #020617;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --navy-600: #334155;
  --red: #E53935;
  --green: #00A550;
  --radius: 4px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Kanit', sans-serif;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.topbar span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--black);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f3b5d;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--yellow); }
.nav-cta {
  background: var(--yellow);
  color: var(--black);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 80px 5% 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--yellow);
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-title .highlight {
  color: var(--yellow);
  display: block;
}

.hero-subtitle {
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--gray-400);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 400;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  background: #333;
  align-self: stretch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 36px;
  border: 1px solid #395271; border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: #6e88a8; background: rgba(255,255,255,0.05); }

/* ── HERO RIGHT - FORM ── */
.hero-right {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-left: 1px solid #23486f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 6% 60px 6%;
  position: relative;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(249, 115, 22, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

.form-card {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
}
.form-card-header {
  margin-bottom: 32px;
}
.form-card-header h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.form-card-header h2 span { color: var(--yellow); }
.form-card-header p {
  font-size: 14px;
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-group label .req { color: var(--yellow); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #122d4f;
  border: 1px solid #365b85;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Inter', 'Kanit', sans-serif;
  font-size: 15px;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  outline: none;
}
.form-group input::placeholder,
.form-group select option { color: #8ba1bf; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: #1a3f6d;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  padding: 16px;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.2);
}
.form-submit svg { width: 20px; height: 20px; }

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
}
.trust-icon {
  width: 16px; height: 16px;
  fill: var(--green);
  flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.section { padding: 100px 8%; }
.section-dark {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}
.section-black { background: var(--black); }

.section-label {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-title span { color: var(--yellow); }
.section-desc {
  font-size: 17px;
  color: #d3e0f1;
  max-width: 560px;
  line-height: 1.78;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3d6695, #3d6695, transparent);
}

.step-item {
  padding: 0 24px;
  position: relative;
  text-align: center;
}
.step-num {
  width: 80px; height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--black);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}
.step-time {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.step-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── WHY US ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #234f7b;
  margin-top: 64px;
  border: 1px solid #234f7b;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-item {
  background: #0c2240;
  padding: 40px 32px;
  transition: background 0.2s;
}
.feature-item:hover { background: #123058; }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--yellow); fill: none; stroke-width: 2; }
.feature-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.feature-desc {
  font-size: 15px;
  color: #ccdbee;
  line-height: 1.75;
}

/* ── PRICE PROMISE ── */
.price-section {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.price-left h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 54px);
  color: var(--black);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.price-left p {
  font-size: 17px;
  color: #1f2b3b;
  line-height: 1.7;
  margin-bottom: 32px;
}
.price-left .btn-black {
  background: var(--black);
  color: var(--white);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.price-left .btn-black:hover { background: #1a1a1a; transform: translateY(-2px); }
.price-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card {
  background: rgba(8,22,43,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.price-card-icon {
  width: 44px; height: 44px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.price-card-icon svg { width: 20px; height: 20px; stroke: var(--yellow); fill: none; stroke-width: 2; }
.price-card-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 2px;
}
.price-card-desc { font-size: 13px; color: #444; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.review-card {
  background: #0c2240;
  border: 1px solid #28527f;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover { border-color: #3f73a8; transform: translateY(-4px); }
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star {
  width: 16px; height: 16px;
  fill: var(--yellow);
}
.review-text {
  font-size: 15px;
  color: #d2deee;
  line-height: 1.78;
  margin-bottom: 20px;
}
.review-text strong { color: var(--white); }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #223d5f;
  padding-top: 16px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--black);
  flex-shrink: 0;
}
.review-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.review-meta {
  font-size: 12px;
  color: #b7cae1;
  margin-top: 2px;
}
.review-tag {
  margin-left: auto;
  background: rgba(0,165,80,0.12);
  border: 1px solid rgba(0,165,80,0.25);
  color: #4caf50;
  font-size: 11px;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--yellow);
  padding: 16px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ticker-dot {
  width: 5px; height: 5px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}

/* ── CAR TYPES ── */
.car-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.car-type-card {
  background: #0c2240;
  border: 1px solid #28527f;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.car-type-card:hover {
  border-color: var(--yellow);
  background: #14345d;
  transform: translateY(-4px);
}
.car-type-icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}
.car-type-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}
.car-type-desc {
  font-size: 13px;
  color: #c4d6ec;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid #2a537f;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--yellow); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid #355477;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--gray-400);
  transition: all 0.2s;
}
.faq-item.open .faq-icon {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 0 20px;
  font-size: 15px;
  color: #cfddef;
  line-height: 1.78;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(180deg, #0c2240 0%, #08162b 100%);
  border-top: 1px solid #2a537f;
  padding: 100px 8%;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 20px;
}
.cta-section h2 span { color: var(--yellow); }
.cta-section p {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 40px;
}
.cta-phone {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--yellow);
  letter-spacing: -0.02em;
  display: block;
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}
.cta-phone:hover { opacity: 0.8; }

/* ── FOOTER ── */
footer {
  background: #071325;
  border-top: 1px solid #24496f;
  padding: 48px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--yellow); }
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: #c5d6eb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: #9fb4cf; }

/* ── FLOATING CTA ── */
.float-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 200;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-bounce 3s ease-in-out infinite;
}
.float-cta:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px rgba(249, 115, 22, 0.28); }
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-cta svg { width: 18px; height: 18px; fill: var(--black); }

/* ── TOAST ── */
.toast {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #133258;
  border: 1px solid var(--yellow);
  color: var(--white);
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.toast.is-visible { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 6%; }
  .hero-right { border-left: none; border-top: 1px solid #222; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .price-section { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .car-types { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .section { padding: 60px 6%; }
  nav { padding: 0 4%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .float-cta { bottom: 20px; right: 20px; font-size: 14px; padding: 12px 18px; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .car-types { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}
