/* Promtagram v2.0 white premium UI stylesheet */

/* CSS Variables */
:root {
  --white: #ffffff;
  --light: #f5f7fa;
  --light-alt: #eef2f7;
  --dark: #0b1020;
  --text-primary: #0b1020;
  --text-secondary: #495370;
  --text-muted: #69738c;
  --primary: #006aff;
  --primary-hover: #0052c2;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --border: 1px solid #e1e6ef;
}

/* Reset & global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: var(--border);
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.navigation {
  display: flex;
  gap: 20px;
}

.navigation a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background-color 0.15s;
}

.navigation a:hover {
  background-color: var(--light-alt);
}

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

.btn-link {
  color: var(--primary);
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background-color: var(--white);
}

/* abstract light emboss pattern for hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.05), transparent 70%), repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0, rgba(0,0,0,0.03) 2px, transparent 2px, transparent 12px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--dark);
}

.hero-sub {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-form {
  background-color: var(--light);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-heading {
  margin: 0 0 12px 0;
  font-size: 1.125rem;
  font-weight: 600;
}

#miniForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: var(--border);
  font-size: 0.95rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-note {
  font-size: 0.85rem;
  margin-top: 8px;
}

.hero-card {
  background-color: var(--light);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.scan-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0;
}

.scan-score .score-total {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.scan-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin: 8px 0;
}

.scan-list {
  margin: 8px 0;
}

.scan-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.scan-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.scan-progress-bar {
  width: 100%;
  background-color: var(--light-alt);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.scan-progress-bar.large {
  height: 10px;
}

.scan-progress-bar .progress {
  height: 100%;
  background-color: var(--primary);
  border-radius: 4px;
}

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

.section-light {
  background-color: var(--light);
}

.section-white {
  background-color: var(--white);
}

/* Scan detail section */
.scan-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.scan-info h2 {
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.scan-info p {
  color: var(--text-secondary);
}

.scan-cta .btn {
  margin-top: 12px;
}

.scan-card-detail {
  background-color: var(--light);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scan-detail-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.scan-detail-score .detail-total {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-status {
  margin: 8px 0;
  font-size: 0.95rem;
  color: var(--primary);
}

.detail-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.detail-risks,
.detail-next {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Tools grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tool-card {
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-color: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tool-card.large h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.tool-card.small h4 {
  font-size: 1.1rem;
  margin: 0;
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Route steps */
.route-steps {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 16px 0;
}

.route-steps li {
  min-width: 140px;
  background-color: var(--light);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.step-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 4px 0;
  color: var(--dark);
}

.route-steps p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Evidence labels */
.evidence-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.evidence-labels .label {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.label-own { background-color: #0ea965; }
.label-public { background-color: #2563eb; }
.label-recon { background-color: #d97706; }
.label-demo { background-color: #7c3aed; }
.label-hypo { background-color: #c026d3; }
.label-check { background-color: #dc2626; }

/* Industry grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.industry-card {
  background-color: var(--light);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.industry-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.faq-content details {
  margin-bottom: 12px;
  background-color: var(--light);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.faq-content summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-content p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-content h3 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.trust-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* Lead form */
.lead-wrapper iframe {
  border: none;
  margin-top: 20px;
  border-radius: var(--radius);
  background-color: var(--light);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background-color: var(--white);
  border-top: var(--border);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 24px;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .scan-wrapper,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 40px;
  }
}