/* Landing pages for the companion product. Three standalone pages share this sheet. */
:root {
    --ds-page: #12070b;
    --ds-font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body { margin: 0; min-height: 100%; }
body {
    background: var(--ds-page);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 14px;
    box-sizing: border-box;
}

.al-card {
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #1c0d13 0%, #2e121d 55%, #431a29 100%);
    border-radius: 24px;
    padding: 20px 18px;
    color: #f8ecec;
    gap: 14px;
    font-family: var(--ds-font-text);
}

.al-pill {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start;
    border: 1px solid rgba(255, 92, 138, 0.4); color: #ff9db8;
    border-radius: 999px; padding: 4px 11px;
    font-size: 10.5px; letter-spacing: 0.08em; font-weight: 600;
}
.al-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }

.al-h1 {
    font-family: var(--ds-font-text);
    font-weight: 800;
    font-size: 25px; line-height: 30px; letter-spacing: -0.03em;
    color: #ffffff; margin: 0;
}

/* Media: image with chat overlaid (home) */
.al-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 122, 146, 0.25); }
.al-hero-img {
    width: 100%; height: 348px; object-fit: cover; object-position: center 22%;
    display: block; margin: 0;
}
.al-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
    background: linear-gradient(to top, rgba(18, 7, 11, 0.92), rgba(18, 7, 11, 0));
    pointer-events: none;
}

/* Media: wide image with pill + hook overlaid (hinglish) */
.al-media-wide::after {
    height: 78%;
    background: linear-gradient(to top, rgba(18, 7, 11, 0.94), rgba(18, 7, 11, 0));
}
.al-hero-wide { height: 260px; object-position: center 30%; }
.al-over-top { position: absolute; top: 12px; left: 12px; z-index: 1; }
.al-h1-over {
    position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
    font-size: 24px; line-height: 29px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* Chat */
.al-chat { display: flex; flex-direction: column; gap: 6px; }
.al-chat-overlay { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; }
.al-chat-static { align-self: stretch; gap: 8px; }
.al-chat-screen { align-self: stretch; gap: 7px; padding: 12px; flex: 1; }

.al-bub {
    max-width: 86%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.3;
    color: #ffffff;
    animation: alPop 0.28s ease-out both;
}
@keyframes alPop {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.al-bub-a {
    align-self: flex-start;
    background: rgba(46, 20, 30, 0.82);
    border: 1px solid rgba(255, 122, 146, 0.45);
    border-bottom-left-radius: 6px;
    backdrop-filter: blur(4px);
}
.al-bub-u {
    align-self: flex-end;
    background: linear-gradient(135deg, #ff7a92, #e8437f);
    border-bottom-right-radius: 6px;
    font-weight: 500;
}
.al-typing { display: inline-flex; gap: 5px; padding: 11px 14px; }
.al-typing i {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255, 220, 228, 0.7);
    animation: alBlink 1s infinite ease-in-out;
}
.al-typing i:nth-child(2) { animation-delay: 0.15s; }
.al-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes alBlink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.al-chat-note { font-size: 11px; color: rgba(255, 220, 228, 0.5); text-align: center; margin-top: 1px; }

/* Phone screen (late-night) */
.al-phone {
    display: flex; flex-direction: column;
    background: rgba(14, 6, 10, 0.55);
    border: 1px solid rgba(255, 122, 146, 0.3);
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
}
.al-phone-top {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 122, 146, 0.2);
}
.al-phone-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, #ff7a92, #e8437f);
    color: #fff; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.al-phone-name { font-weight: 700; font-size: 14.5px; color: #fff; }
.al-phone-status { font-size: 12px; color: #3ddc84; }
.al-phone .al-chat-note { padding: 0 12px 10px; }

/* Voice card */
.al-voice {
    display: flex; align-items: center; gap: 11px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 122, 146, 0.35);
    border-radius: 14px; padding: 9px 12px;
}
.al-playbtn {
    width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0;
    background: #ff5c8a; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.al-playbtn-sm { width: 34px; height: 34px; }
.al-voice-text { flex: 1; min-width: 0; }
.al-voice-title { display: block; font-weight: 600; font-size: 14px; color: #fff; }
.al-voice-sub { display: block; font-size: 11px; color: #d9aeb8; }
.al-voice-len { font-size: 12px; color: #ffb6c6; flex: none; }
.al-vbubble { display: flex; align-items: center; gap: 9px; padding: 7px 10px; max-width: 78%; }

.al-wave { display: flex; align-items: center; gap: 3px; flex: none; height: 22px; }
.al-wave i { width: 3px; border-radius: 2px; background: #ff9db8; opacity: 0.85; height: 30%; }
.al-wave i:nth-child(1) { height: 35%; } .al-wave i:nth-child(2) { height: 60%; }
.al-wave i:nth-child(3) { height: 90%; } .al-wave i:nth-child(4) { height: 55%; }
.al-wave i:nth-child(5) { height: 75%; } .al-wave i:nth-child(6) { height: 100%; }
.al-wave i:nth-child(7) { height: 65%; } .al-wave i:nth-child(8) { height: 85%; }
.al-wave i:nth-child(9) { height: 45%; } .al-wave i:nth-child(10) { height: 70%; }
.al-wave i:nth-child(11) { height: 50%; } .al-wave i:nth-child(12) { height: 30%; }
.al-wave.is-live i { animation: alWave 0.9s infinite ease-in-out; }
.al-wave.is-live i:nth-child(2n) { animation-delay: 0.15s; }
.al-wave.is-live i:nth-child(3n) { animation-delay: 0.3s; }
@keyframes alWave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.al-voice .al-wave, .al-vbubble .al-wave { flex: 1; }

/* CTA */
.al-cta {
    display: block; width: 100%; box-sizing: border-box; text-align: center;
    background: #ff5c8a; color: #fff; border: 0; border-radius: 14px;
    padding: 14px; font: inherit; font-weight: 700; font-size: 16px;
    cursor: pointer; text-decoration: none;
}

@media (min-width: 900px) {
    .al-card {
        max-width: 1060px;
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        column-gap: 40px;
        row-gap: 18px;
        padding: 44px 48px;
        align-items: start;
    }
    .al-media { display: contents; border: 0; }
    .al-media::after { display: none; }
    .al-pill, .al-h1, .al-voice, .al-chat, .al-cta, .al-phone { grid-column: 1; }
    .al-hero-img {
        grid-column: 2;
        grid-row: 1 / span 6;
        height: 100%;
        min-height: 480px;
        object-position: center 25%;
        border-radius: 18px;
        border: 1px solid rgba(255, 122, 146, 0.25);
    }
    .al-h1 { font-size: 38px; line-height: 44px; }
    .al-chat-overlay { position: static; min-height: 200px; gap: 8px; }
    .al-bub { font-size: 15px; padding: 10px 14px; }
    .al-voice { padding: 12px 14px; }

    /* hinglish desktop: wide media stays a media block spanning both columns */
    .al-media-wide { display: block; grid-column: 1 / -1; border: 1px solid rgba(255, 122, 146, 0.25); }
    .al-media-wide::after { display: block; }
    .al-media-wide .al-hero-wide { position: static; height: 420px; min-height: 0; grid-column: auto; grid-row: auto; border: 0; border-radius: 0; }
    .al-media-wide .al-h1-over { font-size: 34px; line-height: 40px; left: 24px; right: 24px; bottom: 20px; }
    .al-media-wide .al-over-top { top: 18px; left: 20px; }
}

.al-hero-night { display: none; }
@media (min-width: 900px) {
    .al-hero-night { display: block; }
}

@media (min-width: 900px) {
    .al-card:has(> .al-media-wide) { grid-template-columns: 1fr; }
    .al-card:has(> .al-media-wide) .al-media-wide,
    .al-card:has(> .al-media-wide) .al-chat,
    .al-card:has(> .al-media-wide) .al-voice,
    .al-card:has(> .al-media-wide) .al-cta { grid-column: 1; }
}

