/*
landing.css

Styles for templates/landing.html only. Kept in its own file, separate
from style.css (the dashboard app's stylesheet), and every selector
here is scoped under the "landing-" prefix — this page is a candidate
for a future standalone React rebuild, so nothing here should depend
on (or be depended on by) the dashboard's CSS. It still pulls its
color tokens (--bg, --surface, --accent, etc.) and the Inter font from
style.css so the two look like one product, but layout, spacing, and
type scale here are sized for a marketing page rather than the dense
dashboard UI.
*/

.landing-page {
  overflow-x: hidden;
}

.landing-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 40px;
}

.landing-section-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 12px 0;
  text-align: center;
}

.landing-section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  text-align: center;
}

.landing-section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* Navbar */
.landing-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 8, 40, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.landing-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.landing-navbar-brand img {
  display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 12px rgba(59,130,246,0.25);
}
.landing-navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-navbar-actions a.landing-link-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  transition: color 0.15s;
}
.landing-navbar-actions a.landing-link-btn:hover { color: var(--text); }

/* Hero */
.landing-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 40px 100px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,0.14), transparent 55%);
}
.landing-hero h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px 0;
}
.landing-hero h1 .landing-accent-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-hero p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 36px;
}
.landing-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.landing-btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 10px;
  border: none;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.landing-btn:active { transform: scale(0.98); }
.landing-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.landing-btn-primary:hover { box-shadow: 0 6px 26px rgba(59,130,246,0.5); }
.landing-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.landing-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.landing-hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}

/* "Works with" trust strip (provider logos, below the hero) */
.landing-trust-strip {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 90px;
  text-align: center;
}
.landing-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.landing-trust-logo,
.landing-trust-wordmark {
  height: 34px;
  /* Muted/grayscale by default — a common "integrates with" strip
     treatment — with full color returning on hover. Shared by the
     logo <img>s and the text wordmarks below so both read as one
     consistent row. */
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.landing-trust-logo { width: auto; }
.landing-trust-logo:hover,
.landing-trust-wordmark:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}

/* Azure/AWS shown as text wordmarks, not logo images — see the HTML
   comment above the trust strip markup for why. Sized/spaced to sit
   in the same row as the GitLab/GitHub logo images: same 34px row
   height, vertically centered via inline-flex, same font stack as
   the rest of the site (inherited from body). */
.landing-trust-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.landing-trust-wordmark-azure { color: #0078D4; }
.landing-trust-wordmark-aws { color: #FF9900; }

/* Features */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.landing-feature-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(19,26,43,0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.landing-feature-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.landing-feature-icon {
  font-size: 22px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border-radius: 10px;
  margin-bottom: 18px;
}
.landing-feature-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.landing-feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* How it works */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: landing-step;
}
.landing-step {
  text-align: center;
  position: relative;
}
.landing-step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(59,130,246,0.35);
}
.landing-step-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.landing-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto;
}

/* Pricing */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.landing-pricing-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(19,26,43,0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.landing-pricing-card.landing-pricing-highlight {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(59,130,246,0.25);
  transform: scale(1.03);
  position: relative;
}
.landing-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
}
.landing-pricing-tier {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.landing-pricing-price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.landing-pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.landing-pricing-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.landing-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-pricing-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.landing-pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}
.landing-pricing-card .landing-btn {
  text-align: center;
  width: 100%;
  padding: 12px;
}

/* Testimonials */
.landing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.landing-testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.landing-testimonial-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
}
.landing-testimonial-quote::before { content: "\201C"; }
.landing-testimonial-quote::after { content: "\201D"; }
.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-testimonial-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.landing-testimonial-role {
  font-size: 12.5px;
  color: var(--text-faint);
}

/* FAQ */
.landing-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.landing-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.landing-faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.landing-faq-item[data-open="true"] .landing-faq-icon {
  transform: rotate(45deg);
}
.landing-faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.landing-faq-answer[hidden] { display: none; }

/* CTA band */
.landing-cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(6,182,212,0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 40px;
}
.landing-cta-band h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}
.landing-cta-band p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin: 0 0 32px 0;
}

/* Footer */
.landing-footer {
  padding: 40px;
  text-align: center;
}
.landing-footer-brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.landing-footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 16px;
}
.landing-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}
.landing-footer-links a:hover { color: var(--text); }
.landing-footer-copyright {
  color: var(--text-faint);
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .landing-section { padding: 64px 22px; }
  .landing-hero { padding: 90px 22px 64px; }
  .landing-hero h1 { font-size: 36px; }
  .landing-hero p { font-size: 16px; }
  .landing-navbar { padding: 14px 20px; }
  .landing-pricing-card.landing-pricing-highlight { transform: none; }
}

/* ==============================================================
   DOCUMENT PAGES — templates/privacy.html and templates/terms.html.
   Public, no-login policy pages: a single readable column of prose,
   not the dashboard sidebar shell and not the marketing-section
   layout above (.landing-section etc.) — just a simple document, so
   it gets its own lightweight styling here rather than reusing
   either. Still shares .landing-navbar (the top brand link back to
   "/") and .landing-footer with landing.html, and the same color
   tokens, so it reads as the same product.
================================================================= */
.doc-page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.doc-page-back {
  display: inline-block;
  color: var(--accent-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 28px;
}
.doc-page-back:hover { text-decoration: underline; }
.doc-page-content h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.doc-page-updated {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 40px 0;
}
.doc-page-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px 0;
}
.doc-page-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.doc-page-content p strong {
  color: var(--text);
}
.doc-page-content ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.doc-page-content li { margin-bottom: 6px; }
.doc-page-content a { color: var(--accent-2); }

@media (max-width: 640px) {
  .doc-page-content { padding: 40px 20px 64px; }
  .doc-page-content h1 { font-size: 25px; }
}
