/**
 * PullPrompt - Complete Stylesheet
 * Version: 1.0
 * Date: October 6, 2025
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1E293B;
  background: #F8FAFC;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #1E293B;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: white;
  color: #7C3AED;
  border: 2px solid #7C3AED;
}

.btn-secondary:hover {
  background: #7C3AED;
  color: white;
}

.btn-ghost {
  background: transparent;
  color: #64748B;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: #F1F5F9;
  color: #1E293B;
}

.btn-danger {
  background: #DC2626;
  color: white;
  border: none;
}

.btn-danger:hover {
  background: #B91C1C;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
  background: white;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #1E293B;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  white-space: nowrap;
}

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

.nav-link {
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #7C3AED;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.user-dropdown-toggle:hover {
  background: #F1F5F9;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.user-name {
  color: #1E293B;
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.dropdown-icon {
  color: #64748B;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid #E2E8F0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 100;
}

.user-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #1E293B;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
  background: #F8FAFC;
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  color: #64748B;
  flex-shrink: 0;
}

.dropdown-item.text-danger {
  color: #DC2626;
}

.dropdown-item.text-danger svg {
  color: #DC2626;
}

.dropdown-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.5rem 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #1E293B;
  transition: all 0.3s;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid #E2E8F0;
  margin-top: 1rem;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu-item {
  padding: 0.75rem 0;
  color: #1E293B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-menu-item:hover {
  color: #7C3AED;
}

.mobile-menu-item.text-danger {
  color: #DC2626;
}

.mobile-menu-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.5rem 0;
}

/* Flash Messages */
.flash-message {
  padding: 1rem 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.flash-message svg {
  flex-shrink: 0;
}

.flash-success {
  background: #DCFCE7;
  color: #166534;
  border-bottom: 1px solid #86EFAC;
}

.flash-error {
  background: #FEE2E2;
  color: #991B1B;
  border-bottom: 1px solid #FCA5A5;
}

.flash-close {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-close:hover {
  opacity: 1;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 300px);
}

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

.dashboard-container {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
  background: #F8FAFC;
}

.dashboard-welcome {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid #E2E8F0;
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 0.5rem 0;
}

.dashboard-subtitle {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
}

.welcome-actions {
  flex-shrink: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid #E2E8F0;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.stat-icon-blue {
  background: #DBEAFE;
  color: #2563EB;
}

.stat-icon-yellow {
  background: #FEF3C7;
  color: #F59E0B;
}

.stat-icon-green {
  background: #DCFCE7;
  color: #16A34A;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 0.25rem;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #E2E8F0;
}

.tab-link {
  padding: 1rem 1.5rem;
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-link:hover {
  color: #7C3AED;
  background: #F8FAFC;
}

.tab-link.active {
  color: #7C3AED;
  border-bottom-color: #7C3AED;
}

/* Tab Content */
.tab-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid #E2E8F0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: #CBD5E1;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 0.5rem 0;
}

.empty-state-text {
  font-size: 1rem;
  color: #64748B;
  margin: 0 0 1.5rem 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Prompt List */
.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prompt-list-item {
  padding: 1.5rem;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.2s;
}

.prompt-list-item:hover {
  border-color: #7C3AED;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.prompt-item-content {
  flex: 1;
  min-width: 0;
}

.prompt-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.prompt-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.prompt-item-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s;
}

.prompt-item-title a:hover {
  color: #7C3AED;
}

.prompt-item-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prompt-item-description {
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.prompt-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #64748B;
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.meta-category {
  color: #7C3AED;
  font-weight: 500;
}

.prompt-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-draft {
  background: #FEF3C7;
  color: #92400E;
}

.badge-public {
  background: #DCFCE7;
  color: #166534;
}

.badge-private {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-unlisted {
  background: #E0E7FF;
  color: #3730A3;
}

.badge-featured {
  background: #FEF3C7;
  color: #92400E;
}

.badge-format {
  background: #EDE9FE;
  color: #7C3AED;
}

/* ============================================
   UPLOAD / EDIT FORM
   ============================================ */

.upload-container {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
  background: #F8FAFC;
}

.upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.upload-header-content {
  flex: 1;
}

.upload-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.upload-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 0.5rem 0;
}

.upload-subtitle {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
}

.upload-form-container {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid #E2E8F0;
}

/* Form Elements */
.upload-form {
  max-width: 900px;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-label.required::after {
  content: ' *';
  color: #DC2626;
}

.optional {
  font-weight: 400;
  color: #64748B;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-control::placeholder {
  color: #94A3B8;
}

textarea.form-control {
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.prompt-textarea {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-help {
  display: block;
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 0.5rem;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.char-count {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
}

/* Form Row (side by side fields) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Visibility Options */
.visibility-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.visibility-option {
  cursor: pointer;
  position: relative;
}

.visibility-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visibility-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.2s;
  background: white;
}

.visibility-option input[type="radio"]:checked + .visibility-card {
  border-color: #7C3AED;
  background: #F5F3FF;
}

.visibility-option:hover .visibility-card {
  border-color: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.visibility-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.visibility-title {
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.visibility-desc {
  font-size: 0.8125rem;
  color: #64748B;
  line-height: 1.4;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  margin-top: 2rem;
}

.form-actions .btn {
  flex: 1;
  justify-content: center;
}

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.alert svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.alert-success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.alert-info {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

.alert code {
  background: rgba(0,0,0,0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Fira Code', 'Courier New', monospace;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #1E293B;
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  color: #7C3AED;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.footer-description {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}

.footer-copyright {
  color: #94A3B8;
  font-size: 0.875rem;
  margin: 0;
}

.footer-made-with {
  color: #94A3B8;
  font-size: 0.875rem;
}

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

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Container */
  .container {
    padding: 0 1rem;
  }
  
  /* Navigation */
  .nav-menu {
    display: none;
  }
  
  .user-name {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  .nav-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
  
  /* Dashboard */
  .dashboard-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .welcome-actions {
    width: 100%;
  }
  
  .welcome-actions .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-link {
    white-space: nowrap;
  }
  
  .prompt-list-item {
    flex-direction: column;
  }
  
  .prompt-item-actions {
    width: 100%;
  }
  
  .prompt-item-actions .btn {
    flex: 1;
  }
  
  /* Upload Form */
  .upload-container {
    padding: 2rem 0;
  }
  
  .upload-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .upload-header-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .upload-header-actions .btn {
    width: 100%;
  }
  
  .upload-title {
    font-size: 1.5rem;
  }
  
  .upload-form-container {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .visibility-options {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column-reverse;
  }
  
  .form-actions .btn {
    width: 100%;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-logo-text {
    font-size: 1.125rem;
  }
  
  .nav-actions .btn {
    padding: 0.5rem 0.75rem;
  }
  
  .dashboard-title {
    font-size: 1.5rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .prompt-item-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-danger {
  color: #DC2626;
}

.text-success {
  color: #16A34A;
}

.text-muted {
  color: #64748B;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ============================================
   HOLDING PAGE STYLES
   ============================================ */

.holding-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Background Orbs */
.background-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.6) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, transparent 70%);
  bottom: -250px;
  right: -250px;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* Content Container */
.holding-page > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.logo-text {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Headline */
.headline {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.subheadline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  max-width: 600px;
  line-height: 1.6;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse 2s infinite;
}

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

/* Notify Form */
.notify-form {
  width: 100%;
  max-width: 500px;
  margin: 2rem 0;
}

.email-signup-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.input-group input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}

.input-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.btn-notify {
  padding: 1rem 2rem;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-notify:active {
  transform: translateY(0);
}

.btn-loading {
  display: flex;
  align-items: center;
}

.form-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: center;
}

/* Success/Error Messages */
.success-message,
.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}

.success-message {
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: white;
}

.error-message {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: white;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 900px;
  width: 100%;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.feature-icon svg {
  color: white;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
}

.feature p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

/* Platforms Section */
.platforms {
  margin: 2rem 0;
}

.platforms-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.platform-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;
}

.platform-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Footer */
.holding-page .footer {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: auto;
}

.holding-page .footer p {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive - Holding Page */
@media (max-width: 768px) {
  .logo-text {
    font-size: 2rem;
  }
  
  .headline {
    font-size: 2rem;
  }
  
  .subheadline {
    font-size: 1rem;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .btn-notify {
    width: 100%;
    justify-content: center;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .orb-1,
  .orb-2,
  .orb-3 {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 2rem 1rem;
  }
  
  .logo svg {
    width: 60px;
    height: 60px;
  }
  
  .logo-text {
    font-size: 1.75rem;
  }
  
  .headline {
    font-size: 1.75rem;
  }
}