/* ============================================================
   MOZZY — Apple Fan Site Design System
   Apple.com–quality CSS: SF Pro, frosted nav, refined typography
   ============================================================ */

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

:root {
  --black:      #1d1d1f;
  --white:      #ffffff;
  --gray:       #6e6e73;
  --gray-mid:   #86868b;
  --light:      #f5f5f7;
  --blue:       #0071e3;
  --blue-hover: #0077ed;
  --border:     rgba(0,0,0,0.08);
  --nav-h:      52px;
  --radius-s:   12px;
  --radius-m:   18px;
  --radius-l:   30px;
  --shadow-s:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-m:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-l:   0 24px 60px rgba(0,0,0,0.16);
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --font:       "SF Pro Display","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif;
}

html { zoom: 0.9; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font); }
img { display: block; max-width: 100%; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.nav-apple-svg {
  width: 18px;
  height: 22px;
  fill: var(--black);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--black);
  opacity: 0.82;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: scale(1.03);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 980px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(0,113,227,0.06);
  transform: scale(1.03);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 980px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.9);
  transform: scale(1.03);
}

/* ===== HERO (Index dark full-screen) ===== */
.hero {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,113,227,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-logo svg {
  width: 80px;
  height: 98px;
  margin: 0 auto;
  fill: #fff;
  opacity: 0.9;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.03em;
  animation: fadeUp 1s 0.1s var(--ease) both;
}

.hero h1 span {
  background: linear-gradient(90deg, #0071e3 0%, #34c0fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  position: relative;
  z-index: 1;
  font-size: clamp(17px, 2.2vw, 22px);
  color: rgba(255,255,255,0.68);
  margin: 22px auto 40px;
  max-width: 560px;
  line-height: 1.5;
  animation: fadeUp 1s 0.2s var(--ease) both;
}

.hero-btns {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s 0.3s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HERO (light, for inner pages) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  text-align: center;
  background: var(--light);
}

.page-hero .overline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--black);
}

.page-hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--gray);
  max-width: 680px;
  margin: 20px auto 0;
  line-height: 1.55;
}

/* Dark page hero */
.page-hero-dark {
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  text-align: center;
  background: #000;
}

.page-hero-dark .overline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 14px;
}

.page-hero-dark h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
}

.page-hero-dark p {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.6);
  max-width: 680px;
  margin: 20px auto 0;
  line-height: 1.55;
}

/* ===== GENERAL SECTION ===== */
section { padding: 96px 24px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 14px;
}

.section-title.light { color: #fff; }

.section-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--gray);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 60px;
}

.section-sub.light { color: rgba(255,255,255,0.62); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--light);
  border-radius: var(--radius-l);
  padding: 46px 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
}

.card-dark {
  background: var(--black);
  color: #fff;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.stat-card {
  background: var(--light);
  border-radius: var(--radius-l);
  padding: 46px 36px;
  text-align: center;
}

.stat-card .stat-num {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== SPLIT SECTION ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.split-image img {
  width: 100%;
  height: auto;
}

.split-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.split-text p {
  font-size: 18px;
  line-height: 1.62;
  color: var(--gray);
}

/* ===== FEATURED PRODUCTS / SLIDER ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--light);
  border-radius: var(--radius-l);
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: rgba(0,113,227,0.12);
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-m);
  margin-bottom: 22px;
  background: #e5e5e5;
}

.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.slider-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.value-card:hover .slider-btn { opacity: 1; }
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}

.learn-more-link {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  transition: gap 0.2s;
}

.learn-more-link:hover { text-decoration: underline; }

/* ===== PRODUCTS PAGE ===== */
.category-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  overflow-x: auto;
}

.cat-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 980px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cat-btn:hover, .cat-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.products-section {
  padding: 64px 24px;
}

.products-section h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--light);
  border-radius: var(--radius-l);
  padding: 36px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  text-align: center;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
  border-color: rgba(0,113,227,0.1);
}

.product-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 8px;
}

.product-name  { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.product-price { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 4px; }

/* ===== SERVICES PAGE ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  border-radius: var(--radius-l);
  padding: 44px 36px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--light);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
  border-color: rgba(0,113,227,0.1);
}

/* Service icon gradient backgrounds */
.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 4px;
}

.bg-music   { background: linear-gradient(135deg, #fc3c44, #ff2d55); }
.bg-tv      { background: linear-gradient(135deg, #2c2c2e, #1c1c1e); }
.bg-icloud  { background: linear-gradient(135deg, #1a78f0, #34aadc); }
.bg-ai      { background: linear-gradient(135deg, #5e5ce6, #7d7aff); }
.bg-findmy  { background: linear-gradient(135deg, #30d158, #25a244); }
.bg-pay     { background: linear-gradient(135deg, #ff9500, #ff6b00); }

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
}

.service-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ===== TEAM PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--light);
  border-radius: var(--radius-l);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid transparent;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
  border-color: rgba(0,113,227,0.1);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}

.team-card-body {
  padding: 24px 28px;
}

.team-card-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 14px;
}

.team-card-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

.team-card-btn:hover { text-decoration: underline; }

.team-card-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Team page layout */
.team-sections { padding: 0 24px 80px; }

.section-divider {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-mid);
  padding: 48px 0 28px;
}

/* ===== PERSON MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 28px;
  max-width: 560px;
  width: 100%;
  position: relative;
  animation: modalIn 0.35s var(--ease);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
  background: #fff;
  z-index: 1;
}

.modal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--black);
  transition: background 0.2s;
  font-family: var(--font);
}

.modal-close-btn:hover { background: #e5e5e7; }

.modal-content {
  padding: 0 40px 40px;
}

.modal-person-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
  border: 4px solid var(--light);
}

.modal-person-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 4px;
  display: block;
}

.modal-person-role {
  font-size: 15px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

/* Bulletproof bio text — force visibility */
#modalPersonBio {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #1d1d1f !important;
  display: block !important;
  margin-bottom: 28px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.modal-fact {
  background: var(--light);
  border-radius: var(--radius-s);
  padding: 14px 16px;
}

.modal-fact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  margin-bottom: 4px;
}

.modal-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--black);
  color: #fff;
}

.tl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.tl-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  transition: background 0.3s;
}

.tl-item:hover { background: rgba(255,255,255,0.09); }

.tl-year {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.tl-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: #fff;
}

.tl-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.54);
  line-height: 1.58;
}

/* ===== DETAIL PAGE (Product/Service) ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 96px;
}

.detail-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.detail-image-box {
  background: var(--light);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.detail-image-box img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.detail-colors {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.color-dot.active, .color-dot:hover {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.detail-info h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 8px;
}

.detail-price {
  font-size: 22px;
  color: var(--gray);
  font-weight: 400;
  margin-bottom: 28px;
}

.detail-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 32px;
}

.detail-options h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}

.storage-btns, .duration-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.storage-btn, .duration-btn {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-s);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font);
}

.storage-btn.active, .duration-btn.active,
.storage-btn:hover, .duration-btn:hover {
  border-color: var(--blue);
  background: rgba(0,113,227,0.06);
}

.detail-add-btn {
  width: 100%;
  padding: 17px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

/* Plan cards for services detail */
.plan-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.plan-card.active, .plan-card:hover {
  border-color: var(--blue);
  background: rgba(0,113,227,0.05);
}

.plan-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.plan-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

/* ===== ABOUT PAGE ===== */
.values-section {
  background: var(--light);
  padding: 96px 24px;
}

.milestones-section {
  padding: 96px 24px;
}

/* ===== INNOVATION PAGE ===== */
.innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.innovation-card {
  background: var(--light);
  border-radius: var(--radius-l);
  padding: 46px 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid transparent;
}

.innovation-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
}

.innovation-card.dark {
  background: var(--black);
}

.innovation-card .overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.innovation-card h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.innovation-card.dark h2 { color: #fff; }

.innovation-card p {
  font-size: 16px;
  line-height: 1.58;
  color: var(--gray);
}

.innovation-card.dark p { color: rgba(255,255,255,0.58); }

/* ===== ENVIRONMENT PAGE ===== */
.env-section { padding: 96px 24px; }

/* ===== MODERN FOOTER ===== */
.modern-footer, .footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 72px 44px 36px;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 180px; }

.footer-logo {
  width: 28px;
  height: auto;
  opacity: 0.8;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.5;
}

.social-icons { display: flex; gap: 14px; }

.social-icons a {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  opacity: 0.55;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.social-icons a:hover { opacity: 1; }

.footer-links {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue); }

.footer-legal {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links { display: flex; gap: 20px; }

.legal-links a {
  color: var(--gray);
  font-size: 12px;
  transition: color 0.2s;
}

.legal-links a:hover { text-decoration: underline; }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid,
  .stats-grid,
  .services-grid,
  .team-grid,
  .tl-grid,
  .innovation-grid { grid-template-columns: repeat(2, 1fr); }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse { direction: ltr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sticky { position: relative; top: auto; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  .cards-grid,
  .stats-grid,
  .services-grid,
  .team-grid,
  .tl-grid,
  .values-grid,
  .innovation-grid { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }

  section { padding: 64px 18px; }

  .page-hero, .page-hero-dark {
    padding: calc(var(--nav-h) + 48px) 18px 56px;
  }

  .modern-footer, .footer { padding: 52px 20px 28px; }
  .footer-links { gap: 36px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 12px; }

  .modal-content { padding: 0 24px 32px; }

  .hero h1 { font-size: clamp(38px, 10vw, 72px); }
}
