:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --fg-primary: #f0f0f5;
  --fg-secondary: #9595a8;
  --fg-muted: #64647a;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --accent-dim: #00a885;
  --red: #ff4d5a;
  --border: #222233;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 212, 170, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 212, 170, 0.04), transparent);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

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

.lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Chat demo */
.hero-visual {
  width: 100%;
  max-width: 460px;
}

.chat-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.chat-dot.green { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.chat-status {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-msg {
  margin: 10px 18px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 82%;
  animation: fadeUp 0.3s ease both;
}

.chat-msg.incoming {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--fg-secondary);
}

.chat-msg.outgoing {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.06));
  border: 1px solid rgba(0, 212, 170, 0.18);
  color: var(--fg-primary);
  margin-left: auto;
}

.chat-msg.booked {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.08));
  border-color: rgba(0, 212, 170, 0.3);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === PROBLEM === */
.problem {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.problem-card p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.problem-card strong {
  color: var(--fg-primary);
}

/* === FEATURES === */
.features {
  padding: 100px 24px;
}

.features-inner {
  max-width: 960px;
  margin: 0 auto;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

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

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.2s;
}

.feature-block:hover {
  border-color: rgba(0, 212, 170, 0.25);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.feature-block h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-block p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* === NUMBERS === */
.numbers {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.numbers-inner {
  max-width: 960px;
  margin: 0 auto;
}

.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

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

.number-block {
  text-align: center;
  padding: 28px 16px;
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.number-label {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 212, 170, 0.06), transparent);
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px 40px;
  }
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* === QUOTE FORM SECTION === */
.quote-section {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.quote-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.quote-left .hero-badge {
  margin-bottom: 20px;
}

.quote-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.quote-lede {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.quote-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--fg-secondary);
}

.bullet-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.quote-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

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

.qform-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qform-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-secondary);
  letter-spacing: 0.02em;
}

.qform-field input,
.qform-field select,
.qform-field textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.qform-field input:focus,
.qform-field select:focus,
.qform-field textarea:focus {
  border-color: rgba(0, 212, 170, 0.4);
}

.qform-field select {
  cursor: pointer;
}

.qform-field textarea {
  resize: vertical;
  min-height: 80px;
}

.qform-submit {
  margin-top: 4px;
  padding: 14px 24px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.qform-submit:hover { opacity: 0.88; }
.qform-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.qform-fine {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
}

.quote-success {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius);
  padding: 48px 32px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.12);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}

.quote-success h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.quote-success p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
  max-width: 320px;
}

@media (max-width: 768px) {
  .quote-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .qform-row {
    grid-template-columns: 1fr;
  }
}

/* === CHATBOT WIDGET === */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 170, 0.45);
}

.chat-toggle-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.chat-toggle-icon {
  display: flex;
  align-items: center;
}

.chat-panel {
  width: 360px;
  max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-panel-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-panel-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.chat-panel-sub {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0 4px;
  min-height: 200px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.chat-messages .chat-msg {
  margin: 8px 14px;
}

.chat-booked {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 10px;
}

.booked-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.12);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin: 0 auto 8px;
}

.booked-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.booked-sub {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.5;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: rgba(0, 212, 170, 0.4);
}

.chat-input:disabled {
  opacity: 0.5;
}

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.chat-send:hover { opacity: 0.85; }

/* Typing dots */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px !important;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--fg-muted);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 32px);
    right: 0;
  }
  .chat-widget {
    right: 16px;
    bottom: 16px;
  }
  .chat-toggle-label {
    display: none;
  }
  .chat-toggle {
    padding: 14px;
  }
}