/* ── SECTION 7 — THE CONTRAST ─────────────────────── */
/* You, done in 47s. Vs everyone still waiting.        */
/* Always dark background — the dramatic peak.         */

.s7 {
  padding: 0;
  display: block;
}

.s7-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 100vh;
  min-height: 100dvh;     /* iOS Safari: dvh excludes browser chrome */
  width: 100%;
}

/* ── LEFT SIDE ─────────────────────────────────────── */

.s7-left {
  background: rgba(245,240,232,0.025);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 40px;
}

/* ── PHONE MOCKUP ─────────────────────────────────── */

.s7-phone-mini {
  margin-bottom: 10px;
  position: relative;
}

.s7-phone-frame {
  width: 116px;
  height: 232px;
  background: #0E0E0E;
  border-radius: 28px;
  padding: 6px;
  border: 0.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.05),
    0 28px 72px rgba(0,0,0,0.65),
    0 10px 28px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
  opacity: 0;
}

.s7-screen-content {
  width: 100%;
  height: 100%;
  background: var(--ivory);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 6px 12px;
  position: relative;
  overflow: hidden;
}

/* Pill notch at the top of the screen */
.s7-screen-content::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: rgba(10,10,10,0.15);
  border-radius: 2px;
}

/* Home indicator at the bottom */
.s7-screen-content::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2.5px;
  background: rgba(10,10,10,0.18);
  border-radius: 2px;
}

.s7-check {
  font-size: 17px;
  color: var(--success);
  margin-top: 4px;
}

.s7-paid {
  font-family: var(--font-display);
  font-size: 9.5px;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  padding: 0 5px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.s7-qr-mini {
  width: 28px;
  height: 28px;
  background:
    repeating-linear-gradient(
      0deg, var(--ink) 0, var(--ink) 1.5px, transparent 1.5px, transparent 4px
    ),
    repeating-linear-gradient(
      90deg, var(--ink) 0, var(--ink) 1.5px, transparent 1.5px, transparent 4px
    );
  opacity: 0.2;
  border-radius: 3px;
}

/* ── LEFT TEXT ──────────────────────────────────────── */

.s7-you {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
  opacity: 0;
}

/* Thin turmeric accent bar — visual breath between "You." and time */
.s7-accent-bar {
  width: 28px;
  height: 1.5px;
  background: var(--turmeric);
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.s7-time {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 300;
  color: rgba(245,240,232,0.38);
  letter-spacing: 0.025em;
  opacity: 0;
}

/* ── DIVIDER ─────────────────────────────────────── */

.s7-divider-line {
  background: rgba(255,255,255,0.06);
  position: relative;
}

/* Warm turmeric glow at the vertical midpoint */
.s7-divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 80px;
  transform: translateY(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 168, 67, 0.12),
    transparent
  );
}

/* ── RIGHT SIDE ──────────────────────────────────── */

.s7-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 60px 40px;
  position: relative;
}

/* Overline: sets the present-tense context */
.s7-counter-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(212, 168, 67, 0.45);
  text-transform: uppercase;
  opacity: 0;
  margin-bottom: 2px;
}

.s7-counter {
  font-family: var(--font-display);
  font-size: clamp(56px, 13vw, 148px);
  font-weight: 700;
  color: var(--turmeric);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  position: relative;
  opacity: 0;
  text-shadow: 0 0 80px rgba(212,168,67,0.08);
}

/* Glow pulse when counter ticks */
@keyframes s7-tick {
  0%   { text-shadow: 0 0 80px rgba(212,168,67,0.08); }
  30%  { text-shadow: 0 0 48px rgba(212,168,67,0.32), 0 0 12px rgba(212,168,67,0.18); }
  100% { text-shadow: 0 0 80px rgba(212,168,67,0.08); }
}

.s7-counter.is-ticking {
  animation: s7-tick 0.65s ease;
}

.s7-label {
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0.01em;
  display: block;
  opacity: 0;
  text-align: center;
  max-width: 220px;
  line-height: 1.6;
}

/* Kept for mobile.css backward compat */
.s7-still {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  font-style: italic;
  color: rgba(245,240,232,0.55);
  opacity: 0;
}
