/* ── Landing Page Styles ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #030712;
  --bg-card: rgba(17, 24, 39, 0.7);
  --border-glow: rgba(59, 130, 246, 0.25);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-inter);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients Mesh */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Header */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  backdrop-filter: blur(12px);
  background: rgba(3, 7, 18, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
  transition: all 0.3s ease;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  filter: drop-shadow(0 0 8px var(--accent-blue));
}

.logo-text {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  display: block;
  font-weight: 600;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.btn-portal {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-portal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-tag {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(6, 182, 212, 0.1); }
  100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); border-color: rgba(6, 182, 212, 0.5); }
}

.hero-title {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1.1;
  max-width: 900px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 70%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.btn-primary-lg {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  color: #fff;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5);
}

.btn-secondary-lg {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Feature Preview (Live CSS Dashboard Mock) */
.preview-container {
  width: 100%;
  max-width: 1000px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateX(10deg);
  animation: float 6s ease-in-out infinite;
  margin-bottom: 2rem;
}

@keyframes float {
  0%, 100% { transform: perspective(1000px) rotateX(8deg) translateY(0); }
  50% { transform: perspective(1000px) rotateX(8deg) translateY(-15px); }
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

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

.preview-title {
  font-family: var(--font-outfit);
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.preview-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 16px;
}

.chart-header-mock {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.chart-bars-mock {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-top: 10px;
}

.bar-mock {
  width: 12%;
  background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
  border-radius: 4px 4px 0 0;
  transition: height 1.5s ease-out;
  position: relative;
}

.bar-mock::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.15), transparent);
  border-radius: 4px 4px 0 0;
}

.bar-mock.val-1 { height: 40%; }
.bar-mock.val-2 { height: 65%; }
.bar-mock.val-3 { height: 50%; }
.bar-mock.val-4 { height: 85%; }
.bar-mock.val-5 { height: 70%; }
.bar-mock.val-6 { height: 95%; }

.stats-list-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 8px;
}

.stat-item-mock:last-child {
  border-bottom: none;
}

.stat-item-label {
  color: var(--text-secondary);
}

.stat-item-value {
  font-family: monospace;
  color: #a5f3fc;
  font-weight: 700;
}

/* Features Grid */
.features-section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-box.blue { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.feature-icon-box.cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.feature-icon-box.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }

.feature-title {
  font-family: var(--font-outfit);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Call to Action Section */
.cta-banner {
  margin: 6rem 4rem;
  padding: 4rem;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.02)), rgba(10, 15, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--font-outfit);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 4rem;
  background: #020617;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-family: var(--font-outfit);
  font-weight: 700;
  color: var(--text-secondary);
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .landing-header {
    padding: 0 2rem;
  }
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .features-section, .cta-banner {
    padding: 3rem 2rem;
    margin: 3rem 1.5rem;
  }
  .landing-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 3rem 2rem;
  }
}
