/* ============================================================
   Papersona LLC — Global Stylesheet
   ============================================================ */

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

:root {
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EFF6FF;
  --dark:           #0F172A;
  --slate:          #1E293B;
  --text:           #111827;
  --muted:          #6B7280;
  --border:         #E5E7EB;
  --bg:             #F9FAFB;
  --white:          #FFFFFF;
  --radius:         12px;
  --shadow:         0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────────── */

nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-cta {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── Containers & Layout ─────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 600px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2744 60%, #0c1a3a 100%);
  color: var(--white);
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93C5FD;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: #93C5FD;
}

.hero p {
  font-size: 1.2rem;
  color: #CBD5E1;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #94A3B8;
}

.hero-badge .badge-icon { font-size: 1.1rem; }

/* ── Values Grid ─────────────────────────────────────────── */

.values-section { background: var(--bg); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.value-card:hover { box-shadow: var(--shadow); }

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Products Section ────────────────────────────────────── */

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
  box-shadow: var(--shadow);
}

.product-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.product-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.product-visual {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 380px;
}

.product-mockup {
  text-align: center;
}

.product-mockup .app-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}

.product-mockup p {
  font-size: 0.9rem;
  color: #4B5563;
  max-width: 220px;
}

/* ── About Section ───────────────────────────────────────── */

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

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content .section-label { color: #93C5FD; }
.about-content .section-heading { color: var(--white); }
.about-content .section-sub { color: #94A3B8; max-width: 100%; }

.about-content p {
  color: #94A3B8;
  margin-top: 1.25rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.stat-card .stat-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.stat-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.stat-card p { font-size: 0.85rem; color: #64748B; line-height: 1.5; }

/* ── CTA Section ─────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page Header (inner pages) ───────────────────────────── */

.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--slate) 100%);
  color: var(--white);
  padding: 4.5rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #94A3B8;
  font-size: 1.05rem;
}

/* ── Prose (legal pages) ─────────────────────────────────── */

.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.prose p {
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose ul, .prose ol {
  color: #374151;
  margin: 0.75rem 0 1rem 1.5rem;
}

.prose li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
}

.prose strong { color: var(--dark); }

.prose .highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.prose .highlight-box p {
  margin: 0;
  color: #1E3A8A;
  font-size: 0.95rem;
}

/* ── Contact Page ────────────────────────────────────────── */

.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.contact-method:hover { box-shadow: var(--shadow); }

.contact-method-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-method-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-method-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */

footer {
  background: var(--dark);
  color: #94A3B8;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span { color: #93C5FD; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid #1F2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #4B5563;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #374151;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-visual { min-height: 220px; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .nav-inner { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-badges { gap: 1.25rem; }
  .product-content { padding: 2rem 1.5rem; }
  section { padding: 3.5rem 0; }
}
