:root {
  --bg-gradient: linear-gradient(135deg, #f6fafd 0%, #d9d9d9 100%);
  --text: #232323;
  --accent: #1e8547;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  overflow-x: hidden;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text);
  background: var(--bg-gradient);
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Metro background */
.metro-lines {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.17;
  z-index: 1;
}
.metro-lines svg {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}
.line {
  fill: none;
  stroke-width: 7.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.red   { stroke: #e63946; }
.blue  { stroke: #457b9d; }
.yellow{ stroke: #ffbe0b; }
.green { stroke: #2a9d8f; }
.purple{ stroke: #a259c7; }
.orange{ stroke: #fd7e14; }
.cyan  { stroke: #17bebb; }
.station{ fill: #fff; }

/* ─── TRAIN BASE STYLE ───────────────────────── */
.train {
  position: fixed;
  left: 0;
  width: 760px;      /* doubled size */
  height: auto;
  opacity: 0.04;      /* very subtle */
  pointer-events: none;
  z-index: 0;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
}

/* Each train at its own vertical and speed */
.train1 {
  top: 10%;
  animation-name: moveRight;
  animation-duration: 7s;
}
.train2 {
  top: 30%;
  animation-name: moveRight;
  animation-duration: 9s;
    animation-direction: alternate-reverse;

}
.train3 {
  top: 50%;
  animation-name: moveRight;
  animation-duration: 6s;
}
.train4 {
  top: 70%;
  animation-name: moveRight;
  animation-duration: 8s;
    animation-direction: alternate-reverse;
}
.train5 {
  top: 90%;
  animation-name: moveRight;
  animation-duration: 5s;
}

/* Car styling (black & white only) */
.train .roof       { fill: #000; }
.train .car-body   { fill: #000; }
.train .stripe     { fill: #fff; }
.train .window     { fill: #fff; }
.train .door       { fill: #fff; }
.train .connector  { fill: #000; }
.train .headlight  { fill: #fff; }

/* Move from fully left off-screen to fully right off-screen */
@keyframes moveRight {
  from { transform: translateX(-760px); }
  to   { transform: translateX(100vw); }
}

/* Page & card layout (unchanged) */
.page-flex {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.center-stack {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}
.container {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card {
  background: #fff;
  border-radius: 48px;
  box-shadow:
    0 18px 64px rgba(40,60,100,0.16),
    0 2px 24px rgba(140,180,220,0.10);
  padding: 2.5rem 2rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.card-logo img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
    align-content: center;

}
.slogan {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1em;
}
.coming-soon {
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--accent);
}
.teaser {
  font-size: 1.11em;
  color: #444;
  opacity: 0.9;
  margin-bottom: 2.1em;
  line-height: 1.4;
  text-align: center;
}
.portfolio-btn {
  display: inline-block;
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 2em;
  padding: 1.05em 2.8em;
  font-size: 1.13em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 18px rgba(35,35,35,0.13);
  transition: background 0.18s, box-shadow 0.18s;
}
.portfolio-btn:hover {
  background: #457b9d;
  box-shadow: 0 8px 24px rgba(69,123,157,0.18);
  cursor: pointer;
}
.footer {
  font-size: 0.96em;
  color: #888;
  text-align: center;
  padding: 1rem 0;
  flex-shrink: 0;
}
.footer a {
  color: #457b9d;
  text-decoration: none;
}

/* Desktop vertical centering */
@media (min-width: 768px) {
  .center-stack .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ——— White cards ——— */
.white-card {
  background: #fff;
  border-radius: 48px;
  box-shadow: 0 18px 64px rgba(40,60,100,0.16),
              0 2px 24px rgba(140,180,220,0.10);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

/* logo + coming-soon styles already in place */

/* ——— Glassmorphism step cards ——— */
.glass-card {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 700px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.step-icon {
  font-size: 1.8rem;
  color: #444444;      /* dark gray for good contrast */
  margin-right: 1rem;
  line-height: 1;      /* keep the emoji vertically centered */
}

.step-text {
  font-size: 1.15rem;
  color: #444444;
  font-weight: 500;
}

.step-number {
  font-weight: 700;
  margin-right: 0.5rem;
}

/* ——— Closing card text ——— */
.closing-text {
  font-size: 1.11rem;
  line-height: 1.4;
  color: #232323;
}

.background {
  backdrop-filter: blur(1px);    
}

.background-2 {
    backdrop-filter: blur(1px);    
  rotate: 180deg;;
}

.youchoseforthis {
width: 100%;
      max-width: 340px;
      height: auto;
      display: block;
      object-fit: contain;
      }
      
      .titleyouchoseforthis {
      font-size: 1.15em;
    text-align: center;
    line-height: 1.45;
    color: #222;
    margin: 0;
    padding: 0;
    }