@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #050507;
  --bg-secondary: #0c0c0f;
  --bg-tertiary: #131317;
  --accent: #a8ff35;
  --accent-rgb: 168, 255, 53;
  --text-primary: #ffffff;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glow-light: 0 0 30px rgba(168, 255, 53, 0.15);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
body::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, rgba(var(--accent-rgb), 0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Site Container */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background-color: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1.5px solid var(--text-primary);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.brand-logo-svg {
  display: block;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.nav-links a.nav-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background-color: var(--glass-bg);
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.nav-links a.nav-btn:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px 0;
  text-align: center;
  position: relative;
}

.tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: var(--glow-light);
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 800px;
  margin: 0 auto 24px auto;
  color: var(--text-primary);
  background: linear-gradient(to bottom, #ffffff 60%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}

.primary-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  background-color: #f3f3f3;
}

.secondary-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background-color: var(--glass-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Animated UI Showcase */
.showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1000px;
}

.mock-window {
  flex: 1;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mock-window:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.02);
}

.mock-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-light);
  gap: 6px;
}

.mock-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mock-header .dot.red { background-color: #ff5f56; }
.mock-header .dot.yellow { background-color: #ffbd2e; }
.mock-header .dot.green { background-color: #27c93f; }

.mock-header .title-text {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
  margin-left: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-body {
  padding: 24px;
}

/* Tweet Mockup Details */
.tweet-window .mock-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tweet-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tweet-user .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-info .name {
  font-size: 14px;
  font-weight: 600;
}

.user-info .handle {
  font-size: 12px;
  color: var(--text-muted);
}

.tweet-content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Showcase Arrow */
.showcase-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 40px;
}

.arrow-body {
  width: 30px;
  height: 2px;
  background-color: var(--border-light);
  position: relative;
  animation: pulse-arrow 2s infinite ease-in-out;
}

.arrow-head {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--border-light);
  border-right: 2px solid var(--border-light);
  transform: rotate(45deg);
  position: absolute;
  right: 12px;
  animation: pulse-arrow-head 2s infinite ease-in-out;
}

@keyframes pulse-arrow {
  0%, 100% { background-color: var(--border-light); }
  50% { background-color: var(--accent); box-shadow: var(--glow-light); }
}

@keyframes pulse-arrow-head {
  0%, 100% { border-color: var(--border-light); }
  50% { border-color: var(--accent); }
}

/* Code Mockup Details */
.code-window .mock-body {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}

.code-window pre {
  margin: 0;
}

.code-window code {
  font-family: inherit;
  color: var(--text-primary);
}

.code-window .comment {
  color: var(--text-muted);
}

.code-window .keyword {
  color: var(--text-primary);
  font-weight: 700;
}

.code-window .section {
  color: var(--accent);
}

/* Features Section */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.03);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 20px;
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Setup / Instructions Section */
.setup-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}

.setup-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

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

.tab-btn.active {
  color: var(--text-primary);
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.setup-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  min-height: 380px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-pane h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pane-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.step-list {
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li:last-child {
  margin-bottom: 0;
}

.step-list pre {
  margin-top: 12px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.step-list code {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-primary);
}

.step-list code.url-code {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  background-color: var(--glass-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item.active {
  border-color: var(--border-active);
  background-color: rgba(255, 255, 255, 0.04);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .hero-title {
    font-size: 42px;
  }
  .showcase-container {
    flex-direction: column;
    gap: 32px;
  }
  .showcase-arrow {
    transform: rotate(90deg);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }
  .nav-links {
    gap: 20px;
  }
  .hero-section {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .setup-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .tab-btn {
    text-align: center;
  }
  .setup-content {
    padding: 24px;
  }
}
