/* ============================================
   CleverNurse — Coming Soon
   style.css
   ============================================ */

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

:root {
  --teal:       #1a3d4f;
  --gold:       #b89a5a;
  --gold-light: #d4b578;
  --cream:      #f7f3ed;
  --dark:       #0e2530;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  font-family: 'Montserrat', sans-serif;
  background: var(--teal);
  min-height: 100vh;
}

/* ── LEFT PANEL ── */
.left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6vw 5vw 6vw 8vw;
  background: var(--teal);
  position: relative;
  z-index: 2;
}

.left::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent
  );
  opacity: 0.35;
}

.logo-wrap {
  width: 360px;
  max-width: 90%;
  margin-bottom: 3.5rem;
  animation: fadeUp 1s ease both;
}

.logo-wrap img {
  width: 100%;
  display: block;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.2s ease both;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.3s ease both;
}

.tagline em {
  color: var(--gold-light);
  font-style: italic;
}

.sub {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.55);
  animation: fadeUp 1s 0.4s ease both;
}

.ecg-deco {
  position: absolute;
  bottom: 2.5rem;
  left: 8vw;
  opacity: 0.18;
  animation: fadeUp 1.4s 0.8s ease both;
}

/* ── RIGHT PANEL ── */
.right {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.82) saturate(0.9);
  animation: zoomIn 1.6s ease both;
}

.right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--teal) 0%, transparent 18%);
  z-index: 1;
}

.right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 37, 48, 0.5) 0%, transparent 40%);
  z-index: 1;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .left {
    width: 100%;
    padding: 3rem 2rem 2.5rem;
    order: 1;
  }

  .left::after { display: none; }

  .right {
    width: 100%;
    height: auto;
    order: 2;
    flex-shrink: 0;
  }

  .right img {
    width: 100%;
    height: auto;
    object-fit: unset;
    filter: brightness(0.82) saturate(0.9);
    display: block;
  }

  .right::before {
    background: linear-gradient(to bottom, var(--teal) 0%, transparent 15%);
  }

  .logo-wrap { width: 280px; }
  .ecg-deco  { display: none; }
}
