/* =============================================
   FIXRR LANDING PAGE - STYLE.CSS
   Premium static site - Mobile-first
   ============================================= */

/* ----- Design Tokens ----- */
:root {
  --navy: #081426;
  --navy-light: #0f2038;
  --navy-muted: #162d4d;
  --green: #22a447;
  --green-light: #2ec95a;
  --green-glow: rgba(34,164,71,0.15);
  --teal: #073f3e;
  --text: #0f1d2d;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(8,20,38,0.04), 0 1px 2px rgba(8,20,38,0.06);
  --shadow-md: 0 4px 12px rgba(8,20,38,0.06);
  --shadow-lg: 0 12px 40px rgba(8,20,38,0.10);
  --shadow-xl: 0 20px 60px rgba(8,20,38,0.12);
  --max-width: 1200px;
  --nav-height: 76px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: var(--surface-alt); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(8,20,38,0.12); border-radius: 3px; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* ----- View System ----- */
.view { display: none; }
.view.view-active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ----- Eyebrow Badge ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); background: rgba(34,164,71,0.08); border: 1px solid rgba(34,164,71,0.15);
  border-radius: 999px; padding: 0.5rem 0.875rem; margin-bottom: 1rem;
}
.eyebrow-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: #6ee7b7; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-md); padding: 0.75rem 1rem;
  font-weight: 800; font-size: 0.8125rem; border: 1.5px solid transparent;
  transition: all 0.2s ease; white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff;
  box-shadow: 0 8px 24px rgba(34,164,71,0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(34,164,71,0.38); }
.btn-secondary {
  background: var(--surface); color: var(--text); border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(8,20,38,0.04);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 4px 0;
}
.nav-logo img {
  height: auto;
  width: 126px;
  max-width: none;
  display: block;
}
.nav-actions { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.nav-link {
  color: var(--text); font-size: 0.8125rem; font-weight: 700;
  padding: 0.5625rem 0.875rem; border-radius: var(--radius-md);
  transition: all 0.2s ease; white-space: nowrap;
  border: 1.5px solid var(--border);
  background: transparent;
}
.nav-link:hover {
  border-color: var(--text-muted);
  background: var(--surface-alt);
}
.nav-link-primary {
  background: var(--green); color: #fff !important;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(34,164,71,0.3);
}
.nav-link-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34,164,71,0.38);
}

/* ===================== HERO ===================== */
.hero { padding: 2.5rem 0 1.5rem; }
.hero-inner { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.hero-text { order: 2; width: 100%; }
.hero-text h1 {
  font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.03em; color: var(--text);
}
.text-green { color: var(--green); }
.hero-desc {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem); color: var(--text-secondary);
  max-width: 520px; margin-top: 1rem; line-height: 1.65;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.5rem; }
.hero-note { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); margin-top: 1rem; }

.hero-image-wrap { order: 1; width: 100%; }
.hero-img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9; object-fit: cover;
}

/* ===================== SERVICE TAGS ===================== */
.service-tags { padding: 1rem 0 2.5rem; }
.tags-list { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.tag {
  background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary);
  border-radius: 999px; padding: 0.5rem 0.875rem; font-size: 0.8125rem;
  font-weight: 700; box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: all 0.2s ease;
}
.tag:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.tag-dark { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===================== PAIN POINTS ===================== */
.pain-section { padding: 2rem 0 3rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-header h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0.75rem 0 0.5rem; }
.section-header p { color: var(--text-secondary); font-size: clamp(0.9375rem, 1.2vw, 1rem); }

.pain-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; transition: all 0.2s ease; box-shadow: var(--shadow-sm);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-label { font-size: 0.6875rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); display: block; margin-bottom: 0.75rem; }
.pain-label-green { color: #6ee7b7; }
.pain-card h3 { font-size: clamp(1.15rem, 2.2vw, 1.375rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1rem; }
.pain-list { display: flex; flex-direction: column; gap: 0.625rem; }
.pain-list li { display: flex; gap: 0.625rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); line-height: 1.55; }
.bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 6px; flex-shrink: 0; }
.bullet-green { background: var(--green-light); box-shadow: 0 0 6px rgba(46,201,90,0.35); }
.pain-footer { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); }

/* Dark pain card */
.pain-card-dark { background: linear-gradient(145deg, var(--navy-light), var(--navy)); border-color: rgba(255,255,255,0.05); color: #fff; }
.pain-card-dark h3 { color: #fff; }
.pain-card-dark .pain-list li { color: #a7c4d8; }
.pain-card-dark .pain-footer { color: #fff; border-color: rgba(255,255,255,0.08); }

/* ===================== CTA BANNER ===================== */
.cta-section { padding: 0 0 2rem; }
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-muted));
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: var(--shadow-xl);
}
.cta-text h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: #fff; margin: 0.75rem 0 0.375rem; }
.cta-text p { color: #a7c4d8; font-size: 0.9375rem; }
.cta-buttons { display: flex; gap: 0.625rem; flex-wrap: wrap; }

/* ===================== SIGNUP VIEWS ===================== */
.signup-wrap { padding: 1.25rem 0 3rem; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-secondary); font-weight: 600; font-size: 0.875rem;
  padding: 0.5rem 0; margin-bottom: 1.25rem; background: none; border: none;
  transition: color 0.2s ease;
}
.back-btn:hover { color: var(--text); }

.signup-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

/* Info Panel */
.info-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); height: fit-content; }
.info-panel h2 { font-size: clamp(1.35rem, 2.8vw, 1.875rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin: 0.75rem 0 0.5rem; }
.info-panel > p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }
.benefits { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.benefits li { display: flex; gap: 0.625rem; font-weight: 700; font-size: 0.8125rem; color: var(--text); line-height: 1.5; }
.check { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: rgba(34,164,71,0.1); color: var(--green); align-items: center; justify-content: center; font-size: 0.625rem; font-weight: 900; flex-shrink: 0; }

/* Form Panel */
.form-panel { background: linear-gradient(180deg, var(--surface), #f8fbfd); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-md); }
.form-panel h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); font-weight: 800; letter-spacing: -0.01em; }
.form-subtitle { color: var(--text-muted); font-size: 0.8125rem; margin: 0.25rem 0 1.25rem; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.875rem; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 0.6875rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.03em; }
.form-grid label .req { color: #c0392b; text-transform: none; font-weight: 700; }
.form-grid label .opt { text-transform: none; font-weight: 500; color: var(--text-muted); font-size: 0.625rem; }
.form-grid input, .form-grid select {
  width: 100%; border: 1.5px solid var(--border); background: var(--surface);
  border-radius: var(--radius-sm); padding: 0.75rem 0.875rem; font-size: 0.875rem;
  color: var(--text)); outline: none; transition: all 0.2s ease; font-weight: 400; text-transform: none;
}
.form-grid input:focus, .form-grid select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.form-grid input::placeholder { color: var(--text-muted); opacity: 0.55; }
.form-grid select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }

.form-other {
  display: none;
  margin-top: 6px;
  animation: fadeIn 0.2s ease;
}
.form-other.show {
  display: block;
}

.submit-btn {
  margin-top: 1.25rem; display: block; width: 100%; max-width: 360px; border: 0;
  border-radius: var(--radius-md); padding: 0.8125rem 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; font-weight: 800; font-size: 0.875rem; cursor: pointer;
  transition: all 0.2s ease; box-shadow: 0 4px 16px rgba(34,164,71,0.22);
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,164,71,0.32); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-msg { margin-top: 1rem; font-weight: 700; font-size: 0.8125rem; border-radius: var(--radius-sm); padding: 0.75rem 1rem; }
.form-msg.success { background: #e9f9ee; color: #117334; }
.form-msg.error { background: #fff0f0; color: #a22222; }

/* ===================== FOOTER ===================== */
.site-footer { text-align: center; padding: 2.5rem 0; color: var(--text-muted); border-top: 1px solid var(--border-light); margin-bottom: 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.footer-logo { height: 48px; width: auto; margin: 0 auto 0.75rem; opacity: 0.9; }
.footer-tagline { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 0.25rem; }
.site-footer p { font-size: 0.8125rem; max-width: 520px; margin: 0.375rem auto; }
.footer-privacy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.875rem 1rem; margin: 1rem auto !important; color: var(--text-secondary); font-weight: 600; font-size: 0.6875rem; max-width: 480px; line-height: 1.55; }
.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}
.footer-contact-link:hover { color: var(--green-light); }
.contact-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  width: 14px;
  height: 14px;
}
.footer-copyright { font-weight: 700; color: var(--text-secondary); margin-top: 1rem !important; font-size: 0.6875rem; }

/* ===================== MOBILE BOTTOM NAV ===================== */
.mobile-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}
.mobile-nav a {
  font-size: 0.75rem; font-weight: 800; text-align: center;
  padding: 12px 6px; border-radius: 12px; transition: all 0.2s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.mobile-nav a:first-child { background: var(--green); color: #fff; }
.mobile-nav a:first-child:hover { background: var(--green-light); }
.mobile-nav a:last-child { background: var(--surface); color: var(--navy); }
.mobile-nav a:last-child:hover { background: var(--border-light); }

/* Mobile padding for footer */
body { padding-bottom: 60px; }

/* =============================================
   TABLET (640px+)
   ============================================= */
@media (min-width: 640px) {
  .container { padding: 0 2rem; }
  .nav-container { padding: 0 2rem; --nav-height: 80px; }
  .nav-logo img { width: 142px; }
  .hero { padding: 3.5rem 0 2rem; }
  .hero-inner { gap: 2.5rem; }
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .pain-card { padding: 1.75rem; }
  .cta-banner { padding: 2.5rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-full { grid-column: 1 / -1; }
  .signup-wrap { padding: 1.5rem 0 3.5rem; }
}

/* =============================================
   DESKTOP (1024px+)
   ============================================= */
@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
  .nav-container { padding: 0 2.5rem; --nav-height: 86px; }
  .nav-logo img { width: 155px; }
  .nav-link { font-size: 0.875rem; padding: 0.625rem 1rem; }

  .hero { padding: 4rem 0 2.5rem; }
  .hero-inner { flex-direction: row; gap: 3rem; align-items: center; }
  .hero-text { order: 1; flex: 1.05; }
  .hero-image-wrap { order: 2; flex: 0.95; }
  .hero-img { aspect-ratio: 16/9; }

  .service-tags { padding: 1.25rem 0 3rem; }
  .pain-section { padding: 2.5rem 0 3.5rem; }
  .section-header { margin-bottom: 2.5rem; }
  .pain-card { padding: 2rem; }

  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.75rem 3rem; }

  .signup-grid { grid-template-columns: 0.92fr 1fr; gap: 2rem; }
  .signup-grid-pro { grid-template-columns: 1fr 0.92fr; }
  .signup-wrap { padding: 1.5rem 0 4rem; }
  .info-panel, .form-panel { padding: 2rem; }

  .mobile-nav { display: none; }
  body { padding-bottom: 0; }
  .site-footer { margin-bottom: 0; }
}
