/* ═══════════════════════════════════════════════════════════
   AstroL — Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── NAV ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    padding: 16px 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav--scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0,0,0,0.4);
    padding: 10px 0;
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 700;
}
.nav__logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--gold));
    animation: moonGlow 3s ease-in-out infinite;
}
@keyframes moonGlow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--gold)); }
    50%      { filter: drop-shadow(0 0 20px var(--gold-light)); }
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__link {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
    color: var(--text-dim);
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__link--glow {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #fff !important;
    box-shadow: 0 2px 15px var(--purple-glow);
}
.nav__link--glow:hover { box-shadow: 0 4px 25px rgba(108, 60, 224, 0.5); }
.nav__link--outline {
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-dim);
}
.nav__link--outline:hover { border-color: var(--purple-light); }
.nav__link--admin { color: var(--gold) !important; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__burger span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav__burger { display: flex; }
    .nav__links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(20px);
        padding: 16px;
        gap: 4px;
        display: none;
    }
    .nav__links.active { display: flex; }
    .nav__link { width: 100%; text-align: center; padding: 12px; }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

/* Zodiac ring behind hero */
.hero__zodiac-ring {
    position: absolute;
    width: min(600px, 85vw);
    height: min(600px, 85vw);
    border-radius: 50%;
    border: 1px solid rgba(155, 109, 255, 0.08);
    animation: ringRotate 120s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

.zodiac-symbol {
    position: absolute;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: rgba(155, 109, 255, 0.25);
    top: 50%; left: 50%;
    --angle: calc(var(--i) * 30deg);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(min(300px, 42vw) * -1)) rotate(calc(var(--angle) * -1));
    animation: ringRotateReverse 120s linear infinite;
}
@keyframes ringRotateReverse { to { transform: translate(-50%, -50%) rotate(calc(var(--angle) - 360deg)) translateY(calc(min(300px, 42vw) * -1)) rotate(calc((var(--angle) - 360deg) * -1)); } }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero__pre-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}
.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero__title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 1s forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.5s; }
.hero__title-line:nth-child(2) { animation-delay: 0.7s; }

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 540px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: fadeUp 1s 1.5s forwards;
    opacity: 0;
}
.hero__scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}
.hero__scroll-dot {
    width: 4px; height: 8px;
    background: var(--purple-light);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { top: 6px; opacity: 1; }
    50%      { top: 22px; opacity: 0.3; }
}

/* Floating planets */
.hero__planet {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero__planet--1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle at 30% 30%, var(--purple-dark), transparent 70%);
    top: 10%; right: -100px;
    animation: float1 8s ease-in-out infinite;
    opacity: 0.4;
}
.hero__planet--2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle at 40% 40%, rgba(240, 192, 64, 0.15), transparent 70%);
    bottom: 15%; left: -60px;
    animation: float2 10s ease-in-out infinite;
    opacity: 0.3;
}
.hero__planet--3 {
    width: 120px; height: 120px;
    background: radial-gradient(circle at 50% 50%, rgba(155, 109, 255, 0.2), transparent 70%);
    top: 30%; left: 10%;
    animation: float3 6s ease-in-out infinite;
    opacity: 0.5;
}
@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, 20px); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(20px, -30px); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(15px, 15px); }
}

/* ─── FACTS CAROUSEL ─────────────────────────────────── */
.facts {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.facts__carousel {
    overflow: hidden;
    position: relative;
}
.facts__track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.fact-card {
    flex: 0 0 340px;
    min-height: 320px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    cursor: default;
}
.fact-card:hover {
    border-color: rgba(155, 109, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(108, 60, 224, 0.15);
}
.fact-card__glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--purple-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.fact-card:hover .fact-card__glow { opacity: 0.3; }

.fact-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(155, 109, 255, 0.4));
}
.fact-card__title {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.fact-card__text {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}
.fact-card__number {
    position: absolute;
    bottom: 16px; right: 20px;
    font-family: var(--ff-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(155, 109, 255, 0.06);
    line-height: 1;
}

.facts__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.facts__nav-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.facts__nav-btn:hover {
    border-color: var(--purple-light);
    background: rgba(108, 60, 224, 0.15);
}

.facts__dots {
    display: flex;
    gap: 8px;
}
.facts__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s;
}
.facts__dot.active {
    background: var(--purple-light);
    box-shadow: 0 0 12px var(--purple-glow);
    transform: scale(1.2);
}

/* ─── ZODIAC WHEEL ───────────────────────────────────── */
.zodiac-interactive {
    position: relative;
    z-index: 1;
    padding: 80px 0 120px;
}

.zodiac-wheel {
    position: relative;
    width: min(500px, 85vw);
    height: min(500px, 85vw);
    margin: 0 auto;
}
.zodiac-wheel__ring {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(155, 109, 255, 0.12);
    position: relative;
    background: radial-gradient(circle, rgba(108, 60, 224, 0.03) 0%, transparent 70%);
}

.zodiac-item {
    position: absolute;
    top: 50%; left: 50%;
    --angle: calc(var(--i) * 30deg - 90deg);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(min(250px, 42vw))) rotate(calc(var(--angle) * -1));
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
.zodiac-item:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(min(250px, 42vw))) rotate(calc(var(--angle) * -1)) scale(1.25);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(240, 192, 64, 0.3);
    background: var(--bg-card-hover);
}

.zodiac-wheel__center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(155, 109, 255, 0.15);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.4s;
}
.zodiac-wheel__center-default { text-align: center; }
.zodiac-wheel__sun {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 4px;
    animation: moonGlow 3s ease-in-out infinite;
}
.zodiac-wheel__center p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.zodiac-wheel__center .zodiac-info-name {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}
.zodiac-wheel__center .zodiac-info-element {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}
.zodiac-wheel__center .zodiac-info-dates {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── SERVICES GRID ──────────────────────────────────── */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px 32px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: rgba(155, 109, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(108, 60, 224, 0.12);
}

.service-card__shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 109, 255, 0.04), transparent);
    transition: none;
}
.service-card:hover .service-card__shimmer {
    animation: shimmer 1.2s;
}
@keyframes shimmer {
    to { left: 100%; }
}

.service-card__icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(155, 109, 255, 0.3));
}
.service-card__image {
    width: calc(100% + 64px);
    margin: -40px -32px 20px;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.service-card:hover .service-card__image img {
    transform: scale(1.05);
}
.service-card__category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.service-card__title {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-card__desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 24px;
}
.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.service-card__price {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.services__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}
.services__empty-text {
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* ─── CTA ────────────────────────────────────────────── */
.cta {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    overflow: hidden;
}
.cta__content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta__title {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}
.cta__text {
    color: var(--text-dim);
    margin-bottom: 36px;
    font-size: 1.05rem;
}
.cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.cta__orb--1 {
    width: 400px; height: 400px;
    background: rgba(108, 60, 224, 0.15);
    top: -100px; left: -100px;
}
.cta__orb--2 {
    width: 350px; height: 350px;
    background: rgba(240, 192, 64, 0.08);
    bottom: -100px; right: -100px;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer__tagline {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.footer__links {
    display: flex;
    gap: 24px;
}
.footer__links a {
    font-size: 0.88rem;
    color: var(--text-dim);
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--purple-light); }
.footer__copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
    .fact-card { flex: 0 0 280px; min-height: 280px; padding: 30px 24px; }
    .services__grid { grid-template-columns: 1fr; }
    .zodiac-item { width: 44px; height: 44px; font-size: 1.4rem; }
    .zodiac-wheel__center { width: 120px; height: 120px; }
}
