/* WebRental - Client Onboarding (Static) */
:root {
  --background: #121212;
  --foreground: #ffffff;
  --muted: #2e2e2e;
  --muted-foreground: #a6a6a6;
  --border: #333333;
  --primary: #f9cf30;      /* yellow */
  --primary-foreground: #121212;
  --section-dark: #121212;
  --section-darker: #0d0d0d;
  --section-light: #1f1f1f;
  --radius: 0.25rem;
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.35);
  --glow: 0 0 40px rgba(249, 207, 48, 0.4);
}

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

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* Layout */
.min-h-screen { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(18,18,18,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; }
.brand .lt { color: var(--primary); font-size: 2rem; }
.brand .web { font-size: 1.7rem; }
.brand .rental { color: var(--primary); font-size: 1.7rem; }
.brand .r { font-size: 0.75rem; vertical-align: super; }

.cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--primary); color: var(--primary-foreground);
  border-radius: 999px; font-weight: 600; font-size: 0.875rem;
  transition: opacity 0.2s;
}
.cta-btn:hover { opacity: 0.9; }
.cta-lg {
  padding: 1rem 2.5rem; font-size: 1.125rem; font-weight: 700;
  box-shadow: var(--glow);
}
.cta-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1.125rem; font-weight: 700; box-shadow: var(--glow); }

@media (min-width: 900px) {
  .site-header .wrap { padding: 1rem 4rem; }
}

/* Sections */
.section-dark { background: var(--section-dark); }
.section-darker { background: var(--section-darker); }

.hero {
  position: relative;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: 8rem 4rem 5rem; } }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.07;
  background-image:
    linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.hero-blob-a, .hero-blob-b {
  position: absolute; border-radius: 9999px; filter: blur(120px);
}
.hero-blob-a { top: -128px; left: -128px; width: 420px; height: 420px; background: rgba(249,207,48,0.2); }
.hero-blob-b { bottom: -160px; right: -80px; width: 360px; height: 360px; background: rgba(249,207,48,0.1); }

.hero-inner { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem; border-radius: 999px;
  border: 1px solid rgba(249,207,48,0.4);
  background: rgba(249,207,48,0.1);
  color: var(--primary);
  font-size: 0.75rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.25rem;
}
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.text-highlight { color: var(--primary); }
.muted { color: var(--muted-foreground); }
.hero p.lead { color: var(--muted-foreground); font-size: 1.05rem; margin-bottom: 2rem; }

.trial-card {
  background: var(--section-light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
@media (min-width: 700px) { .trial-card { padding: 2rem; } }
.trial-card .center { text-align: center; }
.trial-list {
  list-style: none;
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 600px) { .trial-list { grid-template-columns: 1fr 1fr; } }
.trial-list li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--muted-foreground);
}
.check {
  flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px;
  color: var(--primary);
}
.trial-after {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem; padding-top: 1.5rem;
  font-size: 0.9rem; color: var(--muted-foreground);
}
.trial-after p { margin-bottom: 0.5rem; }
.trial-after strong { color: var(--foreground); }

/* Form Section */
.form-section {
  padding: 4rem 1.5rem;
  background: var(--section-darker);
}
@media (min-width: 900px) { .form-section { padding: 6rem 4rem; } }
.form-wrap { max-width: 780px; margin: 0 auto; }
.form-intro { text-align: center; margin-bottom: 2.5rem; }
.form-intro p { color: var(--muted-foreground); }

.card {
  background: var(--section-light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
@media (min-width: 700px) { .card { padding: 2rem; } }
.card .sub { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
label.lbl { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.input, .textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  transition: border-color 0.2s;
  font-size: 0.95rem;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--primary); }
.input::placeholder, .textarea::placeholder { color: var(--muted-foreground); }
.textarea { resize: none; }

/* File uploads */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem;
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: rgba(249,207,48,0.05); }
.dropzone svg { color: var(--primary); }
.dropzone .primary-text { font-weight: 500; font-size: 0.9rem; }
.dropzone .hint { color: var(--muted-foreground); font-size: 0.75rem; }
.dropzone input[type=file] { position: absolute; opacity: 0; pointer-events: none; }

.logo-selected { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.logo-selected .remove {
  color: var(--muted-foreground); border: none; background: none; cursor: pointer;
}
.logo-selected .remove:hover { color: var(--foreground); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (min-width: 600px) { .preview-grid { grid-template-columns: repeat(4, 1fr); } }
.thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .remove-thumb {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(0,0,0,0.7); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.thumb .remove-thumb:hover { background: #000; }

/* Disclaimer */
.disclaimer { display: flex; gap: 0.75rem; align-items: flex-start; }
.disclaimer svg { color: var(--primary); flex: 0 0 auto; margin-top: 2px; }
.disclaimer p { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* Feedback banner */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-error { border-color: #ef4444; background: rgba(239,68,68,0.1); color: #fecaca; }
.alert-ok { border-color: var(--primary); background: rgba(249,207,48,0.1); color: var(--primary); }

/* Footer */
.site-footer {
  padding: 4rem 1.5rem;
  background: var(--section-darker);
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) { .site-footer { padding: 4rem 4rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h5 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer a, .site-footer .row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.75rem; transition: color 0.2s; }
.site-footer a:hover { color: var(--primary); }
.site-footer .location { align-items: flex-start; }
.site-footer .location svg { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  justify-content: space-between; align-items: center;
  color: var(--muted-foreground); font-size: 0.75rem;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; } }

/* Success page */
.success-wrap {
  min-height: calc(100vh - 5rem);
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem;
  text-align: center;
}
.success-wrap .success-inner { max-width: 640px; }
.check-badge {
  display: inline-flex; width: 5rem; height: 5rem; border-radius: 9999px;
  align-items: center; justify-content: center;
  background: rgba(249,207,48,0.15);
  color: var(--primary);
  margin-bottom: 2rem;
}
.check-badge svg { width: 2.5rem; height: 2.5rem; }
.success-wrap p { color: var(--muted-foreground); margin-bottom: 1rem; font-size: 1.05rem; }

/* Utility */
.hidden { display: none !important; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(18,18,18,0.3);
  border-top-color: var(--primary-foreground);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: -4px;
  margin-right: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
