/* Landing page styles — Concept 5 "Grid" */

/* === Inlined from lamh.css (eliminates sequential @import request) === */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/ReadexPro-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/ReadexPro-400-normal-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/static/fonts/Newsreader-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/static/fonts/Newsreader-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --lamh-black: #0a0a0a;
  --lamh-black-soft: #121212;
  --lamh-black-elevated: #191919;
  --lamh-gray-800: #2e2e2e;
  --lamh-gray-700: #3d3d3d;
  --lamh-gray-600: #525252;
  --lamh-gray-500: #6b6b6b;
  --lamh-gray-400: #8a8a8a;
  --lamh-gray-300: #a3a3a3;
  --lamh-gray-200: #d4d4d4;
  --lamh-white: #f7f5f0;
  --lamh-white-pure: #ffffff;
  --lamh-champagne: #d4c5a9;
  --lamh-champagne-light: #e8dcc6;
  --lamh-warm-silver: #c9c5bc;
  --lamh-ring: rgba(212, 197, 169, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, rgba(212, 197, 169, 0.08), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--lamh-black);
  color: var(--lamh-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Newsreader', 'Readex Pro', serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

a:hover {
  color: var(--lamh-champagne-light);
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  display: none;
}

.lamh-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  z-index: 0;
}

.text-champagne { color: var(--lamh-champagne); }
.text-warm { color: var(--lamh-warm-silver); }
.bg-champagne { background-color: var(--lamh-champagne); color: #151515; }
.bg-obsidian { background-color: var(--lamh-black-soft); }
.border-champagne { border-color: var(--lamh-champagne); }

.lamh-card {
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lamh-pill {
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lamh-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.lamh-input {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--lamh-white);
}

.lamh-input:focus {
  outline: 2px solid var(--lamh-ring);
  border-color: var(--lamh-champagne);
}

.lamh-btn {
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.lamh-activity-hot {
  width: 20px;
  height: 3px;
  background: var(--lamh-champagne);
  border-radius: 2px;
}

.lamh-activity-warm {
  width: 20px;
  height: 3px;
  background: var(--lamh-champagne);
  opacity: 0.35;
  border-radius: 2px;
}

.lamh-status-on {
  background: rgba(212, 197, 169, 0.15);
  color: var(--lamh-champagne);
}

.lamh-status-off {
  background: rgba(255, 255, 255, 0.05);
  color: var(--lamh-gray-400);
}

.lamh-status-warning {
  background: rgba(212, 197, 169, 0.1);
  color: var(--lamh-champagne-light);
}

.lamh-status-error {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lamh-gray-300);
}

.lamh-btn-primary {
  background: var(--lamh-champagne);
  color: #151515;
}

.lamh-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--lamh-white);
}

.lamh-badge {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lamh-gray-200);
}

.lamh-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .lamh-grid {
    grid-template-columns: 1.1fr 1.4fr;
  }
}
/* === End inlined lamh.css === */

/* Reset — scoped to landing page body */
.landing-page { margin: 0; padding: 0; }
.landing-page * { box-sizing: border-box; margin: 0; padding: 0; }
html.landing { scroll-behavior: smooth; }

.landing-page {
  font-family: 'Readex Pro', sans-serif;
  background: var(--lamh-black);
  color: var(--lamh-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.content { position: relative; z-index: 1; transition: opacity 0.15s ease; }
.content.lang-switching { opacity: 0.92; }

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

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem max(2rem, calc((100% - 1200px) / 2 + 2rem));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14,14,14,0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,197,169,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo-icon { width: 48px; height: 40px; }

.nav-wordmark {
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--lamh-white);
  letter-spacing: 0.02em;
}

.lang-toggle {
  font-size: 0.75rem;
  color: var(--lamh-gray-400);
  cursor: pointer;
  background: none;
  border: 1px solid rgba(212,197,169,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-family: 'Readex Pro', sans-serif;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lang-toggle:hover {
  color: var(--lamh-champagne);
  border-color: rgba(212,197,169,0.25);
}

.nav-cta {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Readex Pro', sans-serif;
  background: transparent;
  color: var(--lamh-gray-300);
  border: 1px solid rgba(212,197,169,0.1);
  padding: 0.35rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.3s;
}
.nav-cta:hover { background: rgba(255,255,255,0.05); color: var(--lamh-white); border-color: rgba(255,255,255,0.2); }
.nav-cta.visible { display: inline-block; }

/* HERO - CENTERED */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 0 6rem;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lamh-champagne);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero-tagline {
  font-family: 'Readex Pro', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--lamh-white);
  margin-bottom: 1rem;
  font-weight: 500;
  max-width: 750px;
}

.hero-tagline em {
  font-style: italic;
  color: var(--lamh-champagne);
  font-weight: 400;
  font-size: 0.85em;
  display: block;
  margin-top: 0.3em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--lamh-gray-300);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.hero-cta {
  display: inline-block;
  background: var(--lamh-champagne);
  color: #151515;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--lamh-champagne-light);
  color: #151515;
}

.hero-spots {
  font-size: 0.8rem;
  color: var(--lamh-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-spots strong { color: var(--lamh-champagne); }

/* FEATURES - BENTO GRID */
.features {
  padding: 6rem 0 8rem;
}

.features-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--lamh-gray-400);
  margin-bottom: 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  background: transparent;
}

.bento-cell {
  background: linear-gradient(130deg, #1a1918 0%, #131212 100%);
  padding: 2.5rem;
  border: 1px solid rgba(212,197,169,0.08);
}

.bento-cell:nth-child(1) { grid-column: 1 / 3; }
.bento-cell:nth-child(2) { grid-column: 3 / 4; }
.bento-cell:nth-child(3) { grid-column: 1 / 2; }
.bento-cell:nth-child(4) { grid-column: 2 / 4; }

.bento-number {
  font-family: 'Readex Pro', sans-serif;
  font-size: 3.5rem;
  color: var(--lamh-champagne);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.bento-line {
  width: 40px;
  height: 1px;
  background: var(--lamh-champagne);
  margin-bottom: 1rem;
}

.bento-heading {
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.4rem;
  color: var(--lamh-white);
  margin-bottom: 0.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.bento-desc {
  color: var(--lamh-gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(130deg, rgba(212,197,169,0.07) 0%, rgba(212,197,169,0.02) 100%);
}

.bento-stat-number {
  font-family: 'Readex Pro', sans-serif;
  font-size: 3rem;
  color: var(--lamh-champagne);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lamh-gray-400);
}

/* FORM SECTION - INLINE */
.form-section {
  padding: 8rem 0 10rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-text h2 {
  font-family: 'Readex Pro', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.form-text p {
  color: var(--lamh-gray-400);
  line-height: 1.8;
  font-size: 0.95rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212,197,169,0.1);
  color: var(--lamh-white);
  padding: 0.75rem 0;
  font-family: 'Readex Pro', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-input::placeholder { color: var(--lamh-gray-400); }

.form-input:focus {
  outline: none;
  border-bottom-color: var(--lamh-champagne);
}

.form-submit {
  align-self: flex-start;
  background: var(--lamh-champagne);
  color: #151515;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--lamh-champagne-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--lamh-gray-400);
}

.form-error {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #ef4444;
}

.phone-inline-error {
  margin: 0.25rem 0 0 0;
  font-size: 0.75rem;
  color: #ef4444;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease;
}

.phone-inline-error.visible {
  opacity: 1;
  max-height: 2rem;
}

.form-pricing {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--lamh-champagne);
}
.form-pricing strong { color: var(--lamh-white); }

.form-success { display: none; }

.form-success h3 {
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.form-success p { color: var(--lamh-gray-400); line-height: 1.7; }

/* FOOTER - FULL WIDTH BAR */
footer {
  background: linear-gradient(130deg, #161514 0%, #111110 100%);
  border-top: 1px solid rgba(212,197,169,0.06);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo svg { width: 26px; height: 22px; }

.footer-logo span {
  font-family: 'Readex Pro', sans-serif;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--lamh-gray-400);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

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

.footer-built {
  color: var(--lamh-gray-400);
  font-size: 0.75rem;
}

.landing-page .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* Fallback: ensure content is visible if JS/observer fails */
.fade-in:not(.visible) {
  animation: fade-in-fallback 0s 2s forwards;
}

@keyframes fade-in-fallback {
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }

  .container { padding: 0 1.5rem; }

  .hero { padding: 5rem 0 3rem; min-height: 100vh; min-height: 100dvh; justify-content: center; padding-top: max(5rem, env(safe-area-inset-top, 5rem)); }
  .features { padding: 3rem 0 4rem; }
  .form-section { padding: 3rem 0 4rem; }
  .hero-tagline { font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.15; }
  .hero-tagline em { font-size: 0.9em; margin-top: 0.2em; }
  .hero-sub { margin-bottom: 2rem; font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 1rem; width: 100%; align-items: stretch; }
  .hero-cta { width: 100%; text-align: center; padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 12px; }
  .hero-spots { text-align: center; margin-top: 0.5rem; }
  .form-text h2 { font-size: 1.5rem; }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-cell:nth-child(1),
  .bento-cell:nth-child(2),
  .bento-cell:nth-child(3),
  .bento-cell:nth-child(4) {
    grid-column: 1;
  }

  .bento-cell { padding: 1.5rem 1.25rem; }
  .bento-stat { display: none; }
  .bento-number { font-size: 2.5rem; }
  .bento-stat-number { font-size: 2.25rem; }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-built { text-align: center; }
  .form-submit { width: 100%; align-self: stretch; }
  .lang-toggle { padding: 0.5rem 0.85rem; font-size: 0.8rem; min-height: 44px; display: flex; align-items: center; }
  .footer-links { gap: 0.75rem 1.25rem; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .nav-cta, .nav-cta.visible { display: none; }
}
