/* Marketing Landing Page Styles */

/* Ensure body & html scroll freely on marketing page */
body.marketing-body {
  overflow: auto !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
}

html:has(.marketing-body), html:has(.marketing-page) {
  overflow: auto !important;
  overflow-y: auto !important;
  height: auto !important;
}

.marketing-page {
  min-height: 100vh;
  background: var(--bg-gradient, linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%));
  color: var(--text-primary, #f8fafc);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

/* Header & Nav */
.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
}

.marketing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.marketing-brand-svg {
  width: 36px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
  transition: transform 0.25s ease;
}

.marketing-brand:hover .marketing-brand-svg {
  transform: scale(1.08);
}

.marketing-brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marketing-brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marketing-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marketing-nav-link {
  color: var(--text-secondary, #94a3b8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.marketing-nav-link:hover {
  color: #ffffff;
}

.marketing-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.marketing-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

/* Container */
.marketing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

/* Hero Background Watermark Logo */
.hero-bg-logo-container {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 580px;
  max-width: 90vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: drop-shadow(0 0 60px rgba(99, 102, 241, 0.5));
}

.hero-bg-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 9999px;
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

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

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary, #94a3b8);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Product Showcase Frame */
.showcase-frame {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1050px;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease;
}

.showcase-frame:hover {
  transform: translateY(-4px);
}

.showcase-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.9);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dot-red { background: #ef4444; }
.window-dot-yellow { background: #f59e0b; }
.window-dot-green { background: #10b981; }

.window-title {
  margin-left: 12px;
  font-size: 0.8rem;
  color: #64748b;
  font-family: monospace;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Feature Highlights Grid */
.features-section {
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: #6366f1;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary, #94a3b8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #818cf8;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.feature-card-text {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Comparison / Transformation Section */
.transformation-section {
  padding: 5rem 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-box {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-box-before {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.comparison-box-after {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.comparison-box-before .comparison-header { color: #f87171; }
.comparison-box-after .comparison-header { color: #34d399; }

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary, #94a3b8);
}

.comparison-item-bullet {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Stats / Impact Counter */
.stats-section {
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Bottom CTA Banner */
.cta-banner {
  margin: 4rem auto;
  max-width: 1000px;
  padding: 3.5rem 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-banner-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.marketing-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #94a3b8;
}

/* Responsive queries */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-bg-logo-container {
    width: 340px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .marketing-nav-links {
    display: none;
  }
}
