/* ========================================================
   DAPPLESOFT NEXUS — EXECUTIVE LIGHT PRODUCT LANDING PAGE
   Aesthetic harmonized with Dapplesoft Logo & Login Portal:
   #00E5FF (Cyan) -> #2979FF (Blue) -> #651FFF (Violet)
   ======================================================== */

.landing-body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  background: linear-gradient(140deg, #f4fbff 0%, #eff5ff 48%, #f4f0ff 100%);
  color: #0f172a;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ── Ambient Background Glow Orbs ── */
.landing-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.landing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
}

.orb-primary {
  width: 500px;
  height: 500px;
  background: #2979ff;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.18;
}

.orb-violet {
  width: 450px;
  height: 450px;
  background: #651fff;
  top: 200px;
  right: -80px;
  opacity: 0.16;
}

.orb-cyan {
  width: 420px;
  height: 420px;
  background: #00e5ff;
  top: 160px;
  left: -80px;
  opacity: 0.20;
}

/* ── Top Navigation Bar (Frosted Light) ── */
.landing-nav {
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(41, 121, 255, 0.12);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
  z-index: 50;
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}

.landing-nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(41, 121, 255, 0.22);
  box-shadow: 0 4px 14px -2px rgba(41, 121, 255, 0.22);
  padding: 3px;
  box-sizing: border-box;
  display: block;
  object-fit: contain;
}

.landing-nav-title {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 52%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.landing-nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.landing-nav-link:hover {
  color: #1d4ed8;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Dapplesoft SSO Buttons ── */
.btn-sso-header {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: #ffffff;
  border: 1px solid rgba(41, 121, 255, 0.28);
  border-radius: 10px;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px -2px rgba(41, 121, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sso-header:hover {
  background: linear-gradient(135deg, #0091ea 0%, #2979ff 48%, #651fff 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(41, 121, 255, 0.4);
  transform: translateY(-1px);
}

.sso-badge-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* ── Hero Section ── */
.landing-hero {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(41, 121, 255, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(41, 121, 255, 0.12);
}

.hero-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-headline {
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 auto 20px;
  max-width: 950px;
  color: #0f172a;
}

.hero-headline span.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #00b8d4 0%, #2979ff 50%, #651fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #475569;
  max-width: 750px;
  margin: 0 auto 36px;
  font-weight: 450;
}

.hero-subtitle strong {
  color: #1d4ed8;
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-sso-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0091ea 0%, #2979ff 48%, #651fff 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -4px rgba(41, 121, 255, 0.42);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-sso-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(101, 31, 255, 0.48);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(41, 121, 255, 0.22);
  border-radius: 12px;
  color: #1e40af;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
}

.hero-secondary-btn:hover {
  background: #ffffff;
  border-color: #2979ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(41, 121, 255, 0.18);
}

.sso-icon {
  width: 22px;
  height: 22px;
}

.sso-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.hero-sso-cta:hover .sso-arrow {
  transform: translateX(4px);
}

/* ── Interactive Mockup Card (Light Glassmorphic Frame with Top Accent) ── */
.hero-mockup-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(41, 121, 255, 0.2);
  box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.12), 0 6px 20px -4px rgba(41, 121, 255, 0.12);
  overflow: hidden;
}

.mockup-card-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #00e5ff 0%, #2979ff 50%, #651fff 100%);
}

.mockup-header {
  padding: 14px 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
  margin-left: 10px;
  font-size: 0.82rem;
  font-family: 'Fira Code', monospace;
  color: #64748b;
  font-weight: 500;
}

.mockup-body {
  padding: 24px 28px;
  text-align: left;
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  background: #ffffff;
  color: #1e293b;
}

.mockup-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mockup-prompt { color: #0284c7; font-weight: 700; }
.mockup-agent { color: #7c3aed; font-weight: 700; }
.mockup-success { color: #059669; font-weight: 600; }
.mockup-code { color: #b45309; }

/* ── Features Section (Light Glass Cards) ── */
.landing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #0f172a;
}

.section-desc {
  font-size: 1.1rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(41, 121, 255, 0.16);
  border-radius: 18px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(41, 121, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 121, 255, 0.38);
  background: #ffffff;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(41, 121, 255, 0.14);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(41, 121, 255, 0.1) 100%);
  border: 1px solid rgba(41, 121, 255, 0.22);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #0f172a;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* ── Ecosystem Banner ── */
.ecosystem-banner {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07) 0%, rgba(41, 121, 255, 0.07) 50%, rgba(101, 31, 255, 0.07) 100%);
  border: 1px solid rgba(41, 121, 255, 0.2);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 40px auto;
  max-width: 1152px;
  box-shadow: 0 14px 40px -10px rgba(41, 121, 255, 0.1);
}

.ecosystem-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #ffffff;
  border: 1px solid rgba(41, 121, 255, 0.2);
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.eco-pill:hover {
  transform: translateY(-2px);
  border-color: #2979ff;
}

.eco-pill img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

/* ── Footer ── */
.landing-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-brand img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand span {
  font-weight: 700;
  color: #1e293b;
}

/* ── Error Toast ── */
.auth-error-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slide-down 0.3s ease;
}

@keyframes slide-down {
  from { opacity: 0; transform: translate(-50%, -15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .landing-nav-links { display: none; }
  .landing-nav { padding: 12px 18px; }
  .ecosystem-banner { padding: 28px 18px; }
}
