/* ============================================================
   index.css — styles specific to index.html (homepage)
   Global/shared styles are in styles.css
   ============================================================ */

/* ===== NAV BRAND (logo image handled in styles.css) ===== */
.nav__brand { display: flex; align-items: center; text-decoration: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--plum); color: #fff; position: relative;
  display: flex; align-items: center; padding: 120px 80px 60px; overflow: hidden;
}
.hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__inner  { position: relative; z-index: 3; max-width: 1200px; width: 100%; margin: 0 auto; }

.hero__eyebrow {
  font-size: 14px; letter-spacing: 6px; font-weight: 600; color: var(--yellow);
  text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(48px,8vw,112px);
  line-height: .98; letter-spacing: -.02em; margin: 0 0 32px;
  opacity: 0; animation: fadeUp .9s .35s forwards;
}
.hero__title em { font-style: italic; color: var(--yellow); font-weight: 500; }
.hero__sub {
  font-size: clamp(18px,1.4vw,22px); max-width: 640px; line-height: 1.55;
  color: #f0e5ec; margin-bottom: 48px;
  opacity: 0; animation: fadeUp .9s .55s forwards;
}
.hero__cta-row { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s .75s forwards; }

/* Scroll indicator */
.scroll-ind {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .55; font-size: 12px; letter-spacing: 4px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 3;
}
.scroll-ind::after {
  content: ''; width: 1px; height: 36px; background: #fff;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== INTRO / ABOUT ===== */
.intro { padding: 160px 80px 120px; background: linear-gradient(180deg,var(--soft) 0%,#fff 100%); }
.intro__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.intro__big {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px,3.6vw,48px);
  line-height: 1.15; letter-spacing: -.012em; color: var(--ink); margin: 0;
}
.intro__body { font-size: 18px; line-height: 1.75; color: var(--muted); }
.intro__body p { margin: 0 0 1.2em; }

/* ===== PILLARS ===== */
.pillars { background: #fff; padding: 120px 80px; }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
.pillar {
  position: relative; padding: 60px 48px; border-radius: 24px; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
  min-height: 520px; display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(107,64,95,.18); }
.pillar--01 { background: var(--plum); color: #fff; }
.pillar--02 { background: #fff; color: var(--ink); border: 2px solid var(--soft); }
.pillar__num { font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: 4px; opacity: .6; margin-bottom: 18px; }
.pillar__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px,3vw,42px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.01em; }
.pillar--01 .pillar__title em { color: var(--yellow); font-style: italic; }
.pillar--02 .pillar__title em { color: var(--coral); font-style: italic; }
.pillar__body { font-size: 16px; line-height: 1.7; opacity: .9; }
.pillar--02 .pillar__body { color: var(--muted); }
.pillar__tags { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.pillar__tag { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; }

/* ===== SERVICES ===== */
.services { background: var(--soft); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 72px; }
.service {
  background: #fff; padding: 40px 32px; border-radius: 18px; min-height: 260px;
  position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  border-top: 4px solid transparent;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(107,64,95,.12); }
.service[data-c="coral"]  { border-color: var(--coral); }
.service[data-c="yellow"] { border-color: var(--yellow); }
.service[data-c="cyan"]   { border-color: var(--cyan); }
.service[data-c="green"]  { border-color: var(--green); }
.service[data-c="plum"]   { border-color: var(--plum); }
.service__num   { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 3px; margin-bottom: 18px; }
.service__title { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); margin: 0 0 14px; line-height: 1.15; letter-spacing: -.01em; }
.service__body  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ===== AI PRODUCTS ===== */
.ai { background: var(--plum); color: #fff; position: relative; overflow: hidden; padding: 160px 80px; }
.ai__layer { position: absolute; inset: 0; pointer-events: none; }
.ai .section__title { color: #fff; }
.ai .section__title em { color: var(--yellow); }
.ai .section__lead { color: #f0e1e9; }
.ai .eyebrow { color: var(--yellow); }
.ai__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 80px; position: relative; z-index: 2; }
.ai-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; padding: 32px 28px; backdrop-filter: blur(6px);
  transition: all .3s ease;
}
.ai-card:hover { background: rgba(255,255,255,.10); border-color: var(--yellow); transform: translateY(-6px); }
.ai-card__year {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--yellow); color: var(--plum); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 24px;
}
.ai-card__title { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 12px; line-height: 1.1; letter-spacing: -.01em; }
.ai-card__body  { font-size: 14px; color: #e8d8e2; line-height: 1.6; }

/* ===== VALUES STRIP ===== */
.values { background: var(--soft); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid var(--line);
  transition: background .3s ease;
  gap: 16px;
}
.value-item:last-child { border-right: none; }
.value-item:hover { background: #fff; }
.value-item__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--plum);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}
.value-item__icon svg { width: 22px; height: 22px; }
.value-item__label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); line-height: 1.3;
}

/* ===== INDUSTRIES (8-column) ===== */
.industries { background: #fff; }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0; margin-top: 72px;
  border-top: 1px solid var(--line);
}
.industry { padding: 40px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; cursor: default; transition: background .3s ease; }
.industry:hover { background: var(--soft); }
.industry:nth-child(8n) { border-right: none; }
.industry__num   { font-family: var(--serif); font-size: 14px; color: var(--coral); font-weight: 600; letter-spacing: 2px; margin-bottom: 14px; }
.industry__title { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); margin: 0; letter-spacing: -.005em; line-height: 1.2; }

/* ===== STATS ===== */
.stats { background: var(--plum-x); color: #fff; padding: 100px 80px; position: relative; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; position: relative; z-index: 2; }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(48px,6vw,84px); line-height: 1; letter-spacing: -.02em; color: var(--yellow); margin: 0 0 12px; }
.stat__label { font-size: 14px; color: #e8d8e2; line-height: 1.5; max-width: 220px; }

/* ===== MISSION ===== */
.mission { background: #fff; padding: 160px 80px; position: relative; overflow: hidden; }
.mission__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(28px,4vw,56px); line-height: 1.15; letter-spacing: -.012em; color: var(--ink); margin: 0 0 48px; max-width: 1100px; }
.mission__quote em { font-style: italic; color: var(--coral); font-weight: 500; }
.mission__by { font-size: 14px; letter-spacing: 4px; color: var(--muted); font-weight: 600; }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg,var(--plum) 0%,var(--plum-d) 100%); color: #fff; padding: 140px 80px; position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 2; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(40px,6vw,84px); line-height: 1.02; margin: 0 0 32px; letter-spacing: -.02em; max-width: 1100px; }
.cta__title em { font-style: italic; color: var(--yellow); }
.cta .eyebrow { color: var(--yellow); }
.cta__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 80px; max-width: 900px; }
.cta__row  { display: flex; gap: 18px; align-items: flex-start; }
.cta__ico  { width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--yellow); }
.cta__ico svg { width: 22px; height: 22px; }
.cta__lbl  { font-size: 12px; letter-spacing: 3px; color: var(--yellow); font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.cta__val  { font-size: 18px; font-weight: 500; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .industries__grid { grid-template-columns: repeat(4, 1fr); }
  .industry:nth-child(8n) { border-right: 1px solid var(--line); }
  .industry:nth-child(4n) { border-right: none; }
  .values__grid { grid-template-columns: repeat(4, 1fr); }
  .value-item:nth-child(4n) { border-right: none; }
  .value-item:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 1024px) {
  .industries__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .hero, .ai, .cta, .pillars, .mission, .stats { padding-left: 24px; padding-right: 24px; }
  .intro { padding: 120px 24px 80px; }
  .section, .services, .industries { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .ai__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 48px; }
  .cta__rows { grid-template-columns: 1fr; }
  .values { padding-left: 24px; padding-right: 24px; }
  .values__grid { grid-template-columns: repeat(3, 1fr); border-radius: 14px; }
  .value-item:nth-child(4n) { border-right: 1px solid var(--line); }
  .value-item:nth-child(3n) { border-right: none; }
  .value-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .value-item:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .industry:nth-child(4n) { border-right: 1px solid var(--line); }
  .industry:nth-child(2n) { border-right: none; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .value-item:nth-child(2n) { border-right: none; }
  .value-item { padding: 28px 16px; }
  .value-item__label { font-size: 12px; }
}
@media (max-width: 560px) {
  .ai__grid { grid-template-columns: 1fr; }
}