/* Sylvio V3.0 â€” Mobile-First Simulator Landing */
/* ============================================= */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  padding: 40px 0 30px;
  text-align: center;
}

.kicker {
  font-size: 13px;
  color: #a5b4fc;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}

.sub {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Simulator */
.simulator {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 24px;
}

.sim-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.social-proof {
  text-align: center;
  font-size: 13px;
  color: #a5b4fc;
  margin-bottom: 12px;
  font-style: italic;
}

.progression-indicator {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #6366f1;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.micro-commitment {
  text-align: center;
  font-size: 14px;
  color: #22c55e;
  margin-bottom: 16px;
  font-weight: 500;
}

.sim-question {
  margin-bottom: 32px;
}

.q-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #e2e8f0;
}

.options {
  display: grid;
  gap: 12px;
}

.opt-btn {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.opt-btn:hover {
  background: rgba(99,102,241,0.2);
  border-color: #6366f1;
  transform: translateY(-2px);
}

.opt-btn.selected {
  background: rgba(99,102,241,0.3);
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.opt-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.opt-text {
  flex: 1;
}

/* Loading State */
.loading-state {
  margin-top: 32px;
  padding: 48px 20px;
  text-align: center;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: #6366f1;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 16px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Loss Aversion */
.loss-aversion {
  margin-top: 32px;
  padding: 20px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 12px;
  text-align: center;
}

.loss-aversion p {
  font-size: 15px;
  font-weight: 600;
  color: #fca5a5;
  margin: 0;
}

/* Result */
.sim-result {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.result-score {
  text-align: center;
  margin-bottom: 32px;
}

.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
}

.score-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.score-max {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 30px);
  font-size: 14px;
  color: #94a3b8;
}

.score-text {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 400px;
  margin: 0 auto;
}

.result-estimation {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.personalization {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 12px;
  font-style: italic;
  font-weight: 500;
}

.est-label {
  font-size: 13px;
  color: #a5b4fc;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.est-amount {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.est-sub {
  font-size: 14px;
  color: #cbd5e1;
}

.result-message {
  margin: 24px 0;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid #6366f1;
  border-radius: 8px;
}

.analysis-required {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.urgency-note {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: italic;
}

.result-cta {
  text-align: center;
  margin-top: 24px;
}

.cta-intro {
  font-size: 16px;
  color: #e2e8f0;
}

/* Lead Form */
.lead-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 32px;
}

.action-trigger {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(34,197,94,0.1);
  border-radius: 8px;
}

.lead-form h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.form-intro {
  text-align: center;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #f1f5f9;
  margin-top: 6px;
}

input::placeholder {
  color: #64748b;
}

input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.consent-label {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.friction-reduction {
  text-align: center;
  font-size: 14px;
  color: #cbd5e1;
  margin-top: 10px;
  font-weight: 500;
}

.status-msg {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}

.privacy {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 12px;
}

.authority-footer {
  text-align: center;
  font-size: 12px;
  color: #a5b4fc;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
}

/* Authority */
.authority {
  padding: 32px 0;
}

.auth-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
}

.auth-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.auth-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  flex-shrink: 0;
  border: 3px solid rgba(99,102,241,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
}

.auth-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-info {
  flex: 1;
}

.auth-name-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.auth-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(99,102,241,0.4);
}

.auth-title {
  font-size: 14px;
  color: #a5b4fc;
  font-weight: 500;
  margin: 0;
}

.auth-badges {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  font-size: 13px;
  color: #e2e8f0;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(99,102,241,0.3);
}

.badge-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Video */
.video {
  padding: 32px 0;
}

.video h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Testimonials */
.testimonials {
  padding: 32px 0;
}

.testimonials h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}

.testimonials-grid {
  display: grid;
  gap: 16px;
}

.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
}

.stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 16px;
}

.testimonial p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.author {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
}

/* Footer */
.footer {
  background: rgba(0,0,0,0.3);
  padding: 32px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  font-size: 13px;
  color: #cbd5e1;
}

.footer-info p {
  margin-bottom: 4px;
}

.footer-reassurance {
  margin-top: 12px;
  color: #a5b4fc;
  font-weight: 500;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #6366f1;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Desktop */
@media (min-width: 640px) {
  h1 {
    font-size: 42px;
  }

  .sub {
    font-size: 18px;
  }

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

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

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* V2 Conversion Optimizations */
.hero-trust {
  font-size: 14px;
  color: #86efac;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.trust-stack {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  padding: 12px 20px;
  margin: 20px 0;
}

.trust-stack p {
  font-size: 13px;
  color: #e2e8f0;
  margin: 5px 0;
}

.authority-proof {
  color: #a5b4fc;
}

.monthly-loss {
  color: #fbbf24;
  font-weight: 600;
  margin-top: 12px;
  font-size: 15px;
}

.monthly-loss span {
  color: #f59e0b;
  font-size: 18px;
}

.loss-detail {
  font-size: 14px;
  color: #cbd5e1;
  margin-top: 8px;
}

.mini-case {
  background: rgba(34, 197, 94, 0.1);
  border-left: 3px solid #22c55e;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 4px;
}

.case-title {
  font-size: 13px;
  color: #86efac;
  margin-bottom: 5px;
}

.case-detail {
  font-size: 14px;
  color: #e2e8f0;
}

.form-reassurance {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: #cbd5e1;
  margin: 15px 0;
}

.form-guarantees {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.guarantee {
  font-size: 13px;
  color: #86efac;
}

.quick-proof {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.quick-proof .proof-item {
  background: rgba(99, 102, 241, 0.05);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.quick-proof .stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 8px;
}

.quick-proof p {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.quick-proof .author {
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Update existing action-trigger style */
.action-trigger {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}


/* V3 Refinements */
.score-label {
  font-size: 14px;
  color: #cbd5e1;
  margin-top: 12px;
  text-align: center;
}

.score-label span {
  color: #86efac;
  font-weight: 600;
  text-transform: uppercase;
}

.mini-case-highlight {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}

.case-label {
  font-size: 12px;
  color: #86efac;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.case-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  color: #e2e8f0;
}

.case-item {
  background: rgba(99, 102, 241, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.case-arrow {
  color: #86efac;
  font-size: 18px;
  font-weight: bold;
}

.case-result {
  color: #86efac;
}

.case-result strong {
  font-size: 17px;
}

.optional-call {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 10px;
  text-align: center;
}

/* Spacing optimizations */
.result-estimation {
  margin-bottom: 20px;
}

.result-message {
  margin-bottom: 25px;
}

.sim-result {
  padding: 20px 0;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .form-grid input {
    font-size: 16px;
    padding: 14px 12px;
  }
  
  .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
  
  .case-flow {
    justify-content: center;
  }
  
  .form-guarantees {
    gap: 8px;
  }
}


/* UI Polish Pass - Visual Improvements Only */

/* 1. MOBILE CONTAINER FIXES */
@media (max-width: 768px) {
  .wrap {
    padding: 0 24px; /* Increased from 20px for better breathing room */
  }
  
  .simulator {
    margin: 0 8px 24px 8px; /* Add horizontal margin for better mobile spacing */
    padding: 28px 20px;
  }
  
  section {
    overflow-x: hidden; /* Prevent any horizontal overflow */
  }
}

/* 2. FORM HIERARCHY IMPROVEMENTS */
.lead-form {
  padding: 48px 0 40px; /* More top padding for better separation */
}

.lead-form h2 {
  margin-bottom: 16px; /* Better separation from intro */
  line-height: 1.3;
}

.lead-form .form-intro {
  margin-bottom: 12px;
  line-height: 1.5;
}

.lead-form .form-reassurance {
  margin-bottom: 32px; /* More space before form fields */
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  font-size: 13px;
}

.form-grid {
  margin-bottom: 24px; /* Better spacing before consent */
}

.form-grid label {
  margin-bottom: 16px; /* More space between fields */
}

.consent-label {
  margin-bottom: 24px; /* More space before CTA */
}

.btn-primary {
  margin-bottom: 20px; /* Space before guarantees */
}

/* 3. OPTIONAL CALL LINE SUBTLETY */
.optional-call {
  font-size: 12px; /* Reduced from 13px */
  color: #64748b; /* More muted color */
  opacity: 0.8; /* Additional subtlety */
  margin-top: 12px;
  font-weight: 400; /* Lighter weight */
}

/* 4. TESTIMONIALS READABILITY */
.testimonial {
  padding: 24px; /* Increased internal padding */
  line-height: 1.6; /* Better line height */
}

.testimonial p {
  font-size: 15px; /* Slightly larger for readability */
  line-height: 1.7;
  margin-bottom: 16px; /* More space before author */
}

.testimonial .author {
  font-size: 13px;
  padding-top: 12px; /* Visual separation from quote */
  border-top: 1px solid rgba(148, 163, 184, 0.1); /* Subtle separator */
  margin-top: auto;
}

@media (max-width: 768px) {
  .testimonials-grid {
    gap: 20px; /* Better spacing between cards on mobile */
  }
  
  .testimonial {
    padding: 20px;
    margin-bottom: 16px;
  }
}

/* 5. VIDEO BLOCK DE-EMPHASIS */
.video {
  opacity: 0.95; /* Slight reduction in prominence */
  padding: 40px 0; /* Reduced vertical padding */
}

.video h2 {
  font-size: 20px; /* Slightly smaller title */
  font-weight: 500; /* Lighter weight */
  color: #cbd5e1; /* Softer color */
  margin-bottom: 20px;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

/* GENERAL POLISH */

/* Better vertical rhythm */
section {
  padding: 32px 0;
}

.hero {
  padding: 48px 0 40px;
}

.authority {
  padding: 40px 0;
}

/* Result section spacing improvements */
.sim-result {
  padding: 32px 0;
}

.result-score {
  margin-bottom: 28px; /* Better spacing */
}

.result-estimation {
  margin-bottom: 24px;
}

.result-message {
  margin-bottom: 32px;
}

/* Mini case better visibility without changing content */
.mini-case-highlight {
  padding: 20px;
  margin: 24px 0;
}

/* Form input improvements for mobile */
@media (max-width: 768px) {
  .form-grid input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 16px 14px; /* Better touch targets */
    border-radius: 8px;
  }
  
  .btn-primary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
  }
}

/* Desktop refinements */
@media (min-width: 769px) {
  .wrap {
    padding: 0 32px;
  }
  
  .lead-form {
    padding: 56px 0 48px;
  }
  
  .video {
    padding: 48px 0;
  }
  
  .testimonials {
    padding: 56px 0;
  }
}

/* Smooth transitions for interactive elements */
button, input, .opt-btn {
  transition: all 0.2s ease;
}

/* Better focus states for accessibility */
input:focus, button:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

