/* CrossAge Studios - Multi-Product Theme */

:root {
    /* Base theme - Soft pastels + airy surfaces */
    --bg-0: #f7fbff;
    --bg-1: #eef6ff;
    --bg-2: #e8f3ff;
    --surface: #ffffff;
    --text-0: #1c2b3a; /* primary text (dark slate) */
    --text-1: #5a6b80; /* secondary text */

    /* CrossAge/Fight My Creature colors */
    --accent-0: #54b6ff; /* sky blue */
    --accent-1: #76e0c1; /* mint */
    --accent-2: #ffb7c5; /* soft coral/pink */

    /* LISA-specific colors */
    --lisa-primary: #2cb5c9; /* teal - her outfit */
    --lisa-accent: #f5851e; /* orange - her bow */
    --lisa-gold: #e8a849; /* golden blonde */
    --lisa-dark: #3d2c24; /* brown accents */
    --lisa-bg: #f0f9fa; /* light teal tint */

    --glass: rgba(255,255,255,.75);
    --border: rgba(17,37,63,.12);
    --shadow: 0 10px 24px rgba(17,37,63,.12);
}

/* LISA Theme Override */
.lisa-theme {
    --accent-0: var(--lisa-primary);
    --accent-1: var(--lisa-accent);
    --accent-2: var(--lisa-gold);
}

html, body {
    height: 100%;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(84,182,255,.18), transparent 55%), radial-gradient(900px 500px at -10% 20%, rgba(118,224,193,.22), transparent 60%), linear-gradient(180deg, var(--bg-1), var(--bg-0));
    color: var(--text-0);
}

a {
    color: var(--accent-0);
    text-decoration: none;
}

    a:hover {
        color: var(--accent-1);
    }

.container-narrow {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.78));
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(17,37,63,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .3px;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: radial-gradient(120% 120% at 80% 20%, rgba(84,182,255,.85), transparent 60%), radial-gradient(120% 120% at 20% 80%, rgba(118,224,193,.9), transparent 60%), var(--bg-2);
    box-shadow: 0 0 14px rgba(84,182,255,.28), inset 0 0 14px rgba(118,224,193,.25);
    border: 1px solid var(--border);
}

.brand-name {
    font-size: 1.05rem;
    color: var(--text-0);
}

.brand-sub {
    color: var(--text-1);
    opacity: .9;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

    .nav a {
        color: var(--text-1);
        padding: 8px 10px;
        border-radius: 999px;
    }

        .nav a:hover {
            color: var(--text-0);
            background: rgba(0,0,0,.04);
        }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: .2px;
    transition: transform .05s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
    box-shadow: var(--shadow);
}

    .btn:active {
        transform: translateY(1px);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-0), var(--accent-1));
    color: #0f2236; /* dark text for pastel button for contrast */
    border-color: transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

    .btn-primary:hover {
        filter: brightness(1.04);
    }

.btn-ghost {
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.85));
    color: var(--text-0);
}

    .btn-ghost:hover {
        background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9));
    }

.hero {
    padding: clamp(48px, 6vw, 84px) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-1);
    margin-bottom: 14px;
}

    .kicker .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent-1);
        box-shadow: 0 0 10px rgba(118,224,193,.7);
    }

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 900;
    text-wrap: balance;
}

.hero .lead {
    color: var(--text-1);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin-bottom: 22px;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.86));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.hero-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    background: #f0f7ff;
    display: grid;
    place-items: center;
}

    .hero-media .placeholder {
        background: radial-gradient(800px 400px at -10% 20%, rgba(118,224,193,.22), transparent 60%), radial-gradient(800px 400px at 90% 0%, rgba(84,182,255,.24), transparent 60%), linear-gradient(180deg, #f3f8ff, #eef6ff);
        width: 100%;
        height: 100%;
    }

.section {
    padding: clamp(36px, 6vw, 72px) 0;
}

    .section h2 {
        font-size: clamp(1.6rem, 2.8vw, 2.2rem);
        margin: 0 0 18px;
        font-weight: 900;
    }

.subtle {
    color: var(--text-1);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.88));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}

    .card h3 {
        margin: 6px 0 8px;
        font-size: 1.1rem;
        font-weight: 900;
    }

.icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: radial-gradient(120% 120% at 80% 20%, rgba(84,182,255,.9), transparent 60%), radial-gradient(120% 120% at 20% 80%, rgba(118,224,193,.9), transparent 60%), var(--bg-2);
    box-shadow: inset 0 0 12px rgba(84,182,255,.18);
    border: 1px solid var(--border);
}

.gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, 1fr);
}

    .gallery img, .gallery video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
        border: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(17,37,63,.08);
    }

.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

.span-8 {
    grid-column: span 8;
}

@media (max-width: 992px) {
    .span-6, .span-4, .span-8 {
        grid-column: span 12;
    }
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form {
    display: grid;
    gap: 12px;
    max-width: 560px;
}

.input {
    background: rgba(255,255,255,.95);
    border: 1px solid var(--border);
    color: var(--text-0);
    padding: 12px 14px;
    border-radius: 14px;
    outline: none;
    box-shadow: 0 4px 12px rgba(17,37,63,.06) inset, 0 6px 14px rgba(17,37,63,.06);
}

    .input:focus {
        border-color: var(--accent-0);
        box-shadow: 0 0 0 3px rgba(84,182,255,.22), 0 6px 14px rgba(17,37,63,.06);
    }

.validation {
    color: #d94141;
    font-size: .9rem;
}

/* ============================================
   LISA-Specific Styles
   ============================================ */

.lisa-theme {
    background: radial-gradient(1200px 600px at 80% -10%, rgba(44,181,201,.15), transparent 55%),
                radial-gradient(900px 500px at -10% 20%, rgba(245,133,30,.12), transparent 60%),
                linear-gradient(180deg, var(--lisa-bg), var(--bg-0));
}

.lisa-theme .btn-primary {
    background: linear-gradient(135deg, var(--lisa-primary), var(--lisa-accent));
}

.lisa-theme .icon {
    background: radial-gradient(120% 120% at 80% 20%, rgba(44,181,201,.9), transparent 60%),
                radial-gradient(120% 120% at 20% 80%, rgba(245,133,30,.8), transparent 60%),
                var(--lisa-bg);
}

.lisa-theme .kicker .dot {
    background: var(--lisa-accent);
    box-shadow: 0 0 10px rgba(245,133,30,.7);
}

/* Product Cards for Homepage */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(17,37,63,.15);
    color: inherit;
}

.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
    background: var(--bg-2);
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.product-card .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.badge-game {
    background: linear-gradient(135deg, var(--accent-0), var(--accent-1));
    color: var(--text-0);
}

.badge-ai {
    background: linear-gradient(135deg, var(--lisa-primary), var(--lisa-accent));
    color: white;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--lisa-primary);
    box-shadow: 0 0 0 2px var(--lisa-primary), var(--shadow);
}

.pricing-card .tier-name {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-0);
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
}

.pricing-card .features li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
    color: var(--text-1);
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-disclaimer {
    text-align: center;
    color: var(--text-1);
    font-size: .85rem;
    margin-top: 16px;
    font-style: italic;
}

/* Beta Signup Form */
.beta-form {
    max-width: 480px;
    margin: 0 auto;
}

.beta-form .input-group {
    display: flex;
    gap: 12px;
}

@media (max-width: 500px) {
    .beta-form .input-group {
        flex-direction: column;
    }
}

.beta-form .input {
    flex: 1;
}

/* Personality Showcase */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .personality-grid {
        grid-template-columns: 1fr;
    }
}

.personality-card {
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.personality-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
}

.personality-card h4 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.personality-card p {
    color: var(--text-1);
    font-size: .95rem;
    margin: 0;
}

/* Integration Icons */
.integration-icons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.integration-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-1);
    font-size: .85rem;
    font-weight: 600;
}

.integration-icon .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

/* Use Case Tabs */
.use-cases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 800px) {
    .use-cases {
        grid-template-columns: repeat(2, 1fr);
    }
}

.use-case {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(17,37,63,.06);
}

.use-case .emoji {
    font-size: 2rem;
    margin-bottom: 8px;
}

.use-case h4 {
    font-size: .95rem;
    font-weight: 800;
    margin: 0;
}
