/* ===== TinyVag — Enterprise Link Intelligence Platform ===== */

:root {
  --primary: #ff00ff;
  --primary-dark: #cc00cc;
  --primary-light: #ff66ff;
  --primary-glow: rgba(255, 0, 255, 0.15);
  --secondary: #0a0a1a;
  --bg-dark: #0a0a1a;
  --bg-darker: #060612;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0cc;
  --text-muted: #6e6e8a;
  --border: #2a2a4a;
  --border-light: #3a3a5a;
  --success: #00ff88;
  --cyan: #00ffff;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 0, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
    var(--bg-dark);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #ff66ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Demo Box */

.demo-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 0 auto 40px;
  max-width: 580px;
}

.demo-input-row {
  display: flex;
  gap: 12px;
}

.demo-input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.demo-input::placeholder {
  color: var(--text-muted);
}

.demo-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.demo-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.demo-btn:hover {
  background: var(--primary-dark);
}

.demo-btn:active {
  transform: scale(0.97);
}

.demo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.demo-result {
  margin-top: 16px;
  display: none;
}

.demo-result.active {
  display: block;
}

.demo-result-success {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
}

.demo-result-label {
  font-size: 0.75rem;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}

.demo-result-url {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-result-link {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--cyan);
  word-break: break-all;
  flex: 1;
}

.demo-result-copy {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--cyan);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.demo-result-copy:hover {
  background: rgba(0, 255, 255, 0.2);
}

.demo-result-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.demo-result-meta span {
  color: var(--success);
  font-weight: 600;
}

.demo-result-reassurance {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.demo-result-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  padding: 12px 0 0;
}

/* Stats */

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 12px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== SECTIONS ===== */

.section {
  padding: 80px 24px;
}

.section-dark {
  background: var(--bg-dark);
}

.section-darker {
  background: var(--bg-darker);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== FEATURES ===== */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

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

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

/* ===== HOW IT WORKS ===== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-grid .testimonial-card:nth-child(4),
.testimonials-grid .testimonial-card:nth-child(5) {
  grid-column: span 1;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.testimonial-stars {
  color: #ffd030;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== PRICING ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 6px;
}

.pricing-dollar {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  position: relative;
  top: 8px;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
  min-height: 36px;
}

.pricing-tagline-small {
  font-size: 0.75rem;
  color: var(--success);
  margin-bottom: 24px;
  font-weight: 500;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

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

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}

.pricing-btn-primary {
  background: var(--primary);
  color: #fff;
}

.pricing-btn-primary:hover {
  background: var(--primary-dark);
}

.pricing-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.pricing-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ===== FUQ ===== */

.fuq-container {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

/* ===== TRUST ===== */

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.trust-logo:hover {
  opacity: 0.8;
}

.trust-logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.trust-logo span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 24px;
}

.trust-badge-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.trust-badge span:nth-child(2) {
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== CTA ===== */

.cta-section {
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 0, 255, 0.1) 0%, transparent 60%),
    var(--bg-dark);
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cta-btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.cta-btn-primary {
  background: var(--primary);
  color: #fff;
}

.cta-btn-primary:hover {
  background: var(--primary-dark);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.cta-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.cta-reassurance {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .demo-input-row {
    flex-direction: column;
  }

  .demo-btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

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

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

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

  .pricing-card-featured {
    transform: none;
  }

  .trust-logos {
    gap: 24px;
  }

  .trust-badges {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}
