/* ── DealWire Landing Page ─────────────────────────── */

:root {
  --navy: #1B3A5C;
  --blue: #2E75B6;
  --blue-hover: #1D5A9C;
  --text-secondary: #5A6B7D;
  --border: #E8ECF0;
  --card-bg: #F8F9FB;
  --white: #FFFFFF;
  --max-width: 1240px;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ──────────────────────────────────────────── */

.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.logo {
  height: 36px;
  width: auto;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  padding: 2px 8px;
  vertical-align: middle;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 700px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.deal-counter {
  margin-top: 40px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.counter-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -1px;
}

.counter-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Value Props ───────────────────────────────────── */

.value-props {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

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

.prop-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.prop h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

/* ── Live Deals ────────────────────────────────────── */

.live-deals {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #E74C3C;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.section-header h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.deals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.deal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.deal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.deal-company {
  font-size: 18px;
  font-weight: 700;
}

.deal-sector {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(46, 117, 182, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.deal-details {
  display: flex;
  gap: 16px;
  margin-bottom: 4px;
}

.deal-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.deal-round {
  font-size: 15px;
  color: var(--text-secondary);
}

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

.deal-placeholder {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 32px;
  text-align: center;
}

.deals-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.deals-cta:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

/* ── Telegram CTA ──────────────────────────────────── */

.telegram-cta {
  padding: 72px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.telegram-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tg-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ── Subscribe ─────────────────────────────────────── */

.subscribe {
  padding: 72px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.subscribe h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.subscribe-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  color: var(--navy);
  transition: border-color 0.2s;
}

.subscribe-form input:focus {
  border-color: var(--blue);
}

.subscribe-form input::placeholder {
  color: #A0ADB8;
}

/* ── Buttons ───────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

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

/* ── Form Message ──────────────────────────────────── */

.form-message {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.form-message.success {
  color: #27AE60;
}

.form-message.error {
  color: #E74C3C;
}

/* ── Footer ────────────────────────────────────────── */

.footer {
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 8px;
  color: var(--border);
}

.footer-copy {
  font-size: 12px;
  color: #A0ADB8;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .counter-num {
    font-size: 32px;
  }

  .props-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .value-props,
  .live-deals,
  .telegram-cta,
  .subscribe {
    padding: 48px 0;
  }

  .telegram-cta h2,
  .subscribe h2 {
    font-size: 24px;
  }

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

  .deal-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
