:root {
  --bg: #09090b;
  --bg-secondary: #18181b;
  --border: #27272a;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

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

/* Hero */
.hero {
  padding: 160px 24px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-label {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Products Section */
.products {
  padding: 40px 24px 120px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: var(--bg-secondary);
  transition: background 0.15s;
}

.product-item:hover {
  background: #1f1f23;
}

.product-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.product-text h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tag {
  font-size: 12px;
  color: var(--text-tertiary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.arrow {
  color: var(--text-tertiary);
  transition: transform 0.15s, color 0.15s;
}

.product-item:hover .arrow {
  transform: translateX(4px);
  color: var(--text);
}

/* Product Hero */
.product-hero {
  padding: 160px 24px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-hero .tag {
  margin-bottom: 16px;
  display: inline-block;
}

.product-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-hero > p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #1f1f23;
  border-color: #3f3f46;
}

/* Features */
.features {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.features h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

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

.feature-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Pricing */
.pricing {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.pricing > h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.pricing-card .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--text-tertiary);
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-card li.disabled {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* FAQ */
.faq {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq > h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.faq-list {
  max-width: 640px;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:first-child {
  border-top: 1px solid var(--border);
}

.faq-list summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::after {
  content: '+';
  font-size: 18px;
  color: var(--text-tertiary);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  font-size: 14px;
  color: var(--text-secondary);
  padding-bottom: 20px;
  line-height: 1.7;
}

.faq-list a {
  color: var(--accent);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}

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

.footer-brand {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 0.15s;
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-content {
  max-width: 440px;
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #166534;
  border-radius: 50%;
  color: #22c55e;
}

.success-content h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-content > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.success-steps {
  text-align: left;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.success-steps h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.success-steps li {
  counter-increment: steps;
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  font-size: 14px;
}

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

.success-steps li + li {
  border-top: 1px solid var(--border);
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.success-note a {
  color: var(--accent);
}

/* Legal Pages */
.legal {
  padding: 140px 24px 80px;
  max-width: 680px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal a {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .product-meta {
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
