/**
 * Kodimy About Page Stylesheet
 * 
 * Defines 2-column split hero with browser card visual showcase,
 * key stats metrics grid, dark mission card, and principles cards.
 *
 * @package Astra Kodimy
 * @since 1.0.0
 */

/* ==========================================================================
   1. HERO SECTION (2-Column Split)
   ========================================================================== */
.about-hero-section {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 20% 0%, rgba(60, 238, 191, 0.12) 0%, rgba(20, 206, 202, 0.05) 40%, transparent 70%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-hero-title {
  font-family: var(--kodimy-font-headings);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--kodimy-ink);
  margin: 16px 0 18px;
}

.about-hero-subhead {
  font-family: var(--kodimy-font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--kodimy-ink);
  font-weight: 500;
  margin-bottom: 14px;
}

.about-hero-body {
  font-family: var(--kodimy-font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--kodimy-text-soft);
  margin-bottom: 32px;
}

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

/* ==========================================================================
   2. SHOWCASE BROWSER CARD (Top Featured Visual)
   ========================================================================== */
.about-hero-visual {
  position: relative;
  width: 100%;
}

.about-showcase-browser-card {
  background: #0B0F17;
  border: 1px solid rgba(60, 238, 191, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.16), 0 0 40px rgba(20, 206, 202, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.about-showcase-browser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(10, 10, 10, 0.22), 0 0 50px rgba(60, 238, 191, 0.16);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #141A26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.showcase-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.dot-red    { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #27C93F; }

.showcase-url-bar {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0B0F17;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--kodimy-font-headings);
  font-size: 0.76rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-url-bar svg {
  color: var(--kodimy-mint);
  flex-shrink: 0;
}

.showcase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(60, 238, 191, 0.12);
  border: 1px solid rgba(60, 238, 191, 0.3);
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: var(--kodimy-font-headings);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--kodimy-mint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kodimy-mint);
  box-shadow: 0 0 8px var(--kodimy-mint);
  animation: kodimyPulse 2s infinite ease-in-out;
}

@keyframes kodimyPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.showcase-card-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0E131F;
  overflow: hidden;
}

.about-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #111724;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.footer-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--kodimy-font-headings);
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD5E1;
}

.meta-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kodimy-mint);
}

.meta-icon-dot.dot-teal {
  background: var(--kodimy-teal);
}

/* ==========================================================================
   3. STATS SECTION (4-Column Grid)
   ========================================================================== */
.about-stats-section {
  padding: 40px 0 60px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: var(--kodimy-bg-card);
  border: 1px solid var(--kodimy-border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--kodimy-teal);
  box-shadow: 0 16px 36px rgba(20, 206, 202, 0.12);
}

.about-stat-card .stat-num {
  font-family: var(--kodimy-font-headings);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-stat-card .stat-label {
  font-family: var(--kodimy-font-headings);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--kodimy-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   4. MISSION / ORIGIN STORY (Dark Luxury Card)
   ========================================================================== */
.about-mission-section {
  padding: 40px 0 60px;
}

.about-mission-card {
  background: linear-gradient(135deg, #0A0F18 0%, #121A2A 50%, #0D1420 100%);
  border: 1px solid rgba(60, 238, 191, 0.25);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.16), 0 0 40px rgba(20, 206, 202, 0.08);
  position: relative;
  overflow: hidden;
}

.about-mission-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 238, 191, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-mission-card .mission-heading {
  font-family: var(--kodimy-font-headings);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #FFFFFF !important;
  margin: 16px 0 18px;
  position: relative;
  z-index: 1;
}

.about-mission-card .mission-body {
  font-family: var(--kodimy-font-body);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   5. PRINCIPLES & VALUES ("How We Operate")
   ========================================================================== */
.about-values-section {
  padding: 60px 0 80px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.about-value-card {
  background: var(--kodimy-bg-card);
  border: 1px solid var(--kodimy-border);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-5px);
  border-color: var(--kodimy-teal);
  box-shadow: 0 16px 36px rgba(20, 206, 202, 0.12);
}

.value-number {
  font-family: var(--kodimy-font-headings);
  font-size: 2rem;
  font-weight: 800;
  background: var(--kodimy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.about-value-card h3 {
  font-family: var(--kodimy-font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kodimy-ink);
  margin-bottom: 12px;
}

.about-value-card p {
  font-family: var(--kodimy-font-body);
  color: var(--kodimy-text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-hero-content {
    text-align: center;
    align-items: center;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about-hero-section {
    padding: 50px 0 40px;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .showcase-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .about-hero-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .about-hero-actions .btn-primary,
  .about-hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}