/* v6 homepage: the new editor's style. Builds on landing.css tokens (--ap-blue, --ap-ink,
   --ap-mute, --ap-fill), v4-home.css sections and ai-generator.css (phone, timeline).
   Classes are prefixed v6-. */

/* Hero: flat warm charcoal, centred copy, then three overlapping players: the main tour
   in a phone, a look tilted either side. No glow, no gradient type, no pill badge. */
.v6-page { --v6-night: #151413; --v6-night-line: rgba(255, 255, 255, .14); --v6-night-mute: rgba(255, 255, 255, .64); }
.v6-hero { padding: 80px 0 64px; background: var(--v6-night); color: #fff; overflow: hidden; }
.v6-hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.v6-eyebrow {
    margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--v6-night-mute);
}
.v6-hero h1 {
    font-size: 66px; line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
    margin: 0 0 22px; color: #fff; text-wrap: balance;
}
.v6-lede { font-size: 18px; line-height: 1.6; margin: 0 auto 30px; max-width: 640px; color: var(--v6-night-mute); }
.v6-actions { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.v6-hero .v6-btn-light, .v6-close .v6-btn-light { background: #fff !important; color: #151413 !important; border-color: #fff !important; }
.v6-hero .v6-btn-light:hover, .v6-close .v6-btn-light:hover { background: #ececea !important; }
.v6-hero-link { color: #fff !important; font-size: 16px; font-weight: 500; text-decoration: none; }
.v6-hero-link:hover { text-decoration: underline; }
.v6-note { font-size: 13px; color: var(--v6-night-mute); margin: 18px 0 0; }

.v6-stage {
    position: relative; display: flex; justify-content: center; align-items: center;
    margin: 56px auto 0; max-width: 900px; min-height: 620px;
}
.v6-stage figure { margin: 0; }
.v6-stage figcaption {
    margin-top: 12px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--v6-night-mute);
}
.v6-stage-phone { position: relative; z-index: 2; }
.v6-stage-phone .aig-phone {
    width: 300px; height: auto; aspect-ratio: auto; padding: 10px; border-radius: 40px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1.5px #2e2b28;
}
/* The screen keeps the video's own 9:16 shape, so nothing at its edges is cropped. */
.v6-stage-phone .v6-stage-screen { height: auto; aspect-ratio: 9 / 16; border-radius: 30px; }
.v6-stage-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0d0c0b; }
.v6-stage-screen img, .v6-stage-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v6-stage-side { position: absolute; top: 50%; left: 50%; width: 220px; z-index: 1; }
.v6-stage-side .v6-stage-screen {
    height: auto; aspect-ratio: 9 / 16; border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px var(--v6-night-line);
}
.v6-stage-left { transform: translate(calc(-50% - 275px), -50%) rotate(-6deg); }
.v6-stage-right { transform: translate(calc(-50% + 275px), -50%) rotate(6deg); }

/* Steps */
.v6-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v6-step { background: var(--ap-fill); border-radius: 28px; padding: 28px 24px 24px; display: flex; flex-direction: column; min-width: 0; }
.v6-step h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 8px; font-weight: 700; color: var(--ap-ink); }
.v6-step p { font-size: 15px; line-height: 1.5; color: var(--ap-mute); margin: 0 0 20px; }
.v6-step-grid { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.v6-step-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.v6-step-strip { margin-top: auto; display: flex; gap: 3px; height: 140px; }
.v6-step-strip span { flex-basis: 0; position: relative; border-radius: 6px; overflow: hidden; }
.v6-step-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v6-step-formats { margin-top: auto; display: flex; gap: 8px; align-items: flex-end; height: 140px; }
.v6-fmt { position: relative; border-radius: 10px; overflow: hidden; height: 100%; flex: none; }
.v6-fmt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v6-fmt-916 { aspect-ratio: 9 / 16; }
.v6-fmt-11 { aspect-ratio: 1; height: 72%; }
.v6-fmt-169 { aspect-ratio: 16 / 9; height: 52%; flex: 1; }
.v6-fmt em {
    position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 600;
    color: #fff; background: rgba(17, 17, 17, .7); padding: 3px 7px; border-radius: 980px;
}

/* Feature rows */
.v6-feature {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px;
    align-items: center; margin: 0 0 96px;
}
.v6-feature-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.v6-feature-flip .v6-feature-copy { order: 2; }
.v6-feature-copy h3, .v6-looks-head h3 {
    font-size: 36px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 14px; color: var(--ap-ink);
}
.v6-feature-copy p, .v6-looks-head p { font-size: 17px; line-height: 1.55; color: var(--ap-mute); margin: 0 0 14px; }
.v6-feature-link { font-size: 15px !important; }
.v6-feature-link a { color: var(--ap-blue) !important; font-weight: 600; }
.v6-timeline { background: #fff; border-radius: 28px; padding: 24px; overflow-x: auto; }
.v6-timeline .aig-beat-shots, .v6-timeline .aig-beat-ticks { min-width: 620px; }
.v6-timeline .aig-shot { height: 190px; }
.v6-checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.v6-checks li { font-size: 15px; color: var(--ap-ink); display: flex; gap: 10px; align-items: baseline; }
.v6-checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ap-blue); transform: translateY(-1px); }

/* Looks */
.v6-looks-block, .v6-fx-block { margin: 0 0 96px; }
.v6-looks-head { max-width: 640px; margin: 0 0 32px; }
.v6-looks {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.v6-look { margin: 0; min-width: 0; }
.v6-look-screen {
    position: relative; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
    background: #e9e7e3; transition: transform .25s ease, box-shadow .25s ease;
}
.v6-look-screen img, .v6-look-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v6-look:hover .v6-look-screen { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(15, 23, 42, .45); }
.v6-look figcaption { padding: 10px 2px 0; font-size: 14px; font-weight: 600; color: var(--ap-ink); }

/* Ending card */
.v6-endcard-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.v6-endcard { width: min(300px, 100%); height: auto; border-radius: 22px; display: block; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); }
.v6-endcard-wrap figcaption { font-size: 12px; color: var(--ap-mute); }

/* Effects */
.v6-fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v6-fx-item { margin: 0; min-width: 0; }
.v6-fx-item .g-video-slot { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #fff; }
.v6-fx-item .g-video-slot img, .v6-fx-item .g-video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v6-fx-item figcaption { padding: 10px 2px 0; font-size: 14px; font-weight: 600; color: var(--ap-ink); }

.v6-close { background: var(--v6-night); color: #fff; }
.v6-close h2 { color: #fff; }
.v6-close .g-text-link { color: #fff !important; }
.v6-close .g-note { color: var(--v6-night-mute); }

@media (max-width: 980px) {
    .v6-hero h1 { font-size: 50px; }
    .v6-stage { min-height: 540px; }
    .v6-stage-phone .aig-phone { width: 260px; }
    .v6-stage-side { width: 180px; }
    .v6-stage-left { transform: translate(calc(-50% - 215px), -50%) rotate(-6deg); }
    .v6-stage-right { transform: translate(calc(-50% + 215px), -50%) rotate(6deg); }
    .v6-steps { grid-template-columns: 1fr; }
    .v6-feature, .v6-feature-flip { grid-template-columns: 1fr; gap: 32px; }
    .v6-feature-flip .v6-feature-copy { order: 0; }
    .v6-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .v6-hero { padding: 52px 0 48px; }
    .v6-hero h1 { font-size: 40px; }
    .v6-lede { font-size: 17px; }
    .v6-stage { min-height: 450px; margin-top: 40px; }
    .v6-stage-phone .aig-phone { width: 210px; }
    .v6-stage-side { width: 130px; }
    .v6-stage-side figcaption { display: none; }
    .v6-stage-left { transform: translate(calc(-50% - 120px), -50%) rotate(-6deg); }
    .v6-stage-right { transform: translate(calc(-50% + 120px), -50%) rotate(6deg); }
    .v6-feature-copy h3, .v6-looks-head h3 { font-size: 30px; }
    .v6-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v6-fx { grid-template-columns: 1fr; }
    .v6-timeline { padding: 16px; border-radius: 20px; }
}
