/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0d1117;
  --bg-raised: #161b22;
  --bg-card: #1c2128;
  --bg-card-hover: #22272e;
  --text: #e6edf3;
  --text-dim: #8b949e;
  --text-muted: #484f58;
  --accent: #4f8cff;
  --accent-hover: #6da1ff;
  --accent-glow: rgba(79, 140, 255, 0.15);
  --pro: #f0b429;
  --pro-glow: rgba(240, 180, 41, 0.12);
  --border: #30363d;
  --radius: 12px;
  --spacing-section: 120px;
}

::selection {
  background: rgba(79, 140, 255, 0.25);
  color: var(--text);
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; }

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 56px;
  font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { display: block; width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a:not(.btn) {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* === Hero === */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(79, 140, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Showcase === */
.showcase {
  padding: 0 0 var(--spacing-section);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-heading {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.showcase-detail {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-frame {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-frame img {
  display: block;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* === Features (3-Pillar) === */
.features {
  padding: var(--spacing-section) 0;
}

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

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: #444c56;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.pillar-icon svg {
  color: var(--accent);
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* === Pricing === */
.pricing {
  padding: var(--spacing-section) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}

.price-card--pro {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(79, 140, 255, 0.1), 0 0 120px rgba(79, 140, 255, 0.05);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.price-amount span {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-card ul {
  list-style: none;
  margin-bottom: 28px;
}

.price-card li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

.price-card li:first-child {
  padding-left: 0;
  font-weight: 600;
  color: var(--text);
}
.price-card li:first-child::before { content: ""; }

.price-card--pro li::before { color: var(--pro); }
.price-card--pro li:first-child::before { content: ""; }

.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.trust-signals span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === FAQ === */
.faq {
  padding: var(--spacing-section) 0;
}

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

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

.faq-item summary {
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "\2212";
  color: var(--accent);
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* === Contact === */
.contact {
  padding: 160px 0 var(--spacing-section);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  :root {
    --spacing-section: 80px;
  }

  .nav-links a:not(.btn) { display: none; }

  .hero { padding: 120px 0 48px; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }

  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.95rem; margin-bottom: 36px; }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar {
    padding: 32px 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .trust-signals {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn { width: 100%; max-width: 280px; }

  .showcase-heading { font-size: 1.4rem; }
}
