/* Modern Primordia Design - React-inspired */
:root {
  --accent: #E3B341;
  --accent-soft: #f3e3b8;
  --bg-dark: #0B0B0F;
  --bg-light: #F7F7FA;
  --text-dark: #0E0E12;
  --text-light: #ffffff;
  --border-light: rgba(0, 0, 0, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: all 0.3s ease;
}

body.dark {
  color: var(--text-light);
  background: var(--bg-dark);
}

/* Glow Background */
.glow-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(60rem 40rem at 10% -10%, rgba(227, 179, 65, 0.22), transparent),
              radial-gradient(50rem 30rem at 80% 10%, rgba(243, 227, 184, 0.22), transparent);
  opacity: 0.7;
  mix-blend-mode: screen;
}

body.dark .glow-background {
  mix-blend-mode: normal;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--border-light);
}

body.dark .header {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-dark);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: conic-gradient(from 0deg, var(--accent), transparent 70%);
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.version-badge {
  margin-left: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid var(--border-light);
  background: transparent;
}

body.dark .version-badge {
  border-color: var(--border-dark);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link .icon {
  margin-right: 0.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid var(--border-light);
}

body.dark .btn-secondary {
  border-color: var(--border-dark);
}

.btn-secondary:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

body.dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  color: inherit;
  border: 1px solid var(--border-light);
}

body.dark .btn-outline {
  border-color: var(--border-dark);
}

.btn-large {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.btn-large .icon {
  margin-left: 0.375rem;
}

.theme-toggle {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid var(--border-light);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

body.dark .theme-toggle {
  border-color: var(--border-dark);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 7fr 5fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

body.dark .hero-badge {
  border-color: var(--border-dark);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.accent-text {
  color: var(--accent);
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  opacity: 0.75;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Preview */
.hero-preview {
  display: flex;
  justify-content: center;
}

.preview-card {
  width: 100%;
  max-width: 24rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  overflow: hidden;
}

body.dark .preview-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.preview-content {
  position: relative;
  aspect-ratio: 4/3;
  background: #f9fafb;
}

body.dark .preview-content {
  background: rgba(255, 255, 255, 0.05);
}

.floating-chip {
  position: absolute;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  color: var(--accent);
}

body.dark .floating-chip {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--border-dark);
}

.chip-1 {
  top: 1rem;
  left: 1rem;
  animation: float 3s ease-in-out infinite;
}

.chip-2 {
  top: 4rem;
  right: 1rem;
  animation: float 3s ease-in-out infinite 0.5s;
}

.chip-3 {
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
  padding: 3.5rem 0;
}

.features-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-header {
  margin-bottom: 2rem;
}

.features-title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .features-title {
    font-size: 2.25rem;
  }
}

.features-description {
  opacity: 0.8;
  max-width: 32rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: var(--bg-light);
  overflow: hidden;
  transition: all 0.2s;
}

body.dark .feature-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  color: var(--accent);
  margin-top: 0.125rem;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.feature-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

.feature-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left;
  animation: progress 0.8s ease-out;
}

@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Demo Section */
.demo {
  padding: 3.5rem 0;
}

.demo-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.demo-title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .demo-title {
    font-size: 2.25rem;
  }
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .demo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.demo-card {
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: var(--bg-light);
  padding: 1.5rem;
  transition: all 0.2s;
}

body.dark .demo-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.demo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.demo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.demo-card-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.demo-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.demo-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
}

.demo-card-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.demo-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.demo-card-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Apps Section */
.apps {
  padding: 3.5rem 0;
}

.apps-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.apps-header {
  margin-bottom: 1.5rem;
}

.apps-title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .apps-title {
    font-size: 2.25rem;
  }
}

.apps-description {
  opacity: 0.8;
  max-width: 32rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.app-card {
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: var(--bg-light);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

body.dark .app-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.app-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  margin: 0 auto 0.5rem;
}

.app-name {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Free Tier Section */
.free-tier {
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.10), transparent);
}

.free-tier-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.free-tier-info {
  text-align: center;
  padding: 2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-light);
}

body.dark .free-tier-info {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--border-dark);
}

.free-tier-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

body.dark .footer {
  border-color: var(--border-dark);
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-text {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

/* Utility Classes */
.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: block;
  }
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 767px) {
  .nav-actions {
    gap: 0.5rem;
  }
  
  .btn-secondary {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Auth Styles */
.auth-container {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 24rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

body.dark .auth-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-icon-large {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: conic-gradient(from 0deg, var(--accent), transparent 70%);
}

.auth-header h1 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.auth-header p {
  opacity: 0.8;
  font-size: 0.875rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: inherit;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: var(--bg-light);
  color: inherit;
  font-size: 0.875rem;
  transition: all 0.2s;
}

body.dark .form-group input {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 179, 65, 0.1);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.forgot-password {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
  z-index: 1;
}

body.dark .auth-divider::before {
  background: var(--border-dark);
}

.auth-divider span {
  background: var(--bg-light);
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

body.dark .auth-divider span {
  background: var(--bg-dark);
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

body.dark .btn-social {
  border-color: var(--border-dark);
}

.btn-social:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

body.dark .btn-social:hover {
  background: rgba(255, 255, 255, 0.05);
}

.auth-footer {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

.auth-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dashboard-header p {
  font-size: 1.125rem;
  opacity: 0.8;
}

.quick-access {
  margin-bottom: 3rem;
}

.quick-access h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quick-access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  background: var(--bg-light);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

body.dark .quick-access-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.quick-access-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.quick-access-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quick-access-card p {
  font-size: 0.875rem;
  opacity: 0.8;
  text-align: center;
}

.active-forks {
  margin-bottom: 3rem;
}

.active-forks h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.forks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.fork-card {
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  background: var(--bg-light);
  padding: 1.5rem;
  transition: all 0.2s;
}

body.dark .fork-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.fork-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.fork-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fork-icon {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fork-info {
  flex: 1;
}

.fork-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fork-info p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.fork-status {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.fork-status.online {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.fork-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.recent-activity {
  margin-bottom: 3rem;
}

.recent-activity h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: var(--bg-light);
  transition: all 0.2s;
}

body.dark .activity-item {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.activity-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.activity-icon {
  font-size: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-content p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.activity-time {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Chat Interface Styles */
.chat-main {
  display: flex;
  height: calc(100vh - 4rem);
  background: var(--bg-light);
}

body.dark .chat-main {
  background: var(--bg-dark);
}

.fork-sidebar {
  width: 280px;
  border-right: 1px solid var(--border-light);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

body.dark .fork-sidebar {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

body.dark .sidebar-header {
  border-color: var(--border-dark);
}

.sidebar-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.sidebar-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark .sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fork-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.fork-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}

.fork-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark .fork-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fork-item.active {
  background: rgba(227, 179, 65, 0.1);
  border: 1px solid var(--accent);
}

.fork-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fork-info {
  flex: 1;
  min-width: 0;
}

.fork-name {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.fork-status {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
}

.fork-status.online {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
}

body.dark .sidebar-footer {
  border-color: var(--border-dark);
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

body.dark .chat-area {
  background: var(--bg-dark);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
}

body.dark .chat-header {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.current-fork {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.current-fork .fork-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
}

.fork-details {
  flex: 1;
}

.fork-details .fork-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fork-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

body.dark .action-btn {
  border-color: var(--border-dark);
}

.action-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

body.dark .action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.message-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message {
  display: flex;
  gap: 0.75rem;
  max-width: 80%;
}

.message.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.66), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.user-message .message-avatar {
  background: linear-gradient(135deg, #3b82f6, transparent);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-text {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  word-wrap: break-word;
}

body.dark .message-text {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
}

.user-message .message-text {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
  text-align: right;
}

.user-message .message-time {
  text-align: left;
}

.chat-input-container {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}

body.dark .chat-input-container {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 0.75rem;
  transition: all 0.2s;
}

body.dark .input-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
}

.input-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 179, 65, 0.1);
}

#chat-input {
  flex: 1;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  min-height: 1.5rem;
  max-height: 6rem;
}

#chat-input::placeholder {
  opacity: 0.7;
}

.input-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.input-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark .input-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

#send-btn {
  background: var(--accent);
  color: #111;
}

#send-btn:hover {
  background: #d4a835;
}

.input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.character-count {
  font-family: monospace;
}

.typing-indicator {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.typing-indicator.show {
  display: flex;
}

.typing-dots {
  display: flex;
  gap: 0.125rem;
}

.typing-dots span {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--accent);
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

body.dark .modal-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

body.dark .modal-header {
  border-color: var(--border-dark);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark .modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.fork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.fork-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.no-forks-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  opacity: 0.7;
}

.no-forks-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-forks-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.no-forks-text p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.8;
}

.fork-type-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-light);
}

body.dark .fork-type-option {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.fork-type-option:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
  border-color: var(--accent);
}

body.dark .fork-type-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fork-type-option .fork-avatar {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fork-type-option .fork-details {
  flex: 1;
}

.fork-type-option .fork-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fork-type-option .fork-description {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.fork-capabilities {
  font-size: 0.6875rem;
  color: var(--accent);
  font-weight: 500;
  background: rgba(227, 179, 65, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.fork-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

body.dark .fork-option {
  border-color: var(--border-dark);
}

.fork-option:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

body.dark .fork-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fork-option .fork-avatar {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
}

.fork-option .fork-details {
  flex: 1;
}

.fork-option .fork-name {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.fork-option .fork-description {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fork-sidebar {
    position: fixed;
    top: 4rem;
    left: 0;
    bottom: 0;
    z-index: 40;
    transform: translateX(-100%);
  }
  
  .fork-sidebar.open {
    transform: translateX(0);
  }
  
  .sidebar-toggle {
    display: flex;
  }
  
  .chat-messages {
    padding: 1rem;
  }
  
  .message {
    max-width: 90%;
  }
  
  .chat-input-container {
    padding: 1rem;
  }
}

/* Live Status Section */
.live-status {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.11), transparent);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

body.dark .live-status {
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.22), transparent);
  border-color: var(--border-dark);
}

.live-status-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.live-status-content {
  text-align: center;
}

.live-status-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-status-content p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  opacity: 0.8;
}

body.dark .live-status-content p {
  color: var(--text-light);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.status-item {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

body.dark .status-item {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}

.status-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.status-indicator {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.status-label {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.7;
  font-weight: 500;
}

body.dark .status-label {
  color: var(--text-light);
}

.live-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.live-actions .btn-large {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* Pricing Table Styles */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.billing-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-light);
  transition: 0.4s;
  border-radius: 34px;
}

body.dark .toggle-slider {
  background-color: var(--border-dark);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.discount-badge {
  background: #22c55e;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
}

.pricing-table-container {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
}

body.dark .pricing-table-container {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  height: 60px;
}

/* Ensure button rows have consistent height and alignment */
.pricing-table thead tr {
  height: 250px;
}

.pricing-table tfoot tr {
  height: 80px;
}

/* Specific alignment for button rows - all cells in same row at same level */
.pricing-table thead th {
  vertical-align: bottom;
  padding-bottom: 1rem;
}

.pricing-table tfoot td {
  vertical-align: middle;
  padding-top: 1rem;
}

body.dark .pricing-table th,
body.dark .pricing-table td {
  border-color: var(--border-dark);
}

.feature-column {
  text-align: left;
  font-weight: 600;
  background: var(--bg-light);
  position: sticky;
  left: 0;
  z-index: 10;
  width: 200px;
  padding-left: 1.5rem;
}

body.dark .feature-column {
  background: rgba(255, 255, 255, 0.05);
}

.plan-column {
  width: 140px;
  vertical-align: top;
  position: relative;
  min-width: 140px;
}

.plan-column.featured {
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.1), rgba(227, 179, 65, 0.05));
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
}

.plan-header {
  padding: 2rem 1rem 1.5rem 1rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.plan-price {
  margin-bottom: 0.5rem;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.plan-price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.plan-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #111;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  z-index: 20;
}

.feature-name {
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.feature-check {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.feature-check:contains("-") {
  color: var(--text-tertiary);
}

.feature-value {
  font-weight: 600;
  color: var(--text-primary);
}

.plan-footer {
  padding: 1.5rem 1rem 2rem 1rem;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  height: 100%;
}

/* Button alignment in pricing table */
.plan-header .btn,
.plan-footer .btn {
  width: 100%;
  max-width: 120px;
  min-width: 100px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
}

.amount.yearly {
  display: none;
}

.toggle-switch input:checked ~ .amount.monthly {
  display: none;
}

.toggle-switch input:checked ~ .amount.yearly {
  display: inline;
}

/* Responsive table */
@media (max-width: 1024px) {
  .pricing-table-container {
    font-size: 0.9rem;
  }
  
  .plan-header h3 {
    font-size: 1.25rem;
  }
  
  .plan-price .amount {
    font-size: 2.5rem;
  }
  
  .plan-column {
    width: 120px;
    min-width: 120px;
  }
  
  .feature-column {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .pricing-table-container {
    margin: 2rem -1rem 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 1rem 0.5rem;
    height: 50px;
  }
  
  .plan-header {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    min-height: 180px;
  }
  
  .plan-header .btn,
  .plan-footer .btn {
    max-width: 100px;
    min-width: 80px;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
  
  .pricing-table thead tr {
    height: 200px;
  }
  
  .pricing-table tfoot tr {
    height: 100px;
  }
  
  .plan-price .amount {
    font-size: 2rem;
  }
  
  .plan-column {
    width: 100px;
    min-width: 100px;
  }
  
  .feature-column {
    width: 150px;
    padding-left: 1rem;
  }
  
  .plan-footer {
    padding: 1rem 0.5rem 1.5rem 0.5rem;
    min-height: 80px;
  }
}

.pricing-card {
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  background: var(--bg-light);
  padding: 2rem;
  position: relative;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .pricing-card {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.popular-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #111;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0.25rem;
}

.amount.yearly {
  position: relative;
}

.amount.yearly::after {
  content: '17% off';
  position: absolute;
  top: -0.5rem;
  right: -2rem;
  background: #22c55e;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.period {
  font-size: 1rem;
  opacity: 0.7;
}

.description {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.card-features {
  margin-bottom: 2rem;
}

.card-features ul {
  list-style: none;
  padding: 0;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.card-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
}

.card-footer {
  text-align: center;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-light);
  transition: 0.4s;
  border-radius: 1.5rem;
}

body.dark .toggle-slider {
  background-color: var(--border-dark);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(1.5rem);
}

.toggle-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.save-badge {
  background: var(--accent);
  color: #111;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Fork Type Selector Styles */
.fork-type-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(227, 179, 65, 0.1);
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.category-tab:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.category-tab.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.fork-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.fork-type-card {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.fork-type-card:hover {
    border-color: var(--accent);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fork-type-card.selected {
    border-color: var(--accent);
    background: rgba(227, 179, 65, 0.1);
}

.fork-type-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fork-type-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.fork-type-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
}

.fork-type-category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Dark mode transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}