/* Shared Styles for Tasseo Website */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --mystic-purple: #251044;
    --deep-violet: #14091f;
    --celestial-gold: #ffd600;
    --oracle-pink: #ff71b5;
    --oracle-violet: #8e5cff;
    --ethereal-teal: #38d8ff;
    --void-black: #090411;
    --text-primary: #F5F5F7;
    --text-secondary: rgba(221, 225, 242, 0.76);
    --muted-text: #7f879d;
    --glass-bg: rgba(18, 10, 31, 0.78);
    --glass-border: rgba(143, 100, 255, 0.24);
    --pink-border: rgba(255, 113, 181, 0.36);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background:
        radial-gradient(circle at 74% 12%, rgba(142, 92, 255, 0.22), transparent 30rem),
        radial-gradient(circle at 14% 70%, rgba(255, 113, 181, 0.14), transparent 24rem),
        var(--void-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 74% 22%, rgba(108, 51, 176, 0.34), transparent 28rem),
        radial-gradient(circle at 23% 18%, rgba(255, 113, 181, 0.12), transparent 22rem),
        linear-gradient(180deg, #0b0515 0%, #171027 48%, #0b0515 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration, 3s) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(105deg, #9b5cff 8%, var(--oracle-pink) 45%, var(--ethereal-teal) 92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--oracle-pink);
}

/* Layout */
main {
    flex: 1;
    padding-top: 5.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.content-card {
    max-width: 900px;
    margin: 2rem auto;
}

.content-card section {
    margin-top: 2.25rem;
}

.content-card section:first-of-type {
    margin-top: 0;
}

.content-card h2 {
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}

.content-card p {
    margin-bottom: 1.15rem;
}

.content-card ul {
    margin-top: 0.35rem;
    margin-bottom: 1.2rem;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    text-align: center;
    color: var(--celestial-gold);
    -webkit-text-fill-color: currentColor;
    background: none;
    margin-bottom: 1rem;
}

/* Typography elements */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 9vw, 8rem);
    margin-bottom: 1rem;
    background: linear-gradient(105deg, #a268ff 5%, var(--oracle-pink) 48%, #60dbff 94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

h1 span {
    background: linear-gradient(135deg, var(--oracle-pink), var(--ethereal-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4vw, 4rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.08;
}

h3 {
    font-size: 1.45rem;
    color: var(--text-primary);
    margin: 1.25rem 0 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--oracle-pink), #b66dff);
    color: #120718;
    box-shadow: 0 10px 30px rgba(255, 113, 181, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(255, 113, 181, 0.38);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Store Badge Styles */
.store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-badge {
    height: 50px;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--oracle-pink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    min-height: calc(100vh - 5.5rem);
    gap: 4rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.18;
    margin-bottom: 1rem;
}

.hero-text {
    max-width: 42rem;
    font-size: 1.22rem;
}

.hero-actions,
.ritual-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions {
    margin: 2rem 0;
}

.ritual-row div {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mini-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 113, 181, 0.13);
    color: var(--oracle-pink);
}

.mini-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-cup svg,
.feature-icon.pink svg {
    transform: translateX(0.08rem);
}

.icon-memory {
    background: rgba(142, 92, 255, 0.14);
    color: #b895ff;
}

.icon-symbols {
    background: rgba(56, 216, 255, 0.12);
    color: var(--ethereal-teal);
}

.icon-chat {
    background: rgba(255, 214, 0, 0.11);
    color: var(--celestial-gold);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.8rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.download-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: currentColor;
    flex: 0 0 auto;
}

.download-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    display: block;
}

.download-btn-ios {
    background: linear-gradient(135deg, rgba(255, 113, 181, 0.95), rgba(142, 92, 255, 0.9));
    color: #120718;
}

.download-btn-android {
    border-color: rgba(56, 216, 255, 0.32);
    background: rgba(56, 216, 255, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
}

.phone-stage {
    min-height: 620px;
    position: relative;
    isolation: isolate;
}

.phone-stage::before {
    content: "";
    position: absolute;
    inset: 10% 4% 0;
    background:
        radial-gradient(circle at 52% 48%, rgba(56, 216, 255, 0.18), transparent 18rem),
        radial-gradient(circle at 35% 62%, rgba(255, 113, 181, 0.18), transparent 18rem);
    filter: blur(10px);
    z-index: -1;
}

.phone-shot {
    position: absolute;
    width: min(27vw, 255px);
    border-radius: 36px;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-shot-main {
    left: 50%;
    top: 2%;
    width: min(29vw, 278px);
    transform: translateX(-50%);
    z-index: 3;
}

.phone-shot-left {
    left: 4%;
    top: 8%;
    transform: rotate(-3deg);
    z-index: 2;
}

.phone-shot-right {
    right: 4%;
    top: 8%;
    transform: rotate(3deg);
    z-index: 2;
}

.section {
    padding: 6rem 2rem;
}

.section-heading {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 3rem;
}

.eyebrow {
    color: var(--oracle-pink);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.feature-card {
    min-height: 260px;
    border-color: var(--glass-border);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
}

.feature-icon svg {
    width: 2.05rem;
    height: 2.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon.pink {
    background: rgba(255, 113, 181, 0.16);
    color: var(--oracle-pink);
}

.feature-icon.cyan {
    background: rgba(56, 216, 255, 0.14);
    color: var(--ethereal-teal);
}

.feature-icon.gold {
    background: rgba(255, 214, 0, 0.13);
    color: var(--celestial-gold);
}

.ritual-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding-top: 0;
}

.flow-card {
    background: rgba(12, 6, 21, 0.74);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    min-height: 240px;
}

.flow-card:first-child {
    border-radius: 30px 0 0 30px;
}

.flow-card:last-child {
    border-radius: 0 30px 30px 0;
}

.flow-card span {
    display: inline-flex;
    margin-bottom: 1.2rem;
    color: var(--oracle-pink);
    font-weight: 800;
    letter-spacing: 0.14em;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.detail-grid article {
    min-height: 220px;
    padding: 1.6rem;
    border: 1px solid rgba(143, 100, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 113, 181, 0.1), transparent 12rem),
        rgba(11, 6, 20, 0.74);
}

.detail-grid h3 {
    margin-top: 0;
}

.showcase {
    padding: 6rem 0;
}

.showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: center;
    gap: 4rem;
}

.stat-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--pink-border);
    border-radius: 22px;
    background: rgba(255, 113, 181, 0.08);
}

.stat-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1;
    transform: translateY(-0.08em);
}

.stat-card span {
    color: var(--text-secondary);
    line-height: 1.25;
}

.screenshot-card {
    max-height: 620px;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.screenshot-card img {
    display: block;
    width: 100%;
}

.reading-carousel {
    position: relative;
    overflow: hidden;
    margin-inline: calc(50% - 50vw);
    padding: 0.5rem 0 2rem;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.reading-track {
    display: flex;
    width: max-content;
    --gap: 1.15rem;
    gap: var(--gap);
    animation: reading-scroll 42s linear infinite;
}

.reading-track img {
    display: block;
    width: min(68vw, 310px);
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
    border: 1px solid rgba(143, 100, 255, 0.24);
    background: rgba(12, 6, 21, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

@keyframes reading-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-25% - (var(--gap) * 0.25)));
    }
}

.copyright {
    color: var(--text-secondary);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 4rem; }
    h1 span {
        background: linear-gradient(135deg, #FF71B5, #9B5DE5, #4CC9F0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    h2 { font-size: 1.8rem; }
    .store-badges { flex-direction: column; align-items: center; }
    nav { 
        padding: 1.5rem 5%; 
        position: relative;
    }
    .nav-links { gap: 1rem; font-size: 0.9rem; }
    .logo {
        font-size: 1.5rem;
    }
    main {
        padding-top: 0;
    }
    .glass-card {
        padding: 2rem 1.5rem;
    }
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
        padding-top: 2rem;
        text-align: center;
    }
    .hero-actions,
    .ritual-row {
        justify-content: center;
    }
    .phone-stage {
        min-height: 500px;
        margin-inline: -1.5rem;
    }
    .phone-shot {
        width: 36vw;
        border-radius: 24px;
    }
    .phone-shot-main {
        left: 50%;
        width: 41vw;
        transform: translateX(-50%);
    }
    .phone-shot-left { left: 2%; top: 10%; }
    .phone-shot-right { right: 2%; top: 10%; }
    .feature-grid,
    .ritual-flow,
    .detail-grid,
    .showcase-layout {
        grid-template-columns: 1fr;
    }
    .reading-track {
        --gap: 0.85rem;
        gap: var(--gap);
        animation-duration: 34s;
    }
    .reading-track img {
        width: 66vw;
        border-radius: 22px;
    }
    .flow-card,
    .flow-card:first-child,
    .flow-card:last-child {
        border-radius: 24px;
    }
    .section,
    .showcase {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Common Stars Script Injection Class */
.document-script-placeholder {}
