/* landing.css - shared styles for the ecology landing pages (2026-11-22).
   Same colours, type and components as gallery.html and woodland.html. */
:root {
  --bg-main: #0b0c0e;
  --bg-card: #121418;
  --bg-input: #1a1d24;
  --accent: #00e5ff;
  --accent-hover: #00b3cc;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border: #242933;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.5; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); }

/* --- Navbar (as gallery.html) --- */
header { padding: 20px 0; border-bottom: 1px solid var(--border); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-link { color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.nav-link:hover, .nav-link.current { color: var(--accent); }
@media (max-width: 640px) { .nav-link { display: none; } }
.badge-live {
  background: rgba(0, 229, 255, 0.1); border: 1px solid var(--accent); color: var(--accent);
  padding: 6px 14px; border-radius: 99px; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.badge-live:hover { background: rgba(0, 229, 255, 0.2); transform: translateY(-1px); }

/* --- Breadcrumb (as woodland.html) --- */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* --- Buttons --- */
.btn-primary {
  background: var(--accent); color: #000; padding: 12px 24px; border-radius: 6px; font-weight: 700;
  font-size: 14px; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
  background: var(--bg-card); color: #fff; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 14px;
  text-decoration: none; display: inline-block; border: 1px solid var(--border); transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--bg-input); }

/* --- Hero --- */
.hero-banner-wrapper { padding: 56px 0 44px; border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at center, rgba(0,229,255,0.03) 0%, transparent 70%); }
.hero-grid-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 850px) { .hero-grid-layout { grid-template-columns: 1fr; gap: 28px; } }
.pre-headline { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.hero-content-left h1 { font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px; }
.hero-content-left h1 span { color: var(--accent); }
.hero-content-left .lead { font-size: 17px; color: #cbd5e1; margin-bottom: 14px; }
.hero-content-left p { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }
@media (max-width: 600px) { .hero-content-left h1 { font-size: 30px; } }
.hero-cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* --- Sections --- */
.content-section { padding: 50px 0; border-bottom: 1px solid var(--border); }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.25; }
.section-title span { color: var(--accent); }
@media (max-width: 600px) { .section-title { font-size: 24px; } }
.text-block { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 16px; max-width: 860px; }
.text-block strong { color: #e2e8f0; font-weight: 600; }
.text-block a, .feature-card a, .faq-item a, .callout a, .entry-text a { color: var(--accent); text-decoration: none; font-weight: 600; }
.text-block a:hover, .feature-card a:hover, .faq-item a:hover, .callout a:hover, .entry-text a:hover { text-decoration: underline; }
.callout { color: #cbd5e1; font-size: 14px; border-left: 2px solid var(--accent); padding: 4px 0 4px 12px; margin: 18px 0 4px; max-width: 860px; }
.callout strong { color: #fff; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 26px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 22px; }
.feature-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }
.feature-card .tag { margin-top: 12px; display: inline-block; }

/* Cards with a picture on top (outputs, environments, examples) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 26px; }
.media-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.media-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; border-bottom: 1px solid var(--border); }
.media-card img[data-full] { cursor: zoom-in; transition: opacity 0.2s; }
.media-card img[data-full]:hover { opacity: 0.9; }
.media-card .card-body { padding: 16px 18px 18px; }
.media-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.media-card p { color: var(--text-muted); font-size: 14px; }
.media-card .card-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.media-card .card-link:hover { text-decoration: underline; }
a.media-card { text-decoration: none; transition: border-color 0.2s; }
a.media-card:hover { border-color: var(--accent); }

/* Media paired with text (as gallery.html entries) */
.entry { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; margin-top: 10px; }
.entry.flip .entry-media { order: 2; }
@media (max-width: 850px) { .entry { grid-template-columns: 1fr; gap: 18px; } .entry.flip .entry-media { order: 0; } }
.entry-media { background: #000; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: relative; }
.entry-media img { display: block; width: 100%; height: auto; }
.entry-media img[data-full] { cursor: zoom-in; transition: opacity 0.2s; }
.entry-media img[data-full]:hover { opacity: 0.92; }
.entry-media .media-hint { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,0.6); border: 1px solid var(--border); border-radius: 99px; padding: 3px 9px; pointer-events: none; }
.entry-text .text-block { margin-bottom: 12px; }

.entry-list { list-style: none; display: grid; gap: 8px; margin: 12px 0 6px; max-width: 860px; }
.entry-list li { position: relative; padding-left: 16px; font-size: 14px; color: #cbd5e1; line-height: 1.55; }
.entry-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.entry-list li b { color: #fff; font-weight: 600; }

.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 9px; border-radius: 99px;
  border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }

/* Flow strip: Fly -> Load -> Explore ... */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 8px; }
.flow-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 99px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: #fff; }
.flow-step.accent { border-color: var(--accent); color: var(--accent); background: rgba(0,229,255,0.06); }
.flow-arrow { color: var(--accent); font-weight: 700; }
.flow-pair { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* Numbered workflow steps (as woodland.html) */
.workflow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 20px; margin-top: 30px; }
.workflow-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 24px 22px 20px; position: relative; }
.workflow-step-num { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #000; font-weight: 700; font-size: 12px;
  padding: 2px 10px; border-radius: 99px; text-transform: uppercase; }
.workflow-step h3 { font-size: 17px; color: #fff; margin: 6px 0 8px; }
.workflow-step p { color: var(--text-muted); font-size: 14px; }

/* Two-column split (where PFS helps / where judgement leads) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split .feature-card.accent { border-color: var(--accent); }
.split .feature-card.accent h3 { color: var(--accent); }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--border); border-radius: 8px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.compare th, table.compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare thead th { background: var(--bg-input); color: #fff; font-weight: 600; font-size: 13px; }
table.compare tbody th { color: #fff; font-weight: 600; width: 26%; }
table.compare td { color: var(--text-muted); }
table.compare td.pfs { color: #e2e8f0; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }

/* FAQ (as woodland.html) */
.faq-container { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.faq-item h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Closing call to action (as gallery.html) */
.page-cta { text-align: center; padding: 54px 24px; margin: 50px 0; background: linear-gradient(135deg, rgba(18,20,24,1) 0%, rgba(11,12,14,1) 100%);
  border: 1px solid var(--border); border-radius: 12px; }
.page-cta h2 { font-size: 28px; margin-bottom: 10px; }
.page-cta h2 span { color: var(--accent); }
.page-cta p { color: var(--text-muted); max-width: 640px; margin: 0 auto 24px; font-size: 15px; }
.page-cta .buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-cta .form-subtext { display: block; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

footer { text-align: center; padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12px; }
footer .footer-links { display: flex; gap: 10px 16px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
footer a { color: var(--text-muted); font-size: 12px; text-decoration: underline; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* --- Lightbox (as gallery.html) --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(5, 6, 7, 0.9); backdrop-filter: blur(8px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px; }
.modal-overlay.is-active { opacity: 1; pointer-events: auto; }
.modal-wrapper { position: relative; max-width: 92vw; max-height: 85vh; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.is-active .modal-wrapper { transform: scale(1); }
.modal-wrapper img { display: block; max-width: 92vw; max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.modal-caption { padding: 10px 14px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); max-width: 92vw; }
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--border); color: #fff;
  font-size: 24px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s; z-index: 1010; }
.modal-close-btn:hover { background: var(--accent); color: #000; }
