/* Theme - Dark Modern */
:root {
  --brand: #3b82f6;
  --brand-600: #2563eb;
  --brand-light: #60a5fa;
  --bg: #0a0a0f;
  --bg-elevated: #13131a;
  --surface: #1a1a24;
  --text: #e8e9f0;
  --text-secondary: #9ca3af;
  --muted: #6b7280;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --success: #10b981;
  --danger: #ef4444;
  --border: #2a2a35;
  --shadow: rgba(0,0,0,0.3);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(59,130,246,0.1) 0%, rgba(29,78,216,0.05) 100%);
}

* { 
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.brand-name {
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover { 
  color: var(--text);
  background: var(--surface);
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 200%;
  background: var(--gradient-subtle);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

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

.hero-compact {
  padding: 80px 0 60px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 auto 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.button:hover { 
  transform: translateY(-1px); 
  border-color: var(--brand);
  background: var(--bg-elevated);
}

.button:active { 
  transform: translateY(0); 
}

.button-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.button-primary:hover { 
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 48px 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section > p {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.2s;
}

.step:hover {
  border-color: var(--brand);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.step p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Feature Lists */
.feature-list, .bullet-list {
  padding-left: 0;
  margin: 24px auto;
  list-style: none;
  max-width: 600px;
  text-align: left;
}

.feature-list li, .bullet-list li { 
  margin-bottom: 16px;
  padding-left: 32px;
  position: relative;
}

.feature-list li::before, .bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--brand);
}

.card h3 {
  font-size: 20px;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Feature Rows */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.feature-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.feature-row:hover {
  border-left-color: var(--brand);
  background: var(--bg-elevated);
}

.feature-row .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-row .icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.feature-row h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.feature-row p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.quote-text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: var(--text-secondary);
}

.quote-author {
  font-weight: 600;
  color: var(--text);
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.faq details:hover {
  border-color: var(--brand);
}

.faq details[open] {
  border-color: var(--brand);
  background: var(--bg-elevated);
}

.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 16px 0 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: var(--gradient-subtle);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.cta-content .button {
  font-size: 18px;
  padding: 16px 40px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* Prefill Form */
.prefill-form {
  margin: 32px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.prefill-form > .form-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.prefill-form input {
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: all 0.2s;
}

.prefill-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.prefill-form button {
  width: 100%;
  margin-top: 8px;
}

/* Delivery Method Section */
.delivery-section {
  margin: 20px 0;
}

.delivery-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: 140px;
}

.radio-label:hover {
  border-color: var(--brand);
}

.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand);
}

.radio-label span {
  font-size: 14px;
  color: var(--text);
}

/* Consent Section */
.consent-section {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-box {
  display: none;
}

.consent-box.show {
  display: block;
}

.checkbox-label-compact {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  transition: all 0.2s;
}

.checkbox-label-compact:hover {
  border-color: var(--brand);
}

.checkbox-label-compact input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--brand);
  margin: 0 4px 0 0;
  padding: 0;
  vertical-align: middle;
}

.checkbox-label-compact span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  flex: 1;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

/* Error messages */
.error-message {
  display: block;
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.error-message:empty {
  display: none;
}

input.input-error,
textarea.input-error {
  border-color: var(--danger);
  outline-color: var(--danger);
}

/* Helpers */
.helper-note { 
  color: var(--muted); 
  margin-top: 8px;
  font-size: 14px;
}

#prefill-status:empty { display: none; }

/* Accessibility */
a[aria-disabled="true"] { 
  pointer-events: none; 
  opacity: 0.6; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container {
    padding: 0 16px !important;
    max-width: 100%;
  }
  
  .site-header {
    padding: 16px 0;
  }
  
  .brand-name {
    font-size: 18px;
  }
  
  .logo {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-compact {
    padding: 50px 0 30px;
  }
  
  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .button {
    width: 100%;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 24px;
  }
  
  .section > p {
    padding: 0 8px;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  
  .step {
    padding: 20px;
  }
  
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  
  .card {
    padding: 24px;
  }
  
  .feature-rows {
    gap: 12px;
    margin-top: 32px;
  }
  
  .feature-row {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  
  .feature-row .icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-row .icon svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-list, .bullet-list {
    padding: 0 8px;
    margin: 16px auto;
  }
  
  .feature-list li, .bullet-list li {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  
  .quote {
    padding: 24px;
  }
  
  .faq {
    margin-top: 32px;
  }
  
  .faq details {
    padding: 16px;
  }
  
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-content {
    padding: 32px 20px;
    border-radius: 8px;
  }
  
  .cta-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
  }
  
  .cta-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .cta-content .button {
    width: 100%;
    font-size: 16px;
    padding: 14px 32px;
  }
  
  .site-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 0;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .prefill-form {
    padding: 20px;
    margin: 24px 0;
  }
  
  .prefill-form .form-row {
    gap: 14px;
    margin-bottom: 16px;
  }
  
  .prefill-form input {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .delivery-section {
    margin: 16px 0;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .radio-label {
    min-width: 100%;
    padding: 12px 14px;
  }
  
  .consent-section {
    margin: 14px 0;
  }
  
  .checkbox-label-compact {
    padding: 12px;
  }
  
  .checkbox-label-compact span {
    font-size: 13px;
  }
  
  .button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

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

.hero, .section {
  animation: fadeInUp 0.6s ease-out;
}

