/* Anime Starry Sky Fantasy Style */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&family=ZCOOL+KuaiLe&display=swap');

:root {
    --star-bg: #0a0a2a;
    --star-primary: #a29bfe;
    --star-secondary: #ff9ff3;
    --star-accent: #00d2d3;
    --star-text: #f1f2f6;
    --star-panel: rgba(255, 255, 255, 0.05);
    --star-border: rgba(255, 255, 255, 0.15);
    
    --font-head: 'ZCOOL KuaiLe', cursive;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--star-bg);
    color: var(--star-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(162, 155, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 159, 243, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Starry Sky Animation */
.sky-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}
.stars {
    width: 1px; height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #FFF, 134px 1321px #FFF, 92px 876px #FFF, 1421px 111px #FFF, 123px 456px #FFF, 876px 1234px #FFF, 345px 987px #FFF, 1876px 543px #FFF, 567px 1765px #FFF, 1111px 222px #FFF;
    animation: animStar 50s linear infinite;
}
.stars2 {
    width: 2px; height: 2px;
    background: transparent;
    box-shadow: 1234px 567px #FFF, 876px 123px #FFF, 345px 987px #FFF, 1876px 543px #FFF, 567px 1765px #FFF, 1111px 222px #FFF, 1744px 122px #FFF, 134px 1321px #FFF;
    animation: animStar 100s linear infinite;
}
.stars3 {
    width: 3px; height: 3px;
    background: transparent;
    box-shadow: 567px 1765px #FFF, 1111px 222px #FFF, 1744px 122px #FFF, 134px 1321px #FFF, 92px 876px #FFF, 1421px 111px #FFF;
    animation: animStar 150s linear infinite;
}
@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}
.shooting-star {
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1), 0 0 0 8px rgba(255,255,255,0.1), 0 0 20px rgba(255,255,255,1);
    animation: shooting 3s linear infinite;
}
.shooting-star::before {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 300px; height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}
@keyframes shooting {
    0% { transform: translateX(0) translateY(0) rotate(-45deg); opacity: 1; }
    100% { transform: translateX(-1000px) translateY(1000px) rotate(-45deg); opacity: 0; }
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: normal;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--star-primary);
    transition: all 0.3s ease;
}
a:hover {
    color: var(--star-secondary);
    text-shadow: 0 0 10px var(--star-secondary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--star-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--star-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-magic {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-head);
    font-size: 18px;
    color: #fff;
    background: linear-gradient(45deg, var(--star-primary), var(--star-secondary));
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-magic::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.btn-magic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 243, 0.6);
    color: #fff;
}
.btn-magic:hover::before {
    left: 100%;
}
.btn-magic.outline {
    background: transparent;
    border: 2px solid var(--star-primary);
    box-shadow: none;
}
.btn-magic.outline:hover {
    background: rgba(162, 155, 254, 0.1);
    box-shadow: 0 0 15px rgba(162, 155, 254, 0.4);
}

/* Navigation */
.nav-fantasy {
    margin-top: 20px;
    position: sticky;
    top: 20px;
    z-index: 1000;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}
.brand-logo {
    font-family: var(--font-head);
    font-size: 28px;
    background: linear-gradient(to right, var(--star-primary), var(--star-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(162, 155, 254, 0.5));
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    font-size: 16px;
    font-weight: 700;
    color: var(--star-text);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--star-secondary);
}
.nav-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero-fantasy {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}
.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 159, 243, 0.5);
}
.hero-desc {
    font-size: 20px;
    color: #dcdde1;
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.trust-stars {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: var(--star-accent);
}
.trust-stars span::before { content: '✦ '; }

/* Metrics - Floating Bubbles */
.metrics-fantasy {
    padding: 40px 0;
}
.bubble-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.metric-bubble {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: floatBubble 6s ease-in-out infinite;
}
.metric-bubble:nth-child(2) { animation-delay: 1.5s; }
.metric-bubble:nth-child(3) { animation-delay: 3s; }
.metric-bubble:nth-child(4) { animation-delay: 4.5s; }
@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.m-val {
    font-family: var(--font-head);
    font-size: 42px;
    color: var(--star-secondary);
    text-shadow: 0 0 10px rgba(255, 159, 243, 0.5);
}
.m-lbl {
    font-size: 16px;
    opacity: 0.8;
}

/* Features - Magic Cards */
.features-fantasy {
    padding: 80px 0;
}
.sec-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--star-primary);
    text-shadow: 0 0 15px rgba(162, 155, 254, 0.5);
}
.magic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.magic-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.magic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(162, 155, 254, 0.2);
    border-color: rgba(162, 155, 254, 0.5);
}
.f-icon {
    font-size: 50px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--star-accent));
}
.magic-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.magic-card p {
    font-size: 15px;
    color: #dcdde1;
    margin-bottom: 20px;
}
.f-list {
    list-style: none;
    text-align: left;
}
.f-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.f-list li::before {
    content: '✧'; position: absolute; left: 0; color: var(--star-secondary);
}

/* Nodes - Constellation */
.nodes-fantasy {
    padding: 80px 0;
}
.constellation-wrap {
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.c-info p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dcdde1;
}
.c-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.c-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255,255,255,0.02);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}
.c-point:hover {
    background: rgba(162, 155, 254, 0.1);
}
.c-name { font-size: 18px; font-weight: 700; }
.c-name::before { content: '● '; color: var(--star-accent); text-shadow: 0 0 10px var(--star-accent); }
.c-speed { color: var(--star-secondary); }

/* Reviews - Dream Clouds */
.reviews-fantasy {
    padding: 80px 0;
}
.cloud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.cloud-card {
    padding: 30px;
    border-radius: 30px 30px 30px 5px;
    position: relative;
}
.c-stars { color: #f1c40f; margin-bottom: 15px; font-size: 18px; }
.c-text { font-size: 15px; font-style: italic; margin-bottom: 20px; }
.c-user { font-family: var(--font-head); font-size: 18px; color: var(--star-primary); }

/* Pricing - Tarot Cards */
.pricing-fantasy {
    padding: 80px 0;
}
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}
.tarot-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    position: relative;
}
.tarot-card.pro {
    transform: scale(1.05);
    border: 2px solid var(--star-secondary);
    box-shadow: 0 0 30px rgba(255, 159, 243, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 159, 243, 0.1) 100%);
}
.pro-tag {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(45deg, var(--star-primary), var(--star-secondary));
    padding: 5px 20px;
    border-radius: 20px;
    font-family: var(--font-head);
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.t-title { font-size: 28px; margin-bottom: 10px; }
.t-desc { font-size: 14px; color: #aaa; margin-bottom: 25px; }
.t-price { font-family: var(--font-head); font-size: 48px; margin-bottom: 25px; color: var(--star-accent); }
.t-price span { font-size: 16px; color: #aaa; font-family: var(--font-body); }
.t-feat { list-style: none; text-align: left; margin-bottom: 30px; }
.t-feat li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.t-feat li::before { content: '✨ '; color: var(--star-primary); }

/* FAQ */
.faq-fantasy {
    padding: 80px 0;
}
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.q-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.q-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--star-secondary);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.q-title::before { content: '?'; background: var(--star-primary); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 14px; }
.q-ans {
    padding-left: 34px;
    color: #dcdde1;
}

/* Footer */
.footer-fantasy {
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 50px;
}
.f-brand { font-family: var(--font-head); font-size: 32px; margin-bottom: 20px; color: var(--star-primary); }
.f-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.f-links a { color: #dcdde1; }
.f-links a:hover { color: var(--star-secondary); }
.f-copy { font-size: 12px; color: #666; }

/* Subpages */
.sub-hero {
    padding: 100px 0 60px;
    text-align: center;
}
.sub-hero h1 { font-size: 48px; margin-bottom: 20px; color: var(--star-secondary); }

.dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}
.dl-card {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s;
}
.dl-card:hover { transform: translateY(-5px); border-color: var(--star-primary); }
.dl-icon { font-size: 60px; }
.dl-info h3 { font-size: 24px; margin-bottom: 10px; }
.dl-info p { font-size: 15px; color: #aaa; margin-bottom: 20px; }

.help-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
    padding-bottom: 100px;
}
.h-nav { position: sticky; top: 100px; }
.h-nav a {
    display: block; padding: 12px 20px; border-radius: 10px; margin-bottom: 10px; color: #dcdde1; transition: all 0.3s;
}
.h-nav a:hover, .h-nav a.active {
    background: rgba(162, 155, 254, 0.2); color: var(--star-secondary);
}
.h-content h2 { font-size: 36px; color: var(--star-primary); margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.h-content h3 { font-size: 22px; margin: 30px 0 15px; color: var(--star-accent); }
.h-content p, .h-content li { font-size: 16px; color: #dcdde1; margin-bottom: 15px; }
.h-content ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .bubble-grid { justify-content: center; }
    .magic-grid, .cloud-grid, .tarot-grid { grid-template-columns: repeat(2, 1fr); }
    .constellation-wrap { grid-template-columns: 1fr; }
    .tarot-card.pro { transform: none; }
    .dl-grid { grid-template-columns: 1fr; }
    .help-layout { grid-template-columns: 1fr; }
    .h-nav { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 42px; }
    .hero-actions { flex-direction: column; }
    .trust-stars { flex-direction: column; gap: 10px; }
    .magic-grid, .cloud-grid, .tarot-grid { grid-template-columns: 1fr; }
    .dl-card { flex-direction: column; text-align: center; }
}
