/* Landing page – full width, interactive, black theme */
html {
  scroll-behavior: smooth;
}

.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f1f5f9;
}

/* ----- Nav: full width, sticky, interactive ----- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, box-shadow 0.2s;
}

.landing-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.landing-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.375rem;
  color: #f1f5f9;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s, transform 0.2s;
}

.landing-nav-brand:hover {
  color: #fff;
  transform: scale(1.02);
  text-decoration: none;
}

.landing-nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s;
}

.landing-nav-brand:hover .landing-nav-logo {
  transform: rotate(-5deg);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.landing-nav-links a:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.landing-nav-links .btn-primary {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
}

.landing-nav-links .btn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  transform: translateY(-1px);
}

.landing-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #e2e8f0;
}

.landing-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.landing-nav.nav-open .landing-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.landing-nav.nav-open .landing-nav-toggle span:nth-child(2) {
  opacity: 0;
}
.landing-nav.nav-open .landing-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .landing-nav-toggle { display: flex; }
  .landing-nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  .landing-nav.nav-open .landing-nav-links { display: flex; }
  .landing-nav-links a { width: 100%; text-align: center; padding: 0.75rem; }
}

/* ----- Hero: full width ----- */
.landing-hero {
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  box-sizing: border-box;
}

.landing-hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.landing-hero:hover .landing-hero-logo {
  transform: scale(1.05);
}

.landing-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

.landing-hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 2.5rem;
  max-width: 560px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.landing-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-hero-actions .btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.landing-hero-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
  color: #fff;
}

.landing-hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ----- Section common: full width, inner max-width ----- */
.landing-section {
  width: 100%;
  padding: 5rem 2rem;
  box-sizing: border-box;
  opacity: 0.9;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.landing-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.landing-section-lead {
  font-size: 1.125rem;
  color: #94a3b8;
  text-align: center;
  margin: 0 0 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* ----- Workflow ----- */
.landing-workflow {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 0.5rem;
}

.workflow-step {
  flex: 1 1 200px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.workflow-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.workflow-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #f1f5f9;
}

.workflow-step p {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.workflow-arrow {
  color: #475569;
  font-size: 1.5rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .workflow-arrow { display: none; }
}

/* ----- Uses ----- */
.landing-uses {
  background: #0f172a;
}

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

.use-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.use-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.use-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.use-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #f1f5f9;
}

.use-card p {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ----- About ----- */
.landing-about {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ----- Collaboration ----- */
.landing-collab {
  background: #0f172a;
}

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

.collab-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.collab-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.25);
}

.collab-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #f1f5f9;
}

.collab-card p {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.collab-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.collab-cta p {
  margin-bottom: 1rem;
}

.collab-cta .btn-secondary {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.collab-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ----- Contact ----- */
.landing-contact {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  font-size: 1.125rem;
  font-weight: 500;
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
}

/* ----- Footer: full width ----- */
.landing-footer {
  width: 100%;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0f172a;
  box-sizing: border-box;
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.landing-footer-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.landing-footer-copy {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
  .landing-hero {
    padding: 3rem 1rem;
    min-height: 80vh;
  }
  .landing-hero-actions {
    flex-direction: column;
  }
  .landing-hero-actions a {
    width: 100%;
    max-width: 280px;
  }
  .landing-section {
    padding: 3rem 1rem;
  }
  .landing-section-lead {
    margin-bottom: 2rem;
  }
}
