/* ============================================
   CSS — SoloAgent Landing Page
   ============================================ */

/* ----- Design Tokens / Variables ----- */
:root {
  --ink: #0d1117;
  --cream: #f0f4f8;
  --warm: #e8edf3;
  --accent: #0891b2;
  --accent-light: #a5f3fc;
  --accent-dark: #0e7490;
  --sage: #155e75;
  --sage-light: #a5d8e6;
  --muted: #475569;
  --border: #cbd5e1;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.serif {
  font-family: 'DM Serif Display', serif;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ----- Navigation ----- */
nav {
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.btn-nav {
  background: #0e7490;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-nav:hover {
  background: #155e75;
  color: white;
}

/* ----- Hero Section ----- */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(8, 145, 178, 0.12), transparent);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(240, 244, 248, 0.25);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(240, 244, 248, 0.5);
  background: rgba(240, 244, 248, 0.06);
}

.btn-white {
  background: white;
  color: var(--accent);
  padding: 0.9rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-white:hover {
  opacity: 0.92;
}

/* ----- Stats Bar ----- */
.stats-bar {
  background: var(--warm);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ----- Section Base ----- */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ----- How It Works Section ----- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.how-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.how-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent-light);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

.how-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.how-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ----- What You Get / Output Section ----- */
.output-section {
  background: var(--ink);
  color: var(--cream);
}

.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.output-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.output-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
}

.output-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.output-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.7;
}

.out-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  margin-left: auto;
}

/* ----- Sample Blogs Section ----- */
.blogs-section {
  background: var(--warm);
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13, 17, 23, 0.1);
}

.blog-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--border);
}

.blog-meta {
  padding: 1.5rem;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-read {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ----- Free Trial Section ----- */
.trial-section {
  background: white;
}

.trial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trial-inner .section-lead {
  margin: 0 auto 2.5rem;
}

.trial-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: left;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: white;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.trial-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--border);
  border-radius: 6px;
  padding: 3px;
}

.toggle-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.toggle-btn.active {
  background: white;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.delivery-note {
  background: var(--sage-light);
  border: 1px solid #7cc2d4;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trial-success {
  display: none;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ----- Features Section ----- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.feat-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: white;
  transition: border-color 0.2s;
}

.feat-card:hover {
  border-color: var(--accent);
}

.feat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ----- Use Cases Section ----- */
.use-section {
  background: var(--ink);
  color: var(--cream);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.use-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
}

.use-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.use-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

.use-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ----- CTA Banner ----- */
.cta-section {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* ----- Footer ----- */
footer {
  background: var(--ink);
  color: #475569;
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: #64748b;
  text-decoration: none;
}

footer a:hover {
  color: var(--cream);
}

/* ----- Hero Terminal Visual ----- */
.hero-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.8;
}

.hero-visual .hl-key {
  color: #06b6d4;
}

.hero-visual .hl-val {
  color: #22d3ee;
}

.hero-visual .hl-str {
  color: #67e8f9;
}

.hero-visual .hl-comment {
  color: #334155;
}

.hero-visual .hl-head {
  color: #e2e8f0;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4caf80;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ----- Quality Review Section ----- */
.review-section {
  background: #0a0f16;
  padding: 4rem 0;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 760px;
  margin: 2rem auto 0;
}

.review-scores {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review-row {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.review-total {
  font-weight: 700;
  color: var(--cream);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.75rem;
  margin-top: 0.4rem;
}

.review-val {
  text-align: right;
  font-weight: 600;
  color: var(--accent-light);
  font-size: 0.82rem;
}

.review-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.review-fill {
  height: 100%;
  background: linear-gradient(90deg, #0891b2, #06b6d4);
  border-radius: 3px;
}

.review-note {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-note strong {
  color: #e2e8f0;
}

.review-checklist {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.check-item {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ----- Pricing Section ----- */
.pricing-section {
  padding: 4rem 0;
}

.pricing-table-wrapper {
  max-width: 640px;
  margin: 2rem auto 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 1.25rem;
  gap: 1rem;
}

.pricing-flag {
  text-align: center;
  line-height: 1.4;
}

.pricing-flag small {
  font-size: 0.72rem;
  color: #94a3b8;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 0.85rem 1.25rem;
  gap: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-label {
  font-weight: 500;
}

.pricing-amt {
  text-align: center;
  font-weight: 700;
  color: var(--accent-dark);
}

/* ----- Responsive / Media Queries ----- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .how-grid,
  .blog-cards,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .output-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-row {
    grid-template-columns: 1fr 2.5rem 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table-header,
  .pricing-row {
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 0.82rem;
    padding: 0.7rem 0.75rem;
    gap: 0.5rem;
  }

  .pricing-label {
    font-size: 0.82rem;
  }

  nav .nav-links {
    display: none;
  }
}
