/* ============================================================
   SMARTOUCH — ABOUT CSS
   Hero, Stats, Vision/Mission, Goals, Timeline (improved), Partners
   ============================================================ */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  padding: calc(var(--nav) + 56px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.a1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,35,79,.12) 0%, transparent 70%);
  top: -180px; right: -100px;
  animation: ab 12s ease-in-out infinite;
}
.a2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,47,255,.08) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: ab 17s ease-in-out infinite reverse;
}

.hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Company identity card */
.id-card {
  background: linear-gradient(135deg, rgba(240,35,79,.1), rgba(123,47,255,.08));
  border: 1px solid rgba(240,35,79,.2);
  border-radius: var(--r3);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.id-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.id-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.id-icon-big {
  width: 56px; height: 56px;
  background: var(--grad);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(240,35,79,.4);
}
.id-wordmark { font-family: var(--fd); font-size: 26px; font-weight: 800; }
.id-row      { display: flex; gap: 12px; margin-bottom: 8px; align-items: flex-start; }
.id-label    {
  font-size: 11px;
  font-weight: 700;
  color: var(--w20);
  letter-spacing: .06em;
  text-transform: uppercase;
  width: 80px;
  flex-shrink: 0;
  margin-top: 2px;
}
.id-val    { font-size: 14px; color: var(--w80); font-weight: 400; line-height: 1.5; }
.id-divider { height: 1px; background: rgba(255,255,255,.06); margin: 16px 0; }
.id-ar     {
  font-size: 16px;
  color: var(--w60);
  font-family: serif;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   STATS
   ---------------------------------------------------------- */
.stats-sec { background: var(--s1); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 40px;
}
.sg {
  padding: 28px 24px;
  border-right: 1px solid var(--b);
  text-align: center;
}
.sg:last-child { border-right: none; }
.sg-n {
  font-family: var(--fd);
  font-size: 38px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.sg-l {
  font-size: 11px;
  color: var(--w40);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------
   VISION & MISSION
   ---------------------------------------------------------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.vm-card {
  border-radius: var(--r2);
  border: 1px solid var(--b);
  background: var(--card);
  padding: 32px;
  transition: .2s;
}
.vm-card:hover { background: var(--card2); border-color: var(--b2); }
.vm-card.vision  { border-top: 3px solid var(--pink); }
.vm-card.mission { border-top: 3px solid #7B2FFF; }
.vm-icon  { font-size: 28px; margin-bottom: 14px; }
.vm-title {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 800;
  color: var(--w);
  margin-bottom: 12px;
}
.vm-text { font-size: 14px; color: var(--w60); line-height: 1.75; }

/* ----------------------------------------------------------
   GOALS
   ---------------------------------------------------------- */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-top: 48px;
}
.goal {
  border-radius: var(--r2);
  border: 1px solid var(--b);
  background: var(--card);
  padding: 24px 22px;
  transition: .2s;
}
.goal:hover {
  background: var(--card2);
  border-color: var(--b2);
  transform: translateY(-3px);
}
.goal-num   {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 8px;
  letter-spacing: .06em;
}
.goal-title { font-family: var(--fd); font-size: 14px; font-weight: 700; color: var(--w); margin-bottom: 8px; }
.goal-desc  { font-size: 12px; color: var(--w40); line-height: 1.6; }

/* ----------------------------------------------------------
   TIMELINE — improved card style
   ---------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 38px;
  margin-top: 40px;
}
/* Gradient connecting line */
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--pink) 0%,
    rgba(123,47,255,.55) 55%,
    rgba(240,35,79,.08) 100%
  );
}

/* Each item is a hoverable card */
.tl-item {
  position: relative;
  padding-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r2);
  padding: 16px 18px 16px 18px;
  margin-bottom: 12px;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: default;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item:hover {
  border-color: rgba(240,35,79,.18);
  background: var(--card2);
  transform: translateX(4px);
}

/* Dot positioned on the left line */
.tl-dot {
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--b2);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.tl-dot.act {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(240,35,79,.55);
}
.tl-item:hover .tl-dot { border-color: rgba(240,35,79,.4); }

.tl-year {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 4px;
  letter-spacing: .06em;
}
.tl-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 5px;
}
.tl-desc { font-size: 13px; color: var(--w40); line-height: 1.65; }

/* ----------------------------------------------------------
   PARTNERS
   ---------------------------------------------------------- */
.part-sec { background: var(--s1); }
.part-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 12px;
  margin-top: 44px;
}
.part-card {
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  min-height: 84px;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}
.part-card:hover {
  background: var(--card2);
  border-color: var(--b2);
  transform: translateY(-2px);
}
.part-logo {
  width: 56px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .5;
  transition: opacity .2s;
}
.part-card:hover .part-logo { opacity: .9; }
.part-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--w40);
  text-align: center;
  transition: color .2s;
}
.part-card:hover .part-name { color: var(--w80); }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-in    { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sg:nth-child(2) { border-right: none; }
  .sg:nth-child(3) { border-top: 1px solid var(--b); }
  .sg:nth-child(4) { border-top: 1px solid var(--b); border-right: none; }
  .goals-grid  { grid-template-columns: 1fr 1fr; }
  .part-grid   { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .vm-grid    { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr; }
  .part-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .timeline   { padding-left: 28px; }
  .tl-dot     { left: -20px; width: 14px; height: 14px; }
}
