:root {
  --bg-color: #0d0f18;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --accent-primary: #8b5cf6;
  --accent-secondary: #ec4899;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Dynamic background gradients */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

.blob-1 {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 60%);
}

.blob-2 {
  bottom: -20%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 60%);
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(40px) scale(1.05); }
}

/* Page Layout */
.page-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Glassmorphism card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}

.hero {
  padding: 4rem 3rem;
}

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

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

/* Typography & Elements */
.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.subsection-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #c4b5fd;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.setup-notice {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  background: rgba(139, 92, 246, 0.05);
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  animation: fadeIn 1s ease-out 0.3s both;
}

.setup-notice strong {
  color: #c4b5fd;
}

.setup-notice a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.setup-notice a:hover {
  color: var(--accent-primary);
  text-decoration-color: var(--accent-primary);
}

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

.text-paragraph {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Lists */
.feature-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.feature-list strong {
  color: #ffffff;
}

/* Code block */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: monospace;
  color: #a78bfa;
  margin: 1.5rem 0;
  overflow-x: auto;
}

/* Buttons */
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #a78bfa 100%);
  color: white;
  box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.6);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -10px rgba(139, 92, 246, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Demo Image */
.demo-wrapper {
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.demo-static-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 4rem;
  font-weight: 400;
  padding-bottom: 2rem;
}

.footer a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* OTG Public API Section */
.otg-section {
  position: relative;
  overflow: hidden;
}

.otg-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.badge-violet {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.badge-violet:hover {
  background: rgba(139, 92, 246, 0.2) !important;
  filter: brightness(1.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.otg-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .title { font-size: 2.5rem; }
  .glass-card { padding: 2rem 1.5rem; }
  .button-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
