/* Landing Page Styles */

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

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

/* Header */
.landing-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-secondary);
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.beta-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.25rem;
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

.btn-signin {
  background: transparent;
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--rounded);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-signin:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* Main Content */
.landing-main {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 3rem 0 4rem 0;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.6));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
  border-radius: 100rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-logo {
  width: 280px;
  max-width: 90%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.15;
}

.colosseum-link {
  color: var(--accent-primary);
  text-decoration: none;
}

.colosseum-link:hover {
  text-decoration: underline;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

.highlight {
  color: var(--color-money);
  font-weight: 600;
}

/* Demo Section */
.demo-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-preview {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  padding: 1.5rem;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.demo-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--rounded);
  background: radial-gradient(
    600px circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(6, 182, 212, 0.04),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.demo-preview::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--rounded);
  background: linear-gradient(
    var(--shine-angle, 135deg),
    transparent 30%,
    rgba(6, 182, 212, 0.08) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.demo-preview:hover {
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
}

.demo-preview:hover::before,
.demo-preview:hover::after {
  opacity: 1;
}

.demo-preview.overlay {
  background: rgba(0, 0, 0, 0.85);
}

.demo-content {
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Demo: Donation Form */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.demo-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.demo-textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  min-height: 60px;
}

.demo-button {
  background: var(--accent-primary);
  color: white;
  padding: 0.75rem;
  border-radius: var(--rounded);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* Demo: Dashboard */
.demo-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 0.5rem;
  pointer-events: none;
}

.demo-tab {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: var(--rounded);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.demo-tab.active {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
}

.demo-badge {
  background: var(--accent-primary);
  color: white;
  padding: 0.125rem 0.375rem;
  border-radius: 100rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.demo-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.demo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: var(--rounded);
}

.demo-cell {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.demo-actions {
  display: flex;
  gap: 0.375rem;
}

.demo-btn {
  padding: 0.375rem 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Demo: Overlay */
.demo-superchat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.demo-sc-header {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.demo-sc-message {
  font-size: 0.95rem;
  color: white;
  line-height: 1.4;
}

.demo-cursor {
  animation: blink 1s steps(1) infinite;
  color: white;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.demo-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

/* Features Section */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.6));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  padding: 1.5rem;
  transition: all 0.2s ease;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-card h4 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  font-size: 0.875rem;
}

.feature-card a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.feature-card a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Whitelist Section */
.whitelist-section {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.whitelist-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-primary);
  border-radius: var(--rounded);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.whitelist-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whitelist-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.whitelist-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.whitelist-card > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.whitelist-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-whitelist {
  background: transparent;
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--rounded);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-whitelist:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

.whitelist-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.whitelist-note a {
  color: var(--accent-primary);
  text-decoration: none;
}

.whitelist-note a:hover {
  text-decoration: underline;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border-secondary);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-content span {
  white-space: nowrap;
}

.footer-separator {
  opacity: 0.5;
}

.footer-content a {
  color: var(--accent-primary);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.github-icon {
  display: inline-block;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .landing-main {
    gap: 3.5rem;
    padding: 2rem 0 3rem 0;
  }

  .hero-section {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .landing-header {
    padding: 0.75rem 0;
  }

  .logo {
    font-size: 1.25rem;
  }

  .btn-signin {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .landing-main {
    gap: 3rem;
    padding: 1.5rem 0 2rem 0;
  }

  .hero-section {
    padding: 1.5rem 0;
    gap: 1.25rem;
  }

  .hero-logo {
    width: 200px;
    margin-bottom: 0.5rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

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

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

  .section-title {
    font-size: 1.4rem;
  }

  .demo-section {
    gap: 2rem;
  }

  .demo-card > p {
    font-size: 0.8rem;
  }

  .demo-preview {
    height: 240px;
    padding: 1.25rem;
  }

  /* Disable tilt effect on mobile */
  .demo-preview {
    transform: none !important;
  }

  .features-section {
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.25rem;
    gap: 0.85rem;
  }

  .feature-icon {
    font-size: 1.75rem;
  }

  .feature-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .feature-card p {
    font-size: 0.8rem;
  }

  .whitelist-section {
    padding: 2rem 0;
  }

  .whitelist-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .whitelist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .whitelist-icon {
    font-size: 2rem;
  }

  .whitelist-card h3 {
    font-size: 1.25rem;
  }

  .whitelist-card > p {
    font-size: 0.95rem;
  }

  .whitelist-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
  }

  .btn-whitelist {
    width: 100%;
    text-align: center;
  }

  .footer-content {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .footer-separator {
    display: none;
  }
}
