/* ============================================================
   LAPLAND LOGIC WEBB — FRIENDLY SCANDINAVIAN LIGHT DESIGN SYSTEM
   Modern, approachable, fast, non-dark UI for small businesses
   ============================================================ */

/* Self-hosted under SIL OFL 1.1; licenses: ../../assets/fonts/LICENSE-*.txt */
@font-face {
  font-family: 'Inter';
  src: url('../../assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face { font-family: 'IBM Plex Mono'; src: url('../../assets/fonts/IBMPlexMono-Light.woff2') format('woff2'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../../assets/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../../assets/fonts/IBMPlexMono-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  /* --- Light Palette --- */
  --bg-main:          #F8FAFC;   /* Soft Ice White */
  --bg-surface:       #FFFFFF;   /* Pure White Cards */
  --bg-subtle:        #F1F5F9;   /* Subtle Grey Fill */
  --bg-accent-light:  #E0F2FE;   /* Soft Glacial Blue Tint */
  
  --text-main:        #0F172A;   /* Deep Slate Primary Text */
  --text-muted:       #475569;   /* Muted Body Text */
  --text-subtle:      #94A3B8;   /* Light Subtext / Hints */
  
  --accent-blue:      #0EA5E9;   /* Vivid Arctic Cyan/Blue */
  --accent-blue-hover:#0284C7;   /* Deep Blue Hover */
  --accent-navy:      #0F172A;   /* Dark Navy Accent */
  
  --border-light:     #E2E8F0;   /* Clean Divider Border */
  --border-focus:     #7DD3FC;   /* Focus Border */
  
  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:        'IBM Plex Mono', monospace;
  
  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        16px;
  --radius-pill:      9999px;
  
  --shadow-sm:        0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md:        0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg:        0 16px 36px rgba(14, 165, 233, 0.12);
  
  --transition:       all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.nav-brand-tag {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-accent-light);
  color: var(--accent-blue-hover);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 6px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border-light);
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.lang-btn.active {
  background: var(--accent-blue);
  color: #FFFFFF;
}

/* --- HERO SECTION --- */
.hero {
  padding: 140px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--bg-accent-light);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-pill);
  color: var(--accent-blue-hover);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-blue);
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

/* --- SECTION CONTAINER --- */
.section {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
}

/* --- PRICING CARDS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 32px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.pricing-card.popular {
  border: 2px solid var(--accent-blue);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-moms {
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

.pricing-list {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.pricing-list li i {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- 3 STEP PROCESS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-accent-light);
  color: var(--accent-blue-hover);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- DEMO SHOWCASE (NO REAL CUSTOMER NAMES!) --- */
.demo-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.demo-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.demo-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.demo-btn:hover {
  background: var(--bg-accent-light);
  color: var(--accent-blue-hover);
}

.demo-btn.active {
  background: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
}

.demo-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.demo-note {
  margin: -10px auto 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.demo-mockup {
  background: #0F172A;
  border-radius: var(--radius-md);
  padding: 28px;
  color: #F8FAFC;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}

.demo-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translate3d(0, var(--image-shift, 0), 0) scale(1.06);
  clip-path: inset(0 round 10px);
  will-change: transform;
}

.standalone-demo-image {
  width: min(1120px, calc(100% - 40px));
  margin: 32px auto 0;
}

.standalone-demo-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transform: translate3d(0, var(--image-shift, 0), 0) scale(1.035);
  clip-path: inset(0 round 18px);
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1200;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, #0EA5E9, #14B8A6);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .demo-photo,
  .standalone-demo-image img { transform: none; }
}

.standalone-demo-image figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}

/* --- CONTACT / FOOTER --- */
.contact-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}

.contact-card h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 17px;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-back-link {
  color: var(--text-muted);
  text-decoration: underline;
}

/* --- BACK-TO-MAIN-SITE NAV LINK --- */
.nav-back-link {
  font-size: 13px;
  color: var(--text-subtle) !important;
}

/* --- CONTACT BLOCK: info + form --- */
.contact-card {
  text-align: left;
}

.contact-card h2,
.contact-card > p {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  font-size: 15px;
  color: #CBD5E1;
}

.contact-info-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 4px;
}

.contact-phone-placeholder {
  font-family: var(--font-mono);
  color: #64748B;
  font-style: italic;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  background: #0F172A;
  color: #F8FAFC;
  font-family: var(--font-sans);
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--border-focus);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.contact-form button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-form-note {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 4px;
}

.contact-form-status {
  min-height: 20px;
  margin: 0;
  color: #BAE6FD;
  font-size: 13px;
  font-weight: 600;
}

.contact-form-status.is-error { color: #FECACA; }

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .hero { padding: 110px 24px 60px; }
  .section { padding: 64px 24px; }
  .demo-preview { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
