/* landing/templates/landing/index.html — extracted from inline <style> in PR-11. */

  /* ── Landing overrides (typography inherited from base_master via tokens) ── */
  body {
    font-family: var(--font-body);
  }

  .wrap {
    width: min(var(--maxw), calc(100% - 48px));
    margin: 0 auto;
  }

  /* ── Hero ── */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 100px 0 60px;
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.35;
  }
  .hero-content {
    position: relative; z-index: 1; width: 100%;
  }
  .hero-media {
    max-width: 820px;
    margin: 0 auto;
  }
  .hero-media img {
    width: 100%; height: auto;
    animation: heroIn .8s ease both;
  }
  @keyframes heroIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
  }
  .hero-tagline {
    text-align: center;
    margin-top: 100px;
    animation: fadeUp .6s ease .3s both;
  }
  .hero-tagline h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 12px;
  }
  .hero-tagline p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── Features ── */
  .features { padding: 20px 0 80px; }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 16px;
    padding: 32px 28px;
    transition: background .3s ease, transform .3s ease;
  }
  .feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
  }
  .feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .feature-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-hover);
  }
  .feature-icon.cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-cyan);
  }
  .feature-icon.purple {
    background: rgba(167, 139, 250, 0.12);
    color: var(--color-purple);
  }
  .feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .feature-card p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
  }

  /* ── Sobre ── */
  .sobre { padding: 20px 0 80px; }
  .sobre-card {
    background: rgba(255, 255, 255, 0.025);
    border: none;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
  }
  .sobre-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  }
  .sobre-label {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-hover);
    margin-bottom: 16px;
  }
  .sobre-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
  }
  .sobre-card p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 720px;
  }
  .sobre-card p:last-of-type { margin-bottom: 0; }

  /* ── Footer ── */
  .landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    padding: 40px 0 48px;
  }
  .footer-inner {
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-brand {
    font-family: var(--font-heading);
    font-weight: 600; font-size: 1rem;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 8px;
  }
  .footer-brand-icon {
    font-size: 1rem;
    color: var(--text-secondary);
  }
  .footer-contact { text-align: right; }
  .footer-contact-label {
    font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 4px;
  }
  .footer-contact a {
    color: var(--text-primary); text-decoration: none;
    font-size: .95rem; transition: color .2s ease;
  }
  .footer-contact a:hover { color: var(--accent-hover); }
  .footer-copy {
    text-align: center;
    margin-top: 32px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: .82rem;
  }
  .footer-legal {
    text-align: center;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .82rem;
  }
  .footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s ease;
  }
  .footer-legal a:hover { color: var(--accent-hover); }
  .footer-legal span { color: var(--text-secondary); opacity: 0.4; }

  /* ── Responsive ── */
  @media (max-width: 900px) {
    .wrap { width: calc(100% - 32px); }
    .hero { min-height: auto; padding: 80px 0 32px; }
    .hero-media { max-width: 100%; }
    .hero-tagline h1 { font-size: 1.25rem; }
    .features-grid { grid-template-columns: 1fr; }
    .sobre-card { padding: 28px 24px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
    .footer-contact { text-align: center; }
  }

  /* ── Scroll reveal ── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }

  /* ── Light mode overrides ── */
  [data-theme="light"] .hero::before {
    opacity: 0.15;
  }
  [data-theme="light"] .hero-media img {
    filter: invert(1);
  }
  [data-theme="light"] .feature-card {
    background: rgba(0, 0, 0, 0.025);
  }
  [data-theme="light"] .feature-card:hover {
    background: rgba(0, 0, 0, 0.045);
  }
  [data-theme="light"] .sobre-card {
    background: rgba(0, 0, 0, 0.02);
  }
  [data-theme="light"] .sobre-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  }
  [data-theme="light"] .landing-footer {
    border-top-color: rgba(0, 0, 0, 0.06);
  }
  [data-theme="light"] .footer-copy {
    border-top-color: rgba(0, 0, 0, 0.06);
  }
