/* ==========================================================================
   COMPUTER CITE - LAYOUT & SECTIONS STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--header-height) + clamp(40px, 30px + 3vw, 80px));
  padding-bottom: clamp(60px, 40px + 3vw, 100px);
  background: radial-gradient(circle at 80% 20%, rgba(255, 106, 71, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(40, 44, 78, 0.15) 0%, transparent 50%),
              var(--color-dark-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 24px + 2vw, 64px);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 16px + 1vw, 32px);
  z-index: 2;
}

.hero-title {
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: var(--text-md);
  color: var(--color-text-light-gray);
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: clamp(24px, 16px + 2vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--color-border-dark);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-visual-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(20, 20, 22, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 48px);
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   Stats / "Numbers We're Proud Of"
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--color-dark-surface);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border-dark);
}

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

.stat-cell {
  background: var(--color-dark-surface);
  padding: clamp(32px, 24px + 1.5vw, 48px);
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-val span {
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted-light);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   AI-First Deep Dive Section
   -------------------------------------------------------------------------- */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 20px + 2vw, 56px);
  align-items: center;
}

@media (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr; }
}

.ai-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.ai-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
}

.ai-tab-btn:hover {
  background: var(--color-dark-surface-2);
  border-color: var(--color-border-dark);
}

.ai-tab-btn.active {
  border-color: var(--color-accent);
  background: var(--color-dark-surface-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ai-tab-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-tab-content h4 {
  font-size: var(--text-base);
  margin-bottom: 6px;
}

.ai-tab-content p {
  font-size: var(--text-xs);
  color: var(--color-text-muted-light);
  margin-bottom: 0;
}

.ai-code-preview {
  background: #09090b;
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #141417;
  border-bottom: 1px solid var(--color-border-dark);
}

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

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #d1d5db;
  line-height: 1.7;
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   Engagement Models (4 Pillars)
   -------------------------------------------------------------------------- */
.engagement-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-light-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 32px;
  min-height: 340px;
  transition: all var(--transition-base);
}

.engagement-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.engagement-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.engagement-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.engagement-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.engagement-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
}

.engagement-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Video Showcase Banner
   -------------------------------------------------------------------------- */
.video-banner {
  position: relative;
  width: 100%;
  height: clamp(340px, 250px + 15vw, 520px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.6s var(--ease-out-expo);
}

.video-banner:hover img {
  transform: scale(1.04);
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 40px var(--color-accent-glow);
  transition: all var(--transition-base);
}

.video-play-btn:hover {
  transform: scale(1.12);
  background: var(--color-accent-hover);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

/* Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.video-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-modal-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
