/* Homepage styles */

/* Hero */
.hero {
  padding: 180px 24px 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--orange);
  color: var(--white);
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--bg-card);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-accent { color: var(--blue); }

.hero-subtitle {
  font-size: 19px;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-price {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 32px;
}

.hero-price-tag { margin-bottom: 8px; }

.price-slash {
  color: var(--gray-400);
  text-decoration: line-through;
  font-size: 14px;
}

.hero-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero-price-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-500);
}

.hero-price-amount {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-price-period {
  font-size: 16px;
  color: var(--gray-500);
  margin-left: 8px;
}

.hero-price-breakdown {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
}

.hero-price-breakdown strong { color: var(--gray-700); }

.hero-savings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  min-width: 180px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  justify-content: center;
  white-space: nowrap;
}

/* Hero Visual */
.hero-window {
  background: #1d1d1f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.window-dots { display: flex; gap: 6px; }

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.window-content { padding: 16px 12px; }

/* Hero chat messages - matching mssgs-electron design */
.hero-chat-message {
  display: flex;
  gap: 12px;
  padding: 4px 16px;
  border-radius: 4px;
  align-items: flex-start;
}

.hero-chat-message:hover {
  background: rgba(255, 255, 255, 0.02);
}

.hero-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: 2px;
}

.hero-chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.hero-chat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.hero-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-chat-name {
  font-size: 15px;
  font-weight: 600;
  color: #4a9c5d;
}

.hero-chat-name.color-blue { color: #5c9fd4; }
.hero-chat-name.color-purple { color: #9b7ed9; }
.hero-chat-name.color-orange { color: #d99a5c; }

.hero-chat-online {
  width: 8px;
  height: 8px;
  background: #4a9c5d;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-chat-time {
  font-size: 11px;
  color: #72767d;
  margin-left: auto;
}

.hero-chat-text {
  font-size: 15px;
  color: #dfe0e2;
  line-height: 1.375;
  word-break: break-word;
}

.hero-chat-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.typing-indicator { display: flex; gap: 3px; }

.typing-indicator span {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-3px); }
}

.typing-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Why Switch */
.why-switch {
  padding: var(--section-padding) 24px;
  background: var(--gray-50);
}

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

.reason-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.reason-card:hover {
  box-shadow: var(--shadow-lg);
}

.reason-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.reason-icon i {
  font-size: 20px;
  color: var(--red);
}

.reason-pain {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 8px;
}

.reason-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.reason-problem {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.reason-solution {
  padding: 16px;
  background: var(--green-light);
  border-radius: 10px;
}

.solution-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 6px;
}

.reason-solution p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* Comparison */
.comparison { padding: 60px 24px; }

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.comparison-header {
  background: var(--gray-50);
  font-weight: 600;
  font-size: 14px;
}

.comparison-cell {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 15px;
  display: flex;
  align-items: center;
}

.comparison-cell.label { color: var(--gray-600); }

.comparison-cell.highlight {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}

.comparison-cell.competitor { color: var(--gray-500); }
.comparison-cell.positive { color: var(--green); }
.comparison-cell.negative { color: var(--gray-400); }
.comparison-cell i { font-size: 14px; }
.comparison-row:last-child .comparison-cell { border-bottom: none; }

/* Social Proof */
.social-proof {
  padding: 48px 24px;
  background: var(--gray-50);
}

.proof-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.proof-logos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proof-label-text {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.company-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.company-logo:hover {
  opacity: 1;
}

/* Individual brand logo styling */
.logo-coolblue {
  color: #0090e3;
  font-family: 'Arial Black', Arial, sans-serif;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.logo-bol {
  color: #0000a4;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 22px;
  letter-spacing: -1px;
}

.logo-postnl {
  color: #d35400;
  font-family: 'Arial', sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-rabo {
  color: #ff6600;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.logo-kpn {
  color: #009a44;
  font-family: 'Arial Black', Arial, sans-serif;
  letter-spacing: 1px;
}

[data-theme="dark"] .logo-coolblue { color: #4db8ff; }
[data-theme="dark"] .logo-bol { color: #6666ff; }
[data-theme="dark"] .logo-postnl { color: #ff8533; }
[data-theme="dark"] .logo-rabo { color: #ff9933; }
[data-theme="dark"] .logo-kpn { color: #33cc77; }

.proof-award {
  flex-shrink: 0;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
}

.award-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ffd700, #ffb800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-badge-icon i {
  color: #fff;
  font-size: 18px;
}

.award-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.award-badge-title {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.award-badge-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Final CTA */
.final-cta {
  padding: var(--section-padding) 24px;
  text-align: center;
}

.cta-container {
  max-width: 540px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 19px;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--blue-hover);
  box-shadow: var(--shadow-glow);
}

.cta-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--orange);
}

/* Why Visual (Homepage) */
.why-visual {
  padding: 60px 24px;
  background: var(--gray-50);
}

.why-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.why-visual-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.why-visual-demo {
  background: #2c2d32;
  padding: 24px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-info {
  padding: 20px;
}

.why-visual-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.why-visual-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Price Comparison Mini */
.price-comparison-mini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-bar-label {
  width: 40px;
  font-size: 12px;
  font-weight: 500;
  color: #9b9ca2;
  flex-shrink: 0;
}

.price-bar-fill {
  height: 20px;
  border-radius: 4px;
}

.price-bar.slack .price-bar-fill {
  width: 140px;
  background: #611f69;
}

.price-bar.mssgs .price-bar-fill {
  width: 28px;
  background: #4a7c59;
}

.price-bar-amount {
  font-size: 14px;
  font-weight: 600;
  color: #dfe0e2;
}

/* Data Location Mini */
.data-location-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.server-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.server-icon {
  width: 48px;
  height: 48px;
  background: #36393f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-icon i {
  font-size: 22px;
  color: #4a7c59;
}

.server-flag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.eu-stars {
  color: #ffc107;
  font-size: 8px;
  letter-spacing: -1px;
}

.eu-text {
  color: #003399;
  font-weight: 700;
  font-size: 12px;
  background: #ffc107;
  padding: 2px 6px;
  border-radius: 3px;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #36393f;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #b9bbbe;
}

.location-badge i {
  color: #4a7c59;
}

/* Company Visual */
.company-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #36393f;
  padding: 12px 16px;
  border-radius: 8px;
}

.company-flag {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.company-flag.nl {
  background: linear-gradient(180deg, #AE1C28 33%, #FFFFFF 33%, #FFFFFF 66%, #21468B 66%);
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-name {
  font-size: 15px;
  font-weight: 600;
  color: #dfe0e2;
}

.company-country {
  font-size: 11px;
  color: #72767d;
}

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

.no-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #72767d;
  background: #36393f;
  padding: 4px 10px;
  border-radius: 12px;
}

.no-badge i {
  color: #f04747;
  font-size: 9px;
}

.why-link {
  text-align: center;
}

.why-link a {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.why-link a:hover {
  text-decoration: underline;
}

/* Responsive - Homepage specific */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-cta { flex-direction: column; }
  .hero-trust { justify-content: center; }
  .reasons-grid { grid-template-columns: 1fr; }
  .proof-content { flex-direction: column; text-align: center; gap: 24px; }
  .proof-logos { align-items: center; }
  .company-logos { justify-content: center; gap: 20px; }
  .company-logo { font-size: 16px; }
}
