/*
Theme Name: Relay Day
Theme URI: https://relay.day
Author: Autofy Inc.
Author URI: https://autofy.live
Description: Custom marketing theme for relay.day - Your AI that actually remembers you. Built from Google Stitch designs with Tailwind CSS.
Version: 1.0.0
License: Proprietary
License URI: https://relay.day/terms
Text Domain: relay-day
*/

/* Base resets - Tailwind handles most styling via CDN */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* FAQ accordion arrow rotation */
details[open] summary .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-arrow {
    transition: transform 0.2s ease;
}

/* Bouncy hover effect */
.bouncy-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bouncy-hover:hover {
    transform: scale(1.03);
}

/* Candy shadows */
.candy-shadow-primary { box-shadow: 0 4px 16px rgba(224, 64, 160, 0.2); }
.candy-shadow-secondary { box-shadow: 0 4px 16px rgba(124, 82, 170, 0.2); }
.candy-shadow-tertiary { box-shadow: 0 4px 16px rgba(0, 150, 204, 0.2); }

/* Scroll margin for anchor navigation */
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
}
.mobile-menu.active {
    display: flex;
}

/* Big speech bubble container wrapping the entire conversation */
.chat-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(224, 64, 160, 0.08);
    margin-bottom: 18px;
}

/* Tail pointer at bottom-left */
.chat-container::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 28px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 16px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 2px rgba(224, 64, 160, 0.06));
}

/* Cute shine mark top-left */
.chat-container::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 18px;
    width: 8px;
    height: 14px;
    border: 2.5px solid rgba(224, 64, 160, 0.18);
    border-radius: 50%;
    border-right: none;
    border-bottom: none;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Second shine mark bottom-right (via extra span in HTML) */
.chat-shine {
    position: absolute;
    bottom: 18px;
    right: 20px;
    width: 6px;
    height: 10px;
    border: 2px solid rgba(124, 82, 170, 0.15);
    border-radius: 50%;
    border-left: none;
    border-top: none;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Individual chat message bubbles inside the container */
.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 85%;
    font-size: 0.93rem;
    line-height: 1.5;
}

.chat-bubble-user {
    background: #f3f0ff;
    color: #3b2d5e;
    align-self: flex-start;
}

.chat-bubble-relay {
    background: linear-gradient(135deg, #fce4f1, #f8d0e8);
    color: #4a2040;
    align-self: flex-end;
}

.chat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

/* WordPress admin bar spacing */
body.admin-bar header.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header.sticky {
        top: 46px;
    }
}
