/* ============================================
   Lunav Landing Page — Corporate Styles
   Colors: #ff9b03 (Accent), #1c2441 (Primary), #2b3766 (Secondary), #3a498a (Third)
   ============================================ */

:root {
  --accent-orange: #ff9b03;
  --primary-navy: #1c2441;
  --secondary-navy: #2b3766;
  --third-navy: #3a498a;
  --text-light: #f0f2f5;
  --text-muted: #a8b2c4;
  --bg-dark: #0f1420;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--primary-navy);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Sticky Header (appears on scroll)
   ============================================ */

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 36, 65, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 155, 3, 0.2);
  padding: 0.75rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.header-content {
  width: 100%;
  max-width: none;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.sticky-header .logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-header .logo-placeholder img {
  height: 1.25rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.sticky-header .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.sticky-header .logo-text::first-letter {
  color: var(--accent-orange);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-branding {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-branding.faded {
  opacity: 0.4;
  transform: translateY(-20px);
}

.logo-space {
  margin-bottom: 1.5rem;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  height: 3.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-logo .logo-text {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light);
  text-shadow: 0 0 40px rgba(255, 155, 3, 0.2);
  display: inline-block;
  transform-origin: center center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-logo .logo-text::first-letter {
  color: var(--accent-orange);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.cta-button:hover {
  background: #ffad33;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 155, 3, 0.35);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 155, 3, 0.08) 0%, rgba(58, 73, 138, 0.2) 40%, transparent 70%);
  border-radius: 50%;
}

/* ============================================
   Section Base Styles
   ============================================ */

.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

/* ============================================
   Problem Section
   ============================================ */

.problem-section {
  background: var(--bg-dark);
}

.problem-section .section-title {
  margin-bottom: 1.25rem;
}

.problem-lead {
  font-size: 1.35rem;
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 100%;
}

@media (max-width: 600px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  background: var(--secondary-navy);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(58, 73, 138, 0.5);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   Solution Section
   ============================================ */

.solution-section {
  background: var(--primary-navy);
}

.solution-section .section-title {
  margin-bottom: 1.25rem;
}

.solution-lead {
  font-size: 1.35rem;
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  background: var(--secondary-navy);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1.05rem;
  border-left: 4px solid var(--accent-orange);
}

.feature-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 1rem 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.feature-row {
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-label--today {
  color: var(--accent-orange);
}

.feature-label--lunav {
  color: var(--accent-orange);
}

.vision-statement blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--third-navy);
}

/* ============================================
   Audience Section
   ============================================ */

.audience-section {
  background: var(--secondary-navy);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background: var(--third-navy);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   Email Capture Section
   ============================================ */

.email-section {
  background: var(--primary-navy);
}

.email-card {
  background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--third-navy) 100%);
  border: 1px solid rgba(58, 73, 138, 0.5);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.email-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.email-subtitle {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.email-subtitle:last-of-type {
  margin-bottom: 2.5rem;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

/* Honeypot: hidden from users, bots that fill it are rejected with fake success */
.honeypot-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.email-input {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--third-navy);
  border-radius: 8px;
  background: var(--primary-navy);
  color: var(--text-light);
  transition: border-color var(--transition-smooth);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.email-submit {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--accent-orange);
  color: var(--primary-navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}

.email-submit:hover {
  background: #ffad33;
  transform: translateY(-1px);
}

.email-submit:disabled,
.email-submit[aria-busy="true"] {
  background: rgba(255, 155, 3, 0.5);
  color: var(--primary-navy);
  cursor: not-allowed;
  transform: none;
}

.email-submit:disabled:hover,
.email-submit[aria-busy="true"]:hover {
  background: rgba(255, 155, 3, 0.5);
  transform: none;
}

.email-privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.email-message {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.email-message--error {
  color: #f87171;
}

.email-success {
  text-align: center;
  padding: 0.5rem 0;
}

.email-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  background: rgba(255, 155, 3, 0.2);
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
}

.email-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.email-success-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
  background: var(--bg-dark);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--secondary-navy);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(58, 73, 138, 0.5);
  overflow: hidden;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  transition: background var(--transition-smooth);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent-orange);
  transition: transform var(--transition-smooth);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: rgba(255, 155, 3, 0.08);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================
   Footer — compact industry-standard (Asana/Monday/ClickUp style)
   ============================================ */

.footer {
  background: var(--primary-navy);
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(58, 73, 138, 0.5);
}

.footer .container {
  max-width: none;
  width: 100%;
}

.footer-bar {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-logo img {
  height: 0.9375rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo span::first-letter {
  color: var(--accent-orange);
}

.footer-logo:hover {
  color: var(--text-light);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.footer-links a:hover,
.footer-links a:visited {
  color: var(--accent-orange);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-note {
  flex: 1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin: 0;
  min-width: 0;
}

/* ============================================
   Scroll-triggered fade-in animations
   ============================================ */

.section [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid items */
.problem-grid .problem-card:nth-child(1)[data-animate] { transition-delay: 0.05s; }
.problem-grid .problem-card:nth-child(2)[data-animate] { transition-delay: 0.15s; }
.problem-grid .problem-card:nth-child(3)[data-animate] { transition-delay: 0.25s; }

.audience-grid .audience-card:nth-child(1)[data-animate] { transition-delay: 0.05s; }
.audience-grid .audience-card:nth-child(2)[data-animate] { transition-delay: 0.15s; }
.audience-grid .audience-card:nth-child(3)[data-animate] { transition-delay: 0.25s; }

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 1rem 3rem;
  }
  
  .hero-logo .logo-text {
    font-size: 2.5rem;
  }

  .hero-logo img {
    height: 2.5rem;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .section {
    padding: 3.5rem 1rem;
  }
}
