/* ===== PAGE 1: BRAND LANDING ===== */

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: var(--space-4xl) 0;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(210, 0, 1, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(210, 0, 1, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.6s ease-out both;
}

.hero-brand {
  display: block;
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.hero-identity {
  font-size: var(--text-body);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero-headline {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.hero-cta-sub {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin: 0;
}

.hero-visual {
  animation: slideInRight 0.6s ease-out 0.2s both;
}

/* Dashboard mockup */
.hero-dashboard {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0f172a;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.dash-dot:first-child { background: #ef4444; }
.dash-dot:nth-child(2) { background: #eab308; }
.dash-dot:nth-child(3) { background: #22c55e; }

.dash-title {
  margin-left: 8px;
  font-size: 11px;
  color: #64748b;
  font-family: var(--font-mono);
}

.dash-body {
  display: flex;
  min-height: 260px;
}

.dash-sidebar {
  width: 48px;
  background: #0f172a;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-menu-item {
  height: 6px;
  border-radius: 3px;
  background: #334155;
}

.dash-menu-item.active {
  background: var(--color-accent);
}

.dash-content {
  flex: 1;
  padding: 16px;
}

.dash-stat-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.dash-stat {
  flex: 1;
  background: #0f172a;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.dash-stat-num {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

.dash-stat-label {
  font-size: 9px;
  color: #64748b;
  margin-top: 2px;
}

.dash-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 60px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.dash-bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-accent), rgba(210, 0, 1, 0.3));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}

.dash-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #0f172a;
  border-radius: 4px;
}

.dash-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-status.ok { background: #22c55e; }
.dash-status.warn { background: #eab308; }

.dash-label-text {
  flex: 1;
  height: 6px;
  background: #334155;
  border-radius: 3px;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.proof-stat {
  padding: var(--space-lg) var(--space-sm);
}

.proof-stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-mono);
  line-height: 1;
}

.proof-stat-suffix {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary);
}

.proof-stat-desc {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.proof-stat-desc small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

.proof-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.proof-case {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md);
  position: relative;
}

.proof-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(210, 0, 1, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: var(--space-xs);
}

.proof-case h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-xs);
}

.proof-case p {
  font-size: var(--text-caption);
  margin-bottom: var(--space-xs);
}

.proof-case-year {
  font-size: 12px;
  color: var(--color-text-secondary);
  opacity: 0.7;
}

/* ===== TECH TRUST STRIP ===== */
.tech-trust {
  padding: var(--space-xl) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.trust-item strong {
  display: block;
  font-size: var(--text-caption);
  color: var(--color-text);
}

.trust-item span {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ===== OUTCOMES (Before/After) ===== */
.outcomes {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.outcome-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.outcome-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  border-radius: 8px;
  background: var(--color-surface);
}

.outcome-before,
.outcome-after {
  padding: var(--space-sm);
}

.outcome-before p,
.outcome-after p {
  margin: 0;
  font-size: var(--text-caption);
}

.outcome-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: var(--space-xs);
}

.outcome-tag.before {
  background: rgba(231, 76, 60, 0.1);
  color: var(--color-error);
}

.outcome-tag.after {
  background: rgba(40, 167, 69, 0.1);
  color: #1e7e34;
}

.outcome-arrow {
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

/* ===== INTEGRATION DIAGRAM ===== */
.integration {
  padding: var(--space-section) 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.integration-diagram {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
  isolation: isolate;
}

.integration-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(210, 0, 1, 0.3);
  z-index: 10;
  animation: integrationPulse 2s ease-in-out infinite;
}

@keyframes integrationPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 20px 60px rgba(210, 0, 1, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 25px 80px rgba(210, 0, 1, 0.4);
  }
}

.center-logo .logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.center-logo .subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.integration-components {
  position: relative;
  width: 100%;
  height: 100%;
}

.component-item {
  position: absolute;
  width: 160px;
  padding: 1.2rem 1rem;
  background: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-slow);
  border: 2px solid transparent;
  z-index: 5;
}

.component-item:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(210, 0, 1, 0.4);
  z-index: 15;
}

.top-left { top: 8%; left: 12%; }
.top-right { top: 8%; right: 12%; }
.middle-left { top: 50%; left: 8%; transform: translateY(-50%); }
.middle-right { top: 50%; right: 8%; transform: translateY(-50%); }
.bottom-left { bottom: 8%; left: 12%; }
.bottom-right { bottom: 10%; right: 15%; }

.top-left:hover { top: calc(8% - 6px); }
.top-right:hover { top: calc(8% - 6px); }
.middle-left:hover { left: calc(8% - 6px); }
.middle-right:hover { right: calc(8% - 6px); }
.bottom-left:hover { bottom: calc(8% + 6px); }
.bottom-right:hover { bottom: calc(10% + 6px); }

.component-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
  transition: all var(--transition-slow);
}

.component-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.component-item:hover .component-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(210, 0, 1, 0.3);
}

.component-icon.server { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); }
.component-icon.application { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }
.component-icon.monitoring { background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%); }

.component-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  white-space: nowrap;
}

.component-item p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
  white-space: nowrap;
  margin-bottom: 0;
}


/* Integration benefits */
.integration-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-3xl);
}

.benefit-item {
  text-align: center;
  padding: var(--space-md);
  border-radius: 8px;
  background: white;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-item svg {
  margin: 0 auto var(--space-sm);
  display: block;
}

.benefit-item h4 {
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.benefit-item p {
  font-size: var(--text-caption);
  margin: 0;
}

/* ===== FAQ ===== */
.faq-section {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.faq-section .accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 8px !important;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-section .accordion-button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  min-height: 44px;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: none;
  border-left: 3px solid var(--color-accent);
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-border);
}

.faq-section .accordion-body {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding: 0 var(--space-md) var(--space-sm);
}

/* ===== CONTACT ===== */
.contact-section {
  padding: var(--space-section) 0;
  background: var(--color-surface);
  text-align: center;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.contact-mailto {
  gap: var(--space-xs);
  padding: 16px 40px;
  font-size: 1.1rem;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: var(--text-body);
}

.contact-phone a {
  color: var(--color-text);
  font-weight: 600;
}

.contact-phone a:visited {
  color: var(--color-text);
}

/* ===== BOTTOM CTA ===== */
.bottom-cta {
  background: var(--color-text);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: #fff;
}

.bottom-cta h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.bottom-cta p {
  opacity: 0.8;
  margin-bottom: var(--space-lg);
}

.bottom-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER GRID ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: var(--text-caption);
}

.footer-brand .logo-image {
  height: 28px;
}

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

/* Tablet (768-1023) */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
  }

  .proof-stats {
    gap: var(--space-sm);
  }

  .trust-strip {
    gap: var(--space-xl);
  }

  .integration-diagram {
    height: 500px;
  }

  .integration-center {
    width: 150px;
    height: 150px;
  }

  .component-item {
    width: 130px;
    padding: 1rem 0.8rem;
  }

  .component-item h4 { font-size: 0.9rem; }
  .component-item p { font-size: 0.75rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* Mobile (<768) */
@media (max-width: 767px) {
  .hero {
    padding: var(--space-xl) 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-visual {
    order: 2;
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-primary-cta,
  .hero-cta-group .btn-secondary-cta {
    width: 100%;
    justify-content: center;
  }

  .dash-stat-row {
    flex-wrap: wrap;
  }

  .dash-stat {
    min-width: 70px;
  }

  .proof-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-stat {
    padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid var(--color-border);
  }

  .proof-stat:last-child {
    border-bottom: none;
  }

  .proof-cases {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .trust-strip {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
    padding: 0 var(--space-sm);
  }

  .outcome-row {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .outcome-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .integration-diagram {
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    position: static;
  }

  .integration-center {
    position: static;
    transform: none;
    width: 120px;
    height: 120px;
    margin: var(--space-md) auto;
  }

  .integration-components {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
  }

  .component-item {
    position: static;
    width: auto;
    transform: none !important;
  }

  .connection-lines { display: none; }

  .integration-benefits {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .bottom-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Small mobile (375px) */
@media (max-width: 400px) {
  .hero {
    padding: var(--space-lg) 0;
  }

  .dash-stat-num {
    font-size: 13px;
  }

  .dash-stat-label {
    font-size: 8px;
  }
}

/* Wide desktop (1440+) */
@media (min-width: 1440px) {
  .hero {
    padding: var(--space-4xl) 0 120px;
  }

  .integration-diagram {
    max-width: 900px;
    height: 650px;
  }
}
