:root {
  --primary: #ff4d00;
  --primary-hover: #e64500;
  --bg: #0a0a0a;
  --text-default: #ffffff;
  --text-dim: #a0a0a0;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --error-bg: rgba(255, 77, 77, 0.1);
  --error-border: rgba(255, 77, 77, 0.2);
  --error-text: #ff4d4d;
  
  --font-sans: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-default);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 0.8s var(--transition-smooth);
}

.logo {
  font-weight: 800;
  letter-spacing: -1px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.hero {
  text-align: center;
  padding: 4rem 0;
  animation: fadeIn 1s var(--transition-smooth);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px -10px var(--primary);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -12px var(--primary);
}

/* Authenticated State Components */
.config-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 2rem;
  animation: slideUp var(--transition-bounce);
  position: relative;
}

.config-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 2rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
}

.code-container {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

pre {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: break-word;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: #eee;
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  color: white;
  background: #333;
}

.copy-btn.copied {
  background: #4ade80;
  color: var(--bg);
  border-color: #4ade80;
}

footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.version-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #666;
  font-family: var(--font-mono);
}

.prompt-suggestions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prompt-suggestions li {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #eee;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.prompt-suggestions li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.prompt-suggestions li::before {
  content: "✦";
  margin-right: 0.75rem;
  color: #f40;
}

footer strong {
  color: var(--text-default);
  font-weight: 600;
}

/* Feature/Info Boxes */
.note-box {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
  display: inline-block;
  text-align: left;
}

.note-box strong {
  color: var(--primary);
}

.error-banner {
  margin-top: 2rem;
  color: var(--error-text);
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
}

.tutorial-container {
  margin-top: 4rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
}

.tutorial-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.tutorial-step-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tutorial-step-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.code-inline {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  word-break: break-all;
}

/* Step Box (Light) */
.step-box-light {
  background: white;
  color: #0a0a0a;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--card-border);
}

.step-box-light ol {
  color: #4a4a4a;
  list-style-position: inside;
  display: grid;
  gap: 1rem;
}

.step-box-light strong {
  color: var(--primary) !important;
}

.step-box-light .code-container {
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.step-box-light pre {
  color: #1f2937;
}

.step-box-light .copy-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #6b7280;
  z-index: 10;
}

.step-box-light .copy-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #111827;
}

/* Tabs System */
.tabs {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tab-headers {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: transparent;
  color: var(--text-dim);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-default);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary);
  border-color: rgba(255, 77, 0, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s var(--transition-smooth);
}

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

.step-image {
  width: 100%;
  border-radius: 16px;
  margin: 1.5rem 0;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Claude Connector Mock */
.connector-mock {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--font-sans);
}

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

.mock-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.mock-badge {
  background: #333;
  color: #999;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.mock-desc a {
  color: #aaa;
  text-decoration: underline;
}

.mock-field {
  margin-bottom: 1.25rem;
  position: relative;
}

.mock-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-input {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #eee;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.mock-input:focus {
  border-color: #555;
  background: #262626;
}

.mock-copy-btn {
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  background: #333;
  border: 1px solid #444;
  color: #999;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mock-copy-btn:hover {
  background: #444;
  color: white;
}

.mock-copy-btn.copied {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.mock-advanced {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #999;
  margin: 1rem 0 1.5rem 0;
  cursor: default;
}

.mock-footer-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.mock-footer-links {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.mock-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.mock-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: default;
}

.mock-btn-cancel {
  border: 1px solid #333;
  color: #eee;
}

.mock-btn-add {
  background: white;
  color: black;
}

/* Utils (replacing some tailwind utilities) */
.flex { display: flex; }
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-end { justify-content: end; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.gap-8 { gap: 2rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-sm { font-size: 0.875rem; }
.text-dim { color: var(--text-dim); }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.transition-colors { transition-property: color; transition-duration: 150ms; }

.hover-white:hover { color: white; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .container {
    padding: 1rem;
  }
  .config-card {
    padding: 1.5rem;
  }
}
