:root {
  --bg: #05060e;
  --bg-secondary: #0f1121;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-deep: rgba(255, 255, 255, 0.02);
  --success: #4ade80;
  --warning: #f59e0b;
  --danger: #fb7185;
  --text: #f8f9fa;
  --text-secondary: #e0e1e8;
  --muted: rgba(248, 249, 250, 0.5);
  --brand: #7c3aed;
  --brand-light: #a78bfa;
  --brand-dark: #6d28d9;
  --accent: #c084fc;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-secondary) 100%);
  color: var(--text);
  min-height: 100vh;
  letter-spacing: 0.3px;
}

.app {
  margin: 0;
  padding: 0;
}

.landing {
  scroll-snap-type: y proximity;
}

section {
  scroll-snap-align: start;
}

.header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 20px 0;
}

.header h1 {
  font-size: 2.4rem;
  margin: 0;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), var(--glass-deep));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-highlight);
  padding: 28px;
  margin-bottom: 18px;
  backdrop-filter: blur(26px) saturate(130%);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 600;
}

.card h3 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(192, 132, 252, 0.1));
  color: white;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
  border-color: rgba(192, 132, 252, 0.25);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(192, 132, 252, 0.08));
}

.btn-primary {
  padding: 14px 32px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
  border: none !important;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(192, 132, 252, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(192, 132, 252, 0.2) !important;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #7f1d1d) !important;
  border: none !important;
  color: #fecaca !important;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #991b1b, #450a0a) !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3) !important;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
  backdrop-filter: blur(14px) saturate(120%);
  transition: all 0.2s ease;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.15);
}

textarea.input {
  min-height: 140px;
  resize: vertical;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 0.9rem;
}

.notice {
  padding: 14px 16px;
  background: rgba(124, 58, 237, 0.1);
  border-left: 4px solid var(--accent);
  margin-bottom: 16px;
  border-radius: 8px;
}

.error {
  color: #ff6b6b;
  margin-top: 8px;
  font-size: 0.9rem;
}

.status-alert {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px) saturate(120%);
  padding: 12px 14px;
}

.status-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.status-message {
  font-size: 0.86rem;
  margin-top: 5px;
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.45;
}

.status-success {
  border-color: rgba(74, 222, 128, 0.45);
}

.status-success .status-title {
  color: var(--success);
}

.status-warning {
  border-color: rgba(245, 158, 11, 0.45);
}

.status-warning .status-title {
  color: var(--warning);
}

.status-error {
  border-color: rgba(251, 113, 133, 0.45);
}

.status-error .status-title {
  color: var(--danger);
}

.marketing-landing {
  background-color: #000;
  color: #f5f5f7;
}

.marketing-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  z-index: 1000;
}

.marketing-nav-logo {
  height: 24px;
  filter: brightness(1.2);
}

.marketing-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketing-nav-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: #d4d4d8;
}

.section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.marketing-hero {
  padding-top: 80px;
}

.hero-logo {
  width: 120px;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.marketing-landing h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.subtitle {
  color: #86868b;
  font-size: 24px;
  margin-top: 10px;
}

.marketing-pricing {
  justify-content: flex-start;
  padding-top: 130px;
}

.marketing-heading {
  font-size: 32px;
  margin-bottom: 40px;
}

.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
  border-color: #a78bfa;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.pricing-title {
  color: #a78bfa;
  margin: 0;
}

.price-tag {
  font-size: 32px;
  font-weight: 600;
  margin: 15px 0;
}

.price-sub {
  font-size: 16px;
  color: #86868b;
}

.glass-card ul {
  list-style: none;
  color: #86868b;
  margin: 0;
  padding: 0;
}

.glass-card li {
  margin-bottom: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.reveal.active,
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .pricing-container {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .marketing-landing h1 {
    font-size: 42px;
  }

  .subtitle {
    font-size: 18px;
  }
}

.success {
  color: #51cf66;
  margin-top: 8px;
  font-size: 0.9rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table th,
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== ANIMATIONS ========== */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes subtle-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes smooth-shift {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-subtle {
  0%, 100% {
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.35);
  }
}

@keyframes slide-up-content {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes subtle-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.1);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(167, 139, 250, 0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

.fade-in-up {
  animation: fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up-delay-1 {
  animation: fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.fade-in-up-delay-2 {
  animation: fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.fade-in-up-delay-3 {
  animation: fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-side {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-side.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ========== LANDING PAGE ========== */

.landing {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Navigation Bar */
.nav-bar {
  position: sticky;
  top: 0;
  background: rgba(5, 6, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 20px;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: -0.5px;
}

.logo-text {
  background: linear-gradient(135deg, var(--accent), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .logo-text {
  transform: scale(1.04);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: rgba(248, 249, 250, 0.85);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-links .btn {
  padding: 10px 16px;
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 120px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 22% 25%, rgba(167, 139, 250, 0.35), transparent 48%),
              radial-gradient(circle at 72% 65%, rgba(124, 58, 237, 0.25), transparent 52%),
              var(--bg);
  scroll-snap-align: start;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.06), transparent 55%),
              radial-gradient(circle at 30% 80%, rgba(124, 58, 237, 0.06), transparent 55%);
  opacity: 0.8;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.65;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite;
}

.hero-orb.orb-1 {
  top: 8%;
  left: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.5), transparent 55%);
}

.hero-orb.orb-2 {
  bottom: 10%;
  right: 12%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.45), transparent 60%);
}

.floating-card {
  width: 170px;
  height: 210px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.95;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-12px) translateZ(10px) scale(1.01);
  opacity: 1;
}

/* How It Works */
.how-it-works {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  scroll-snap-align: start;
}

.how-content {
  max-width: 1000px;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  margin: 0 0 18px 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.7px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 auto 50px auto;
  max-width: 720px;
  line-height: 1.6;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.how-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.24);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.75), rgba(167, 139, 250, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* Feature Sections */
.feature-section {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-section-alt {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, rgba(192, 132, 252, 0.02) 100%);
}

.feature-content {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.feature-text {
  position: relative;
}

.section-number {
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(192, 132, 252, 0.12);
  margin: 0;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -3px;
}

.feature-heading {
  font-size: 2.8rem;
  margin: 0 0 24px 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.8px;
}

.feature-description {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 32px 0;
  letter-spacing: 0.2px;
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit {
  font-size: 1.05rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(192, 132, 252, 0.04));
  border: 2px solid rgba(192, 132, 252, 0.15);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.26, 0.64, 1);
  backdrop-filter: blur(10px);
}

.feature-visual.in-view .visual-placeholder {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(192, 132, 252, 0.08));
  border-color: rgba(192, 132, 252, 0.3);
  box-shadow: 0 8px 30px rgba(192, 132, 252, 0.15);
}

/* CTA Section */
.cta-section {
  width: 100%;
  padding: 140px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(192, 132, 252, 0.04));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: 3.2rem;
  margin: 0 0 18px 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 48px 0;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}

/* Footer */
.footer {
  width: 100%;
  padding: 48px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
  letter-spacing: 0.3px;
}

/* ========== DASHBOARD ========== */

.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-top: 32px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.tab-btn {
  padding: 14px 22px;
  background: none;
  border: none;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-content {
  display: none;
  animation: fade-in 0.3s ease-in;
}

.tab-content.active {
  display: block;
}

/* Dashboard Styles */
.dashboard-greeting {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.dashboard-greeting h2 {
  font-size: 2rem;
  margin: 0 0 8px 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.dashboard-greeting p {
  margin: 0;
  color: var(--muted);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(192, 132, 252, 0.04));
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.26, 0.64, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.metric-card:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(192, 132, 252, 0.08));
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(192, 132, 252, 0.2);
}

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

.metric-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

/* Campaign and Upload Items */
.campaign-item,
.upload-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.campaign-item:hover,
.upload-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(192, 132, 252, 0.1);
}

/* Login Page */
.login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(192, 132, 252, 0.02) 100%);
}

.login-container {
  max-width: 420px;
  width: 100%;
}

.login-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}

.login-card h2 {
  margin: 0 0 14px 0;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.login-card p {
  color: var(--muted);
  margin: 0;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  overflow: hidden;
}

.progress-bar::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.progress-bar::-webkit-progress-value {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

.progress-bar::-moz-progress-bar {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 3px;
}

.progress-percent {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 8px;
  font-weight: 500;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .feature-heading {
    font-size: 2rem;
  }

  .feature-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .feature-visual {
    height: 300px;
  }

  .section-number {
    font-size: 3.5rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .metric-card {
    min-width: auto;
  }

  .dashboard-tabs {
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 120px 16px 100px;
  }

  .hero-visual {
    display: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    letter-spacing: -0.8px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-heading {
    font-size: 1.6rem;
  }

  .section-number {
    font-size: 2.5rem;
  }

  .nav-bar {
    padding: 12px 16px;
  }

  .nav-logo {
    gap: 10px;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo-img {
    width: 70px;
    height: 70px;
  }
}

.header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 20px 0;
}

.header h1 {
  font-size: 2.4rem;
  margin: 0;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 18px;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.98), rgba(99, 102, 241, 0.88));
  color: white;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-primary {
  padding: 14px 28px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--brand), #a78bfa) !important;
  border: none !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}

textarea.input {
  min-height: 140px;
  resize: vertical;
  font-family: monospace;
}

.notice {
  padding: 12px 14px;
  background: rgba(124, 58, 237, 0.12);
  border-left: 4px solid rgba(124, 58, 237, 0.6);
  margin-bottom: 16px;
}

.error {
  color: #f87171;
  margin-top: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.table th {
  color: rgba(243,244,246,0.8);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== ANIMATIONS ========== */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-up {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fade-in-up 1s ease-out;
}

.fade-in-up-delay-1 {
  animation: fade-in-up 1s ease-out 0.2s both;
}

.fade-in-up-delay-2 {
  animation: fade-in-up 1s ease-out 0.4s both;
}

.fade-in-up-delay-3 {
  animation: fade-in-up 1s ease-out 0.6s both;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-side {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-side.in-view {
  opacity: 1;
  transform: translateX(0);
}


/* ========== DASHBOARD ========== */

.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-top: 32px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2rem;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: var(--text);
  border-bottom-color: #a78bfa;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-content {
  display: none;
  animation: fade-in 0.3s ease-in;
}

.tab-content.active {
  display: block;
}

/* Dashboard Styles */
.dashboard-greeting {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.dashboard-greeting h2 {
  font-size: 2rem;
  margin: 0 0 8px 0;
  color: var(--text);
}

.dashboard-greeting p {
  margin: 0;
  color: var(--muted);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.05));
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.1));
  transform: translateY(-2px);
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

/* Campaign and Upload Items */
.campaign-item,
.upload-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.campaign-item:hover,
.upload-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Login Page */
.login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  max-width: 400px;
  width: 100%;
}

.login-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 12px 0;
  font-size: 1.8rem;
  color: #a78bfa;
}

.login-card p {
  color: var(--muted);
  margin: 0;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 16px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  overflow: hidden;
}

.progress-bar::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.progress-bar::-webkit-progress-value {
  background: linear-gradient(90deg, var(--brand), #a78bfa);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-bar::-moz-progress-bar {
  background: linear-gradient(90deg, var(--brand), #a78bfa);
  border-radius: 4px;
}

.progress-percent {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 8px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .feature-heading {
    font-size: 2rem;
  }

  .feature-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-visual {
    height: 250px;
  }

  .section-number {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .metric-card {
    min-width: auto;
  }

  .dashboard-tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-heading {
    font-size: 1.5rem;
  }

  .section-number {
    font-size: 2rem;
  }

  .nav-bar {
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== LOADING OVERLAY ========== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 19, 0.58);
  backdrop-filter: blur(14px) saturate(130%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  padding: 24px 28px;
  min-width: 260px;
}

.loading-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.45));
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #c084fc;
  border-right-color: #c084fc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: #f8f9fa;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ========== ENTERPRISE REDESIGN OVERRIDES ========== */

body {
  background: #0b1020;
  color: #e5e7eb;
}

.enterprise-landing {
  background: linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
}

.enterprise-nav {
  background: rgba(8, 13, 28, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: none;
}

.logo-text {
  background: none;
  -webkit-text-fill-color: #e2e8f0;
  color: #e2e8f0;
  font-weight: 700;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.12);
}

.enterprise-hero {
  min-height: auto;
  padding: 72px 24px 48px;
  background: transparent;
}

.enterprise-hero-content {
  max-width: 1040px;
  text-align: left;
}

.enterprise-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.hero-subtitle {
  max-width: 840px;
  color: #aab4c8;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 22px;
}

.btn {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.5);
  color: #e2e8f0;
  box-shadow: none;
}

.btn:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(30, 41, 59, 0.7);
}

.btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  background: #1d4ed8 !important;
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
}

.enterprise-stats,
.enterprise-section {
  padding: 24px;
}

.enterprise-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.enterprise-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.enterprise-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.enterprise-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.55);
  border-radius: 12px;
  padding: 18px;
  box-shadow: none;
}

.enterprise-card h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: #e2e8f0;
}

.enterprise-card p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
}

.enterprise-list {
  margin: 8px 0 0 0;
  padding-left: 18px;
  color: #a8b3c8;
  line-height: 1.5;
}

.enterprise-footer {
  border-top: 1px solid rgba(71, 85, 105, 0.5);
  margin-top: 24px;
}

.enterprise-dashboard {
  max-width: 1180px;
  padding: 0 20px 36px;
}

.enterprise-dashboard-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dashboard-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sandbox-preview {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.35);
}

.sandbox-preview-body {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  line-height: 1.6;
  color: #dbe4ff;
  white-space: normal;
  word-break: break-word;
}

.dashboard-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  margin: 8px 0;
}

.dashboard-tabs {
  gap: 2px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.65);
}

.tab-btn {
  text-transform: none;
  letter-spacing: 0.2px;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}

.tab-btn.active {
  background: rgba(30, 41, 59, 0.6);
  border-bottom-color: #2563eb;
}

.card {
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.metrics-grid {
  gap: 14px;
}

.metric-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.55);
  border-radius: 10px;
  box-shadow: none;
  transform: none !important;
}

.metric-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(100, 116, 139, 0.9);
}

.metric-icon {
  display: none;
}

.metric-label {
  color: #9aa7bc;
}

.metric-value {
  color: #e2e8f0;
}

.campaign-item,
.upload-item {
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(71, 85, 105, 0.5);
  border-radius: 10px;
}

.campaign-item:hover,
.upload-item:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(100, 116, 139, 0.9);
}

.input,
.textarea,
.select {
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.6);
  background: rgba(2, 6, 23, 0.45);
  color: #e2e8f0;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

@media (max-width: 980px) {
  .enterprise-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .enterprise-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.6rem;
  }
}

.tool-header {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
}

.campaign-item {
  cursor: pointer;
}

.campaign-item.active {
  border-color: rgba(59, 130, 246, 0.85);
  background: rgba(30, 58, 138, 0.25);
}

.campaign-detail-panel {
  border: 1px solid rgba(71, 85, 105, 0.45);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.35);
  padding: 14px;
}

/* ========== LANDING REDESIGN (2026-03) ========== */

.marketing-landing {
  --lp-primary: #8b3dff;
  --lp-primary-dark: #6d28d9;
  --lp-primary-light: #a855f7;
  --lp-bg: #030305;
  --lp-card: rgba(15, 15, 20, 0.7);
  --lp-border: rgba(139, 61, 255, 0.2);
  --lp-text-main: #ffffff;
  --lp-text-dim: #a1a1aa;
  --lp-nav-bg: rgba(0, 0, 0, 0.85);
  --lp-ocean-gradient: linear-gradient(125deg, #05050a 0%, #0a0a1a 25%, #150a25 50%, #0a0a1a 75%, #05050a 100%);
  position: relative;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-text-main);
  overflow: hidden;
}

[data-theme="light"] .marketing-landing {
  --lp-primary: #7c3aed;
  --lp-primary-dark: #5b21b6;
  --lp-primary-light: #a78bfa;
  --lp-bg: #fbfbfd;
  --lp-card: rgba(255, 255, 255, 0.7);
  --lp-border: rgba(124, 58, 237, 0.2);
  --lp-text-main: #1d1d1f;
  --lp-text-dim: #6e6e73;
  --lp-nav-bg: rgba(251, 251, 253, 0.85);
  --lp-ocean-gradient: linear-gradient(125deg, #f0f0f5 0%, #e8e8f0 25%, #e0d8f5 50%, #e8e8f0 75%, #f0f0f5 100%);
}

.marketing-landing .ocean-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--lp-ocean-gradient);
  background-size: 400% 400%;
  animation: oceanFlow 15s ease infinite;
}

@keyframes oceanFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.marketing-landing .marketing-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: var(--lp-nav-bg);
  border-bottom: 1px solid var(--lp-border);
  padding: 14px 0;
  height: auto;
}

.marketing-landing .nav-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
  position: relative;
}

.marketing-landing .logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 auto;
}

.marketing-landing .logo-group img {
  height: 42px;
  filter: drop-shadow(0 0 8px var(--lp-primary));
}

.marketing-landing .marketing-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 18px;
  right: 68px;
  z-index: 10000;
}

.marketing-landing .tenant-signin-btn {
  white-space: nowrap;
}

.marketing-landing .corner-theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  border: 1px solid var(--lp-border);
  background: rgba(10, 20, 35, 0.78);
  color: var(--lp-text-main);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.marketing-landing .corner-theme-toggle:hover {
  background: rgba(22, 40, 67, 0.92);
  transform: translateY(-1px);
}

.marketing-landing .corner-theme-toggle:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}

.marketing-landing .theme-toggle {
  background: var(--lp-border);
  border: none;
  color: var(--lp-text-main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marketing-landing .page-wrapper {
  padding-top: 152px;
  padding-bottom: 100px;
}

.marketing-landing .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.marketing-landing .landing-header {
  margin-bottom: 80px;
  text-align: center;
}

.marketing-landing h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  text-align: center;
}

.marketing-landing h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.marketing-landing h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.marketing-landing p {
  color: var(--lp-text-dim);
  font-size: 15px;
  line-height: 1.6;
}

.marketing-landing .landing-subtitle {
  max-width: 600px;
  margin: 0 auto;
}

.marketing-landing .status-tag {
  background: var(--lp-border);
  color: var(--lp-primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marketing-landing .status-tag-featured {
  background: var(--lp-primary);
  color: #fff;
}

.marketing-landing .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.marketing-landing .col-4 { grid-column: span 4; }
.marketing-landing .col-6 { grid-column: span 6; }
.marketing-landing .col-12 { grid-column: span 12; }

.marketing-landing .card,
.marketing-landing .landing-card,
.marketing-landing .glass-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 0;
}

.marketing-landing .card:hover,
.marketing-landing .landing-card:hover,
.marketing-landing .glass-card:hover {
  border-color: var(--lp-primary);
  transform: translateY(-4px);
}

.marketing-landing .workflow-intro {
  text-align: center;
  background: transparent !important;
  border: none !important;
  padding: 40px 0 !important;
}

.marketing-landing .price-display {
  font-size: 44px;
  font-weight: 700;
  margin: 10px 0;
  color: var(--lp-text-main);
}

.marketing-landing .price-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--lp-text-dim);
}

.marketing-landing .pricing-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.marketing-landing .pricing-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
  color: var(--lp-text-dim);
}

.marketing-landing .landing-cta {
  background: var(--lp-text-main) !important;
  color: var(--lp-bg) !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  box-shadow: none !important;
}

.marketing-landing .landing-cta:hover {
  opacity: 0.9;
  transform: none !important;
}

.marketing-landing .featured-card {
  border-left: 4px solid var(--lp-primary) !important;
}

.marketing-landing .featured-cta {
  background: var(--lp-primary) !important;
  color: #fff !important;
}

.marketing-landing .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.marketing-landing .reveal.active,
.marketing-landing .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.marketing-landing .landing-footer {
  margin-top: 40px;
  border-top: 1px solid var(--lp-border);
  padding-top: 18px;
  text-align: center;
}

.marketing-landing .landing-footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lp-text-main);
}

.marketing-landing .landing-footer-legal,
.marketing-landing .landing-footer-meta {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--lp-text-dim);
  line-height: 1.55;
}

.marketing-landing .landing-footer-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--lp-primary-light);
  font-size: 0.9rem;
  text-decoration: none;
}

.marketing-landing .landing-footer-link:hover {
  text-decoration: underline;
}

/* DASHBOARD LIGHT THEME */
[data-theme="light"] .enterprise-dashboard {
  background: #ffffff;
}

[data-theme="light"] .dashboard-header {
  background: #f5f5f7;
  border-bottom: 1px solid #e5e5e7;
}

[data-theme="light"] .dashboard-header h1 {
  color: #1d1d1f;
}

[data-theme="light"] .dashboard-header p {
  color: #555555;
}

[data-theme="light"] .dashboard-tabs {
  border-bottom-color: #e5e5e7;
}

[data-theme="light"] .tab-btn {
  color: #555555;
  background: transparent;
}

[data-theme="light"] .tab-btn:hover {
  background: #f0f0f2;
}

[data-theme="light"] .tab-btn.active {
  background: #ffffff;
  border-bottom-color: #2563eb;
  color: #1d1d1f;
}

[data-theme="light"] .card {
  background: #ffffff;
  border-color: #e5e5e7;
  color: #1d1d1f;
}

[data-theme="light"] .card h2,
[data-theme="light"] .card h3 {
  color: #1d1d1f;
}

[data-theme="light"] .card p {
  color: #555555;
}

[data-theme="light"] .metric-card {
  background: #ffffff;
  border-color: #e5e5e7;
}

[data-theme="light"] .metric-card:hover {
  border-color: #d0d0d2;
}

[data-theme="light"] .metric-label {
  color: #555555;
}

[data-theme="light"] .metric-value {
  color: #1d1d1f;
}

[data-theme="light"] .input {
  background: #ffffff;
  border-color: #d0d0d2;
  color: #1d1d1f;
}

[data-theme="light"] .input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .btn {
  color: #1d1d1f;
}

[data-theme="light"] .btn-primary {
  background: #2563eb;
  color: #ffffff;
}

[data-theme="light"] .btn-secondary {
  background: #e5e5e7;
  color: #1d1d1f;
}

[data-theme="light"] .btn-secondary:hover {
  background: #d0d0d2;
}

[data-theme="light"] .theme-toggle {
  background: transparent;
  border: 1px solid #d0d0d2;
  color: #1d1d1f;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
}

[data-theme="light"] .theme-toggle:hover {
  background: #f0f0f2;
  border-color: #2563eb;
}

[data-theme="light"] .sandbox-preview {
  background: #f8f8fa;
  border-color: #d9d9dc;
}

[data-theme="light"] .sandbox-preview-body {
  background: #ffffff;
  border-color: #d9d9dc;
  color: #1d1d1f;
}

@media (max-width: 850px) {
  .marketing-landing .col-4,
  .marketing-landing .col-6 {
    grid-column: span 12;
  }

  .marketing-landing h1 {
    font-size: 42px;
  }

  .marketing-landing .container,
  .marketing-landing .nav-container {
    padding: 0 20px;
  }

  .marketing-landing .logo-group img {
    height: 38px;
  }
}

/* GLOBAL RESPONSIVE POLISH */
html,
body {
  overflow-x: hidden;
}

@media (max-width: 1200px) {
  .dashboard,
  .marketing-landing .container,
  .marketing-landing .nav-container,
  .login-container {
    width: min(100%, 100%);
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 992px) {
  .dashboard-header.enterprise-dashboard-header {
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
  }

  .dashboard-header-content {
    width: 100%;
  }

  .dashboard-header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .dashboard-header h1,
  .marketing-landing h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .dashboard {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sandbox-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex: 0 0 auto;
    min-width: 132px;
  }

  .card {
    padding: 16px;
  }

  .dashboard-logo {
    height: 40px;
  }

  .dashboard-header-actions {
    justify-content: space-between;
  }

  #uploads-list,
  #generated-csv-list,
  #campaigns-list {
    word-break: break-word;
  }

  .marketing-landing .corner-theme-toggle {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .marketing-landing .marketing-nav-right {
    top: 12px;
    right: 56px;
  }

  .marketing-landing .tenant-signin-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .dashboard-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dashboard-header h1,
  .marketing-landing h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .dashboard-header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-header-actions .btn,
  .dashboard-header-actions .theme-toggle {
    min-height: 40px;
  }

  .marketing-landing .btn-primary,
  .dashboard .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .card {
    padding: 14px;
  }

  .sandbox-preview {
    padding: 12px;
  }

  .tab-btn {
    min-width: 120px;
    font-size: 12px;
    padding: 10px 12px;
  }

  .dashboard-logo {
    height: 34px;
  }
}

