/* ============================================
   LINKSAFE — Midnight Trust Theme
   Complete styles.css
   ============================================ */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0F172A;
  color: #F1F5F9;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background gradient orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1E40AF 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.75rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F1F5F9;
}

.brand-tag {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

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

.nav-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #F1F5F9;
}

/* Main */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #94A3B8;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.accent {
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.125rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-sub strong {
  color: #F1F5F9;
  font-weight: 600;
}

/* Check Box */
.check-box {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.input-icon {
  color: #64748B;
  flex-shrink: 0;
}

#url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #F1F5F9;
  font-size: 0.95rem;
  font-family: 'JetBrains Mono', monospace;
}

#url-input::placeholder {
  color: #64748B;
}

.paste-btn {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.paste-btn:hover {
  background: rgba(59, 130, 246, 0.2);
}

.check-btn {
  width: 100%;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.check-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-arrow {
  transition: transform 0.2s;
}

.check-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Bot CTA after hero */
.bot-cta {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  text-align: center;
}

.bot-cta-divider {
  color: #64748B;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.bot-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  text-decoration: none;
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.bot-cta-link:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.bot-cta-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.bot-cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.bot-cta-text strong {
  font-size: 1.1rem;
  color: #F1F5F9;
  margin-bottom: 0.25rem;
}

.bot-cta-text span {
  font-size: 0.875rem;
  color: #94A3B8;
}

.bot-cta-arrow {
  font-size: 1.5rem;
  color: #3B82F6;
  flex-shrink: 0;
}

/* Trust Row */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  color: #64748B;
  font-size: 0.875rem;
}

/* Results */
.results {
  max-width: 600px;
  margin: 2rem auto 0;
}

.result-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.result-safe {
  border-color: rgba(16, 185, 129, 0.4);
}

.result-warning {
  border-color: rgba(245, 158, 11, 0.4);
}

.result-danger {
  border-color: rgba(239, 68, 68, 0.4);
}

.verdict {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.verdict-safe { color: #10B981; }
.verdict-warning { color: #F59E0B; }
.verdict-danger { color: #EF4444; }

.signals-list {
  list-style: none;
  margin: 1rem 0;
}

.signals-list li {
  padding: 0.5rem 0;
  color: #94A3B8;
  font-size: 0.95rem;
}

/* Stats Banner */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94A3B8;
  font-size: 0.875rem;
}

.stat-source {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  width: 90%;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: #94A3B8;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Scams Section */
.scams-section {
  padding: 5rem 0;
}

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

.scam-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.scam-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
}

.scam-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.scam-card h3 {
  color: #F1F5F9;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.scam-card p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How it works */
.how-section {
  padding: 5rem 0;
}

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

.how-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.how-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.how-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: #3B82F6;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.how-title {
  color: #F1F5F9;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.how-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Telegram Bot Section */
.bot-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
  position: relative;
}

.bot-section-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.bot-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 100px;
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

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

.bot-feature {
  padding: 2rem 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.bot-feature:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.1);
}

.bot-feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bot-feature h3 {
  color: #F1F5F9;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.bot-feature p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.bot-cta-center {
  margin-top: 3rem;
  text-align: center;
}

.bot-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.bot-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.bot-open-btn span {
  font-size: 1.5rem;
}

.bot-username {
  margin-top: 1rem;
  color: #64748B;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

/* Business Section */
.business-section {
  padding: 5rem 0;
}

.business-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0.5) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 3rem 2rem;
}

.business-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.business-desc {
  color: #94A3B8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.business-features {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.business-features li {
  padding: 0.5rem 0;
  color: #E2E8F0;
  font-size: 1rem;
}

.lead-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.lead-form input {
  flex: 1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #F1F5F9;
  font-size: 0.95rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.lead-form input:focus {
  border-color: #3B82F6;
}

.lead-form input::placeholder {
  color: #64748B;
}

.cta-btn {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.form-note {
  margin-top: 1rem;
  color: #64748B;
  font-size: 0.825rem;
}

/* Trust Section */
.trust-section {
  padding: 5rem 0;
}

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

.trust-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.trust-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.trust-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trust-card h3 {
  color: #F1F5F9;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.trust-card p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

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

.footer-brand {
  color: #F1F5F9;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links {
  margin-bottom: 1.5rem;
  color: #64748B;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
  margin: 0 0.25rem;
}

.footer-links a:hover {
  color: #60A5FA;
}

.footer-note {
  color: #64748B;
  font-size: 0.825rem;
  line-height: 1.6;
}

.footer-note a {
  color: #60A5FA;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .stats-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

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

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

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

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

  .bot-cta-link {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .bot-cta-text {
    text-align: center;
  }

  .bot-cta-arrow {
    display: none;
  }

  .bot-section {
    padding: 3rem 1rem;
  }

  .bot-open-btn {
    width: 100%;
    max-width: 320px;
  }

  .lead-form {
    flex-direction: column;
  }

  .business-content {
    padding: 2rem 1.5rem;
  }

  .trust-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

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

  .section-title {
    font-size: 1.75rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .main {
    padding: 0 1rem;
  }
}