/* ============================================================
   Photopsis Landing Page — style.css
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }

/* ── Variables ── */
:root {
  --navy:      #1a237e;
  --navy-mid:  #283593;
  --indigo:    #3949ab;
  --indigo-lt: #e8eaf6;
  --text:      #1a1a2e;
  --muted:     #555555;
  --light:     #888888;
  --border:    #e0e0e0;
  --bg-soft:   #f8f9ff;
  --bg-page:   #f0f4f8;
  --green:     #2e7d32;
  --green-lt:  #e8f5e9;
  --amber:     #f57f17;
  --amber-lt:  #fff8e1;
  --gray-lt:   #f5f5f5;
  --gray-mid:  #9e9e9e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.section    { padding: 72px 0; }
.divider    { height: 0.5px; background: var(--border); margin: 0 60px; }

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  z-index: 100;
}

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

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

.nav-wordmark {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--navy-mid); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 80px 60px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--indigo-lt);
  color: var(--indigo);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--indigo); }

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--navy);
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  transition: background 0.15s;
}

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

.btn-ghost {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.btn-ghost:hover { gap: 8px; }

/* ── CAROUSEL ── */
.carousel-wrap {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 0.5px solid var(--border);
  overflow: hidden;
}

.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide { min-width: 100%; }

.slide-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5cae9;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active { background: var(--navy); }

.carousel-arrow {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s;
}

.carousel-arrow:hover { background: var(--indigo-lt); }

/* ── MINI WORKLIST (slide 1) ── */
.mini-topbar {
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-bottom: 0.5px solid #f0f0f0;
}

.mini-stat {
  text-align: center;
  padding: 8px 4px;
  border-right: 0.5px solid #f0f0f0;
}

.mini-stat:last-child { border-right: none; }
.mini-stat-val   { font-size: 18px; font-weight: 700; color: var(--navy); }
.mini-stat-val.g { color: var(--green); }
.mini-stat-val.a { color: var(--amber); }
.mini-stat-val.m { color: var(--gray-mid); }
.mini-stat-label { font-size: 9px; color: var(--light); }

.mini-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.mini-table th {
  background: #f8f9fa;
  font-size: 9px;
  font-weight: 600;
  color: var(--light);
  text-align: left;
  padding: 6px 10px;
  border-bottom: 0.5px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-table td {
  padding: 8px 10px;
  border-bottom: 0.5px solid #f5f5f5;
  font-size: 10px;
  color: #333;
  vertical-align: middle;
}

.mini-table tr:last-child td { border-bottom: none; }
.mini-table tr:hover td { background: #fafbff; }

.pt-name { font-weight: 600; font-size: 10px; }
.pt-id   { font-size: 9px; color: var(--light); margin-top: 1px; }

.pill-sm {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  background: var(--indigo-lt);
  color: var(--indigo);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 500;
}

.s-ready     { background: var(--green-lt); color: var(--green); }
.s-pending   { background: var(--amber-lt); color: var(--amber); }
.s-signed    { background: var(--gray-lt);  color: var(--gray-mid); }

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-g { background: #4caf50; }
.dot-s { background: var(--gray-mid); }
.dot-y {
  border: 1.5px solid #ffc107;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

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

.btn-xs {
  padding: 3px 9px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-xs-g {
  padding: 3px 9px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  border: none;
}

.slide-footer {
  font-size: 9px;
  color: #bbb;
  text-align: right;
  padding: 5px 2px 0;
}

/* ── REPORT SLIDE (slide 2) ── */
.report-topbar {
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-draft  { background: #c62828; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 600; }
.badge-signed { background: var(--green); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 600; }

.report-body-wrap {
  background: #fff;
  border-radius: 0 0 8px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.report-img-panel  { padding: 12px; border-right: 0.5px solid #f0f0f0; }
.report-text-panel { padding: 12px; }

.panel-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mri-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  background: #0a0a0a;
}

.mri-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.1);
}

.report-meta {
  font-size: 9px;
  color: #aaa;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 0.5px solid #f0f0f0;
}

.report-text {
  font-size: 9px;
  color: #444;
  line-height: 1.7;
  max-height: 155px;
  overflow: hidden;
}

.report-text strong { color: var(--navy); }

.report-copy-btn {
  width: 100%;
  margin-top: 10px;
  padding: 6px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.signed-info {
  background: var(--green-lt);
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 9px;
  color: var(--green);
  margin-top: 6px;
  text-align: center;
}

/* ── HOW IT WORKS ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.how-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 0.5px solid var(--border);
}

.how-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--indigo-lt);
  margin-bottom: 12px;
  line-height: 1;
}

.how-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.how-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature {
  padding: 24px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.2s;
}

.feature:hover { border-color: #b0bec5; }

.feat-icon {
  width: 38px;
  height: 38px;
  background: var(--indigo-lt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── COMPLIANCE ── */
.compliance {
  background: var(--bg-soft);
  padding: 64px 60px;
  text-align: center;
}

.compliance h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.compliance-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-comp {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo);
}

/* ── CTA ── */
.cta-section {
  background: var(--navy);
  padding: 72px 60px;
  text-align: center;
}

.cta-section .section-label { color: #9fa8da; margin-bottom: 12px; }

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 16px;
  color: #9fa8da;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.btn-cta {
  background: #fff;
  color: var(--navy);
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.15s;
}

.btn-cta:hover { background: var(--indigo-lt); }

/* ── FOOTER ── */
.footer {
  padding: 36px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--light);
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 12px;
  color: #bbb;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero            { grid-template-columns: 1fr; padding: 40px 24px; }
  .how-grid        { grid-template-columns: 1fr; }
  .features-grid   { grid-template-columns: 1fr 1fr; }
  .nav             { padding: 16px 24px; }
  .nav-links       { display: none; }
  .container       { padding: 0 24px; }
  .section         { padding: 48px 0; }
  .divider         { margin: 0 24px; }
  .compliance      { padding: 48px 24px; }
  .cta-section     { padding: 48px 24px; }
  .footer          { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .features-grid   { grid-template-columns: 1fr; }
  .hero h1         { font-size: 32px; }
  .section h2      { font-size: 26px; }
  .report-body-wrap{ grid-template-columns: 1fr; }
  .mini-stats      { grid-template-columns: repeat(2,1fr); }
}
