/* Cloudsion - Website Publishing Platform */
:root {
  --dark: #0a0a0f;
  --dark-light: #12121a;
  --dark-card: #1a1a2e;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #06b6d4;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #0ea5e9, #06b6d4);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon { font-size: 1.75rem; }
.logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--gray-light);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gradient);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  color: var(--white) !important;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.1), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: #f59e0b;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Deploy Demo Terminal */
.deploy-demo {
  max-width: 600px;
  margin: 0 auto;
}

.deploy-terminal {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.terminal-title {
  color: var(--gray);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Monaco', monospace;
}

.terminal-body {
  padding: 16px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.terminal-prompt {
  color: var(--primary);
  user-select: none;
}

.terminal-cmd {
  color: var(--white);
}

.terminal-line.output {
  padding-left: 20px;
  color: var(--gray-light);
}

.terminal-line.output.success {
  color: var(--success);
}

.terminal-line.output.highlight {
  color: var(--primary);
}

.terminal-line.output.highlight a {
  color: var(--secondary);
  text-decoration: underline;
}

.terminal-line.output.dim {
  color: var(--gray);
  font-size: 0.8rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--dark-light);
}

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

.feature-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
}

.feature-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-5px);
}

.feature-card.featured {
  border-color: rgba(14, 165, 233, 0.3);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
}

.feature-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gradient);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
}

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

.step-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  flex: 1;
  max-width: 300px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--gray);
}

/* Use Cases Section */
.use-cases {
  padding: 6rem 0;
  background: var(--dark-light);
}

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

.use-case-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.use-case-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
}

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

.use-case-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.use-case-card p {
  color: var(--gray-light);
  font-size: 0.85rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
}

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

.pricing-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-infra {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  margin-top: 0.5rem;
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 20px;
}

.pricing-card.featured .pricing-infra {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-price .price {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-price .period {
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.dimmed {
  color: var(--gray);
  opacity: 0.6;
}

.pricing-features li strong {
  color: var(--white);
}

/* Infrastructure Comparison Table */
.infra-comparison {
  margin-top: 4rem;
  text-align: center;
}

.infra-comparison h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.infra-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.infra-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.infra-row:last-child {
  border-bottom: none;
}

.infra-row.header {
  background: rgba(14, 165, 233, 0.1);
  font-weight: 600;
}

.infra-cell {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.infra-row:not(.header) .infra-cell:first-child {
  text-align: left;
  color: var(--gray-light);
}

.infra-row:not(.header) .infra-cell:last-child {
  color: var(--success);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.waitlist-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-form .btn-primary {
  background: var(--dark);
  color: var(--white);
}

.waitlist-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--dark-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--gray);
  margin-top: 0.5rem;
}

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

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-col a {
  display: block;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 968px) {
  .features-grid,
  .use-cases-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .steps-grid {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  cursor: pointer;
}

.user-name {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

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

.user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-light);
  transition: all 0.2s;
}

.user-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.modal-large {
  max-width: 900px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

.modal-body {
  padding: 1.5rem;
}

/* Auth Form */
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--gray-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-light);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--gray);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  padding: 0 1rem;
  font-size: 0.85rem;
}

.auth-hint {
  text-align: center;
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Admin Panel */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--gray-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab.active {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.admin-tab-content {
  display: none;
}

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

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.admin-stat-label {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.admin-version {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

/* Changelog */
.changelog-entry {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.changelog-version {
  background: var(--gradient);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.changelog-date {
  color: var(--gray);
  font-size: 0.85rem;
}

.changelog-changes {
  list-style: none;
  padding-left: 1rem;
}

.changelog-changes li {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.changelog-changes li::before {
  content: '•';
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Project Plans */
.plans-section {
  margin-bottom: 2rem;
}

.plans-section h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.business-model-summary {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.model-summary {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

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

.tier-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.tier-card h4 {
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.tier-infra, .tier-cost {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.tier-infra .label, .tier-cost .label {
  color: var(--gray);
}

.tier-infra .value, .tier-cost .value {
  color: var(--gray-light);
}

.tier-card.free .tier-cost .value { color: var(--success); }

.key-insights {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
}

.key-insights h4 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.key-insights ul {
  list-style: none;
  padding: 0;
}

.key-insights li {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 0.25rem;
  padding-left: 1.25rem;
  position: relative;
}

.key-insights li::before {
  content: '✓';
  color: var(--success);
  position: absolute;
  left: 0;
}

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

.plans-grid.medium {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

.plan-card.high {
  border-color: rgba(239, 68, 68, 0.3);
}

.plan-card.medium {
  border-color: rgba(245, 158, 11, 0.3);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.plan-header h4 {
  font-size: 1rem;
}

.effort-badge {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.status-badge.planned {
  background: rgba(107, 114, 128, 0.2);
  color: var(--gray-light);
}

.status-badge.in-progress {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.status-badge.done {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 0.75rem;
}

.plan-details, .plan-economics, .plan-options {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.plan-details strong, .plan-economics strong, .plan-options strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.plan-details ul, .plan-economics ul, .plan-options ul {
  padding-left: 1rem;
  margin: 0;
}

.plan-details li, .plan-economics li, .plan-options li {
  color: var(--gray-light);
  margin-bottom: 0.25rem;
}

.plan-files {
  margin-top: 0.75rem;
}

.plan-files strong {
  font-size: 0.85rem;
  color: var(--white);
}

.plan-files code {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin: 0.25rem 0.25rem 0 0;
}

.low-priority-list {
  display: grid;
  gap: 0.5rem;
}

.low-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray);
}

.status-dot.planned { background: var(--gray); }
.status-dot.in-progress { background: #f59e0b; }
.status-dot.done { background: var(--success); }

.completed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.completed-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
}

.completed-item .check {
  color: var(--success);
  font-weight: 700;
}

.completed-item .title {
  flex: 1;
  font-size: 0.85rem;
}

.completed-item .meta {
  font-size: 0.75rem;
  color: var(--gray);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.9rem;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: #ef4444;
}

/* Deploy Styles */
.deploy-step {
  display: none;
}

.deploy-step.active {
  display: block;
}

.deploy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.deploy-instructions {
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.deploy-instructions h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.instruction-steps {
  margin-bottom: 1.5rem;
}

.instruction-step {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.instruction-step .step-num {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.instruction-step strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.instruction-step p {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin: 0;
}

.instruction-step code {
  background: rgba(14, 165, 233, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Help Box */
.help-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}

.help-box h4 {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.help-box details {
  margin-bottom: 0.5rem;
}

.help-box summary {
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.help-box summary:hover {
  color: var(--white);
}

.help-box details[open] summary {
  color: var(--primary);
}

.help-box details p {
  font-size: 0.8rem;
  color: var(--gray-light);
  padding: 0.75rem 0 0.5rem 1rem;
  margin: 0;
  line-height: 1.5;
}

.help-box code {
  background: rgba(14, 165, 233, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Deploy Form Section */
.deploy-form-section {
  padding-left: 1rem;
}

.token-steps {
  margin-bottom: 1.5rem;
}

.token-steps p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.token-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.token-checklist li {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.token-checklist code {
  background: rgba(14, 165, 233, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.nav-deploy {
  background: var(--gradient) !important;
}

/* Help Page Styles */
.help-page {
  padding: 4rem 0;
  min-height: calc(100vh - 200px);
}

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

.help-header {
  text-align: center;
  margin-bottom: 3rem;
}

.help-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.help-header p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

/* Two Column Layout */
.help-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.help-main {
  min-width: 0;
}

.help-sidebar {
  position: sticky;
  top: 100px;
}

/* Help Sections */
.help-section {
  margin-bottom: 2.5rem;
}

.help-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.help-section p {
  color: var(--gray-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.step-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.step-item .step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.step-item p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin: 0;
}

/* Token Guide Box */
.token-guide-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

.token-guide-box .btn {
  margin-bottom: 1rem;
}

.token-steps-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem 0;
  color: var(--gray-light);
}

.token-steps-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.token-steps-list code {
  background: rgba(14, 165, 233, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary);
}

.token-guide-box .security-note {
  font-size: 0.85rem;
  color: var(--success);
  margin: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  margin-right: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item p {
  padding: 0 1rem 1rem 2.25rem;
  font-size: 0.9rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.6;
}

/* Ask Box (Sidebar) */
.ask-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.ask-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ask-box > p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.question-form .form-group {
  margin-bottom: 0.875rem;
}

.question-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-light);
}

.question-form input,
.question-form select,
.question-form textarea {
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
}

.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.question-form textarea {
  resize: vertical;
  min-height: 80px;
}

.question-success {
  text-align: center;
  padding: 1rem;
}

.question-success .success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.question-success h4 {
  margin-bottom: 0.25rem;
}

.question-success p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Quick Links Box */
.quick-links-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}

.quick-links-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--gray-light);
}

.quick-links-box a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.quick-links-box a:last-child {
  border-bottom: none;
}

.quick-links-box a:hover {
  color: var(--primary);
}

/* Active nav link */
.nav-links a.active {
  color: var(--primary);
}

/* Responsive Help Page */
@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: 1fr;
  }
  
  .help-sidebar {
    position: static;
    order: -1;
  }
  
  .help-header h1 {
    font-size: 1.75rem;
  }
}

/* Token Quick Steps */
.token-quick-steps {
  margin-bottom: 1.5rem;
}

.token-quick-steps .btn {
  margin-bottom: 0.75rem;
}

.token-tip {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin: 0;
  padding-left: 0.5rem;
}

.token-tip strong {
  color: var(--white);
}

.help-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
}

.help-link a {
  color: var(--primary);
}

.deploy-info {
  color: var(--gray-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.deploy-info a {
  color: var(--primary);
}

/* Modal Medium Size */
.modal-content.modal-medium {
  max-width: 500px;
}

/* Deploy FAQ (compact) */
.deploy-faq {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.deploy-faq h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--gray-light);
}

.deploy-faq details {
  margin-bottom: 0.25rem;
}

.deploy-faq summary {
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray-light);
  list-style: none;
  transition: color 0.2s;
}

.deploy-faq summary::-webkit-details-marker {
  display: none;
}

.deploy-faq summary::before {
  content: '+';
  margin-right: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.deploy-faq details[open] summary::before {
  content: '−';
}

.deploy-faq summary:hover {
  color: var(--white);
}

.deploy-faq details p {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 0.25rem 0 0.5rem 1.25rem;
  margin: 0;
  line-height: 1.5;
}

.deploy-faq .faq-more {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.deploy-faq .faq-more a {
  color: var(--primary);
}

/* AI Chat Widget */
.ai-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.ai-chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gradient);
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  transition: all 0.3s;
}

.ai-chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

.ai-chat-icon {
  font-size: 1.25rem;
}

.ai-chat-container.open .ai-chat-toggle {
  display: none;
}

.ai-chat-window {
  display: none;
  width: 360px;
  max-height: 500px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ai-chat-container.open .ai-chat-window {
  display: flex;
}

.ai-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.ai-chat-header button {
  background: none;
  border: none;
  color: var(--gray-light);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.ai-chat-header button:hover {
  color: var(--white);
}

.ai-chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  min-height: 250px;
  max-height: 300px;
}

.ai-message {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 85%;
}

.ai-message-user {
  background: var(--primary);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.ai-message-ai {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-light);
  border-bottom-left-radius: 4px;
}

.ai-message-ai strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.ai-message-ai code {
  background: rgba(14, 165, 233, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary);
}

.ai-message-ai a {
  color: var(--primary);
}

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  padding: 1rem;
}

.ai-typing span {
  width: 8px;
  height: 8px;
  background: var(--gray);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.ai-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick buttons */
.ai-chat-quick {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
}

.ai-quick-btn {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--gray-light);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-quick-btn:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* Input area */
.ai-chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-input-area input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
}

.ai-chat-input-area input:focus {
  outline: none;
  border-color: var(--primary);
}

.ai-chat-input-area button {
  padding: 0.6rem 1rem;
  background: var(--gradient);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.ai-chat-input-area button:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 480px) {
  .ai-chat-window {
    width: calc(100vw - 48px);
    max-height: 400px;
  }
  
  .ai-chat-container {
    bottom: 16px;
    right: 16px;
  }
}

.deploy-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.deploy-step-header .step-number {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.deploy-step-header h3 {
  font-size: 1.1rem;
}

.deploy-info {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

/* GitHub Status */
.github-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.github-avatar {
  font-size: 1.5rem;
}

.github-username {
  flex: 1;
  font-weight: 600;
  color: var(--success);
}

/* File Drop Zone */
.file-drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
}

.file-drop-zone .drop-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.file-drop-zone p {
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.file-drop-zone span {
  color: var(--gray);
  font-size: 0.85rem;
}

.file-drop-zone label {
  margin-top: 1rem;
  display: inline-flex;
}

/* Files Preview */
.files-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.files-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.files-summary span {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.files-summary span:first-child {
  color: var(--primary);
  font-weight: 600;
}

.files-summary button {
  margin-left: auto;
}

.files-list {
  max-height: 200px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--gray-light);
}

.files-list div {
  padding: 0.25rem 0;
}

/* Progress */
.deploy-progress {
  text-align: center;
  padding: 2rem;
}

.progress-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.deploy-progress h3 {
  margin-bottom: 0.5rem;
}

.deploy-progress p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.3s;
  width: 0%;
}

/* Success */
.deploy-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.deploy-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.deploy-success p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.deployed-url {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.deployed-url:hover {
  background: rgba(14, 165, 233, 0.2);
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.deploy-note {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Dashboard */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.dashboard-header p {
  color: var(--gray-light);
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.site-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s;
}

.site-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
}

.site-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.site-card-header h4 {
  font-size: 1rem;
}

.site-card-url {
  color: var(--primary);
  font-size: 0.85rem;
  word-break: break-all;
  display: block;
  margin-bottom: 0.75rem;
}

.site-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.site-card-actions {
  display: flex;
  gap: 0.5rem;
}

.site-card-actions a,
.site-card-actions button {
  flex: 1;
}

.empty-sites {
  text-align: center;
  padding: 3rem;
  grid-column: 1 / -1;
}

.empty-sites span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-sites p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-small.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
}

.btn-small.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-small.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btn-small.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 968px) {
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .features-grid,
  .use-cases-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .waitlist-form {
    flex-direction: column;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .infra-table {
    font-size: 0.8rem;
  }
  
  .infra-cell {
    padding: 0.75rem 0.5rem;
  }
  
  .modal-content.modal-large {
    max-width: 95%;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .deploy-columns {
    grid-template-columns: 1fr;
  }
  
  .deploy-instructions {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .deploy-form-section {
    padding-left: 0;
  }
}
