:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #000000;
  --muted: #555;
  --accent: #064591;
  --accent-ink: #ffffff;
  --good: #28a745;
  --bad: #ff3b30;
  --ring: rgba(6, 69, 145, .35);
}


@media (min-width: 780px) {
  .logo { height: 36px; }
}

.mainLogo { height: 100px; width: auto; display: block; }
@media (min-width: 780px) { .mainLogo { height: 100px; } }

.q-block { margin-top: 18px; }
.q-title { font-weight: 800; margin: 0 0 10px 0; }
.q-options { display: grid; gap: 10px; }
@media (min-width: 780px) { .q-options { grid-template-columns: repeat(2, 1fr); } }

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 4px;
}

.container {
  width: min(1100px, 100% - 24px);
  margin-inline: auto;
}

.section {
  padding-block: 64px;
}

/* Add top padding to account for fixed header */

h1, h2, h3 {
  margin: 0 0 12px 0;
  line-height: 1.2;
}

h1.headline {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 8vw, 4rem);
}

.subhead {
  color: var(--muted);
  margin: 8px 0 24px 0;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
}

.btn {
  display: inline-block;
  text-align: center;
  border: none;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 18px;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.2s ease;
}

.btn-lg {
  padding: 18px 22px;
  font-size: 1.05rem;
  width: 100%;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.btn-accent:hover { filter: brightness(0.98); }
.btn-accent:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 6px var(--ring);
}

.hero {
  padding-top: 84px;
  padding-bottom: 72px;
}

.problem h2,
.solution h2,
.offer h2,
.proof h2,
.final-cta h2,
.start h2 {
  font-size: clamp(1.4rem, 5.2vw, 2rem);
}

.problem-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid #232323;
  border-radius: 12px;
  padding: 18px;
}

.problem-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.icon svg {
  width: 22px;
  height: 22px;
}
.icon.good { color: var(--good); }
.icon.bad { color: var(--bad); }

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}
.list-icon svg { width: 20px; height: 20px; }
.list-bad .list-icon { color: var(--bad); }
.list-good .list-icon { color: var(--good); }

.solution .cards {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
}

.card-number {
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
}
.card-title { margin-top: 6px; font-size: 1.1rem; }
.card-desc { color: var(--muted); margin-top: 6px; }

.offer .offer-box {
  border: 6px solid var(--accent);
  border-radius: 16px;
  padding: 22px;
  background: var(--surface-2);
  text-align: center;
}
.offer .offer-copy { margin: 10px 0 18px 0; }

.proof blockquote {
  margin: 18px 0 22px 0;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-size: 1.05rem;
}
.proof cite { display: block; color: var(--muted); margin-top: 8px; font-style: normal; }

.logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.logo {
  background: var(--surface);
  border: 1px dashed #e5e7eb;
  color: #9aa4b2;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.final-cta p { color: var(--muted); margin-bottom: 16px; }

.form {
  margin-top: 16px;
}
.form-grid {
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
.field-full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 0.95rem; }

input, textarea {
  appearance: none;
  background: var(--surface);
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
input::placeholder, textarea::placeholder { color: #9aa4b2; }
input:focus, textarea:focus { outline: none; box-shadow: 0 0 0 6px var(--ring); border-color: var(--accent); }

.form-note { color: var(--muted); margin-top: 10px; font-size: 0.9rem; }

.footer {
  padding-block: 36px;
  border-top: 1px solid #e5e7eb;
}
.footer p { color: var(--muted); text-align: center; margin: 0; }

@media (min-width: 780px) {
  .btn-lg { width: auto; font-size: 1.1rem; }
  .container { width: min(1200px, 100% - 48px); }
  .section { padding-block: 84px; }
  .hero { padding-top: 120px; padding-bottom: 96px; }
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .solution .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .logos { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}


.page-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  padding: 16px 0;
}

.header-content {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo .brand-text {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}
.nav-row .btn { min-width: 120px; }
.nav-row .btn:not(.btn-accent) {
  color: #1f6fd1;
  background: rgba(31, 111, 209, 0.06);
  border: 1px solid rgba(31, 111, 209, 0.18);
}
.nav-row .btn:not(.btn-accent):hover { background: rgba(142, 202, 255, 0.14); }
.nav-row .btn:not(.btn-accent):active { transform: translateY(1px); }

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

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo .brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.logo { 
  height: 32px; width: auto; display: block; 
}

.brand { 
  margin-bottom: 16px; 
}

.ai-prompt-btn {
  background: #c5e1f9;
}

/* Authentication Styles */
.auth-header {
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0px;
}

.auth-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-left .auth-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.auth-right {
  display: flex;
  align-items: center;
  gap: 15px;
  right: 15px;
}

.auth-buttons {
  display: flex;
  gap: 8px;
}

.auth-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-btn-signin {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.auth-btn-signin:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

.auth-btn-signup {
  background: var(--accent);
  color: var(--accent-ink);
}

.auth-btn-signup:hover {
  background: #053a7a;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(6, 69, 145, 0.3);
}

.auth-btn-signout {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.auth-btn-signout:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

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

.user-greeting {
  font-weight: 500;
  color: var(--text);
}

/* Authentication Modals */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.auth-modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.auth-modal-header {
  padding: 24px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.auth-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.auth-modal-body {
  padding: 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 69, 145, 0.1);
}

.auth-submit-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-submit-btn:hover {
  background: #053a7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 69, 145, 0.3);
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.auth-divider span {
  background: white;
  padding: 0 16px;
  color: #666;
  font-size: 14px;
}

.google-signin-btn {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  min-height: 40px;
  width: 100%;
}

.google-signin-btn > div {
  width: 100% !important;
  max-width: 300px;
}

/* Fallback button styling */
.google-signin-btn button[disabled] {
  background: #f5f5f5;
  color: #999;
  border: 1px solid #ddd;
  cursor: not-allowed;
  width: 100%;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-header {
    padding: 0px 0;
  }
  
  .auth-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .auth-right {
    gap: 12px;
  }
  
  .auth-buttons {
    gap: 6px;
  }
  
  .auth-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .auth-modal {
    padding: 16px;
  }
  
  .auth-modal-content {
    max-width: 100%;
  }
  
  .auth-modal-header,
  .auth-modal-body {
    padding: 20px;
  }
}

.auth-back-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  margin-top: 12px;
  width: 100%;
}

.auth-back-btn:hover {
  background-color: #5a6268;
}