/* --------------------------------------------------------------------------
   WARH LLC — Apple Design System
   Designed with minimalism, deep blacks, SF typography and Bento Box grids.
   -------------------------------------------------------------------------- */

:root {
  --apple-black: #000000;
  --apple-bg-base: #000000;
  --apple-card-bg: #161617;
  --apple-card-bg-gradient: linear-gradient(180deg, rgba(26, 26, 29, 0.9) 0%, rgba(13, 13, 15, 0.95) 100%);
  --apple-border: rgba(255, 255, 255, 0.08);
  --apple-border-hover: rgba(255, 255, 255, 0.18);
  
  --apple-text-primary: #f5f5f7;
  --apple-text-secondary: #86868b;
  --apple-text-tertiary: #6e6e73;
  
  --apple-blue: #2997ff;
  --apple-blue-hover: #0077ed;
  
  --font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  --radius-card: 28px;
  --radius-pill: 980px;
  --radius-icon: 20px;
  
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sf);
  background-color: var(--apple-black);
  color: var(--apple-text-primary);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--apple-black);
  position: relative;
  overflow-x: hidden;
}

/* Subtle Apple Ambient Glow */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% -10%, rgba(41, 151, 255, 0.15) 0%, rgba(168, 85, 247, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Global Nav (Apple 48px Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--apple-text-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 1;
}

.brand-symbol {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--apple-text-secondary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--apple-text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--apple-text-secondary);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero Section (Apple Grand Headline)
   -------------------------------------------------------------------------- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f5f5f7;
  margin-bottom: 20px;
}

.hero-subhead {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--apple-text-secondary);
  letter-spacing: -0.015em;
}

.hero-cta-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* Apple Buttons & Links */
.apple-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.apple-btn-white:hover {
  background: #e8e8ed;
  transform: scale(1.02);
}

.apple-link-blue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--apple-blue);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.apple-link-blue:hover {
  color: var(--apple-blue-hover);
  text-decoration: underline;
}

.apple-link-blue svg {
  transition: transform 0.2s ease;
}

.apple-link-blue:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Bento Box Product Ecosystem Section
   -------------------------------------------------------------------------- */
.ecosystem-section {
  padding: 80px 0 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--apple-blue);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.section-headline {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f5f5f7;
  margin-bottom: 12px;
}

.section-subhead {
  font-size: 18px;
  color: var(--apple-text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.bento-card {
  background: var(--apple-card-bg-gradient);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-card);
  padding: 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.004);
  border-color: var(--apple-border-hover);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
}

/* Subtle Card Highlight Lighting */
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

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

.card-brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-app-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-icon);
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.card-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--apple-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: -0.01em;
}

.card-headline {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f7;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-desc {
  font-size: 15px;
  color: var(--apple-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.card-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #a1a1a6;
}

.card-features svg {
  flex-shrink: 0;
  stroke: #86868b;
}

.card-bottom-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-links-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.btn-store-badge:hover {
  opacity: 1;
  transform: scale(1.02);
}

.btn-store-badge img {
  height: 34px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Apple Values & Approach Section
   -------------------------------------------------------------------------- */
.values-section {
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
}

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

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

.value-card {
  padding: 36px;
  border-radius: var(--radius-card);
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

.value-card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f5f5f7;
  margin-bottom: 12px;
}

.value-card-desc {
  font-size: 14px;
  color: var(--apple-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Apple Global Legal Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #111113;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--apple-text-tertiary);
}

.footer-top {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
  line-height: 1.6;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-text-primary);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--apple-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--apple-text-primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom a {
  color: var(--apple-text-secondary);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--apple-text-primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .bento-card {
    padding: 30px 24px;
  }
}
