/* ===== CSS Variables ===== */
:root {
    --primary-gold: #D4A855;
    --primary-purple: #6B4BA2;
    --dark-purple: #2D1F42;
    --deep-navy: #0D0A1A;
    --cosmic-violet: #764BA2;
    --light-bg: #F8F6FC;
    --white: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #6B7280;
    --gradient-gold: linear-gradient(135deg, #D4A855 0%, #F5D6A0 50%, #D4A855 100%);
    --gradient-purple: linear-gradient(135deg, #6B4BA2 0%, #9D4EDD 100%);
    --gradient-cosmic: linear-gradient(135deg, #2D1F42 0%, #6B4BA2 50%, #D4A855 100%);
    --shadow-soft: 0 4px 20px rgba(107, 75, 162, 0.15);
    --shadow-strong: 0 8px 40px rgba(107, 75, 162, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

.gradient-text {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(107, 75, 162, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 75, 162, 0.5);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-promo {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    box-shadow: 0 0 15px rgba(212, 168, 85, 0.4);
    animation: glow-pulse 2s infinite ease-in-out;
    border: none;
    font-weight: 600;
}

.btn-promo:hover {
    box-shadow: 0 0 25px rgba(212, 168, 85, 0.8);
    transform: scale(1.05);
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 168, 85, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(212, 168, 85, 0.9);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 75, 162, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    width: 44px;
    height: 44px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-bg.png') center/cover no-repeat;
    opacity: 0.08;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(107, 75, 162, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.store-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
}

.store-badge img {
    height: 54px;
    width: auto;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.3) 0%, transparent 60%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.phone-mockup img {
    border-radius: 40px;
    box-shadow: var(--shadow-strong);
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--primary-gold);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 30px;
        height: 30px;
        opacity: 0;
    }
}

.store-badge.disabled,
.store-link.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===== Energy Promo Banner ===== */
.energy-promo {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(107, 75, 162, 0.08) 100%);
}

.energy-promo-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--dark-purple) 50%, var(--cosmic-violet) 100%);
    border-radius: 24px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 31, 66, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.energy-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(45, 31, 66, 0.5);
}

.promo-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.25) 0%, transparent 60%);
    animation: promo-pulse 4s ease-in-out infinite;
}

@keyframes promo-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.promo-icon {
    font-size: 3rem;
    flex-shrink: 0;
    animation: icon-float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.promo-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.promo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.promo-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.energy-promo-card:hover .promo-arrow {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .energy-promo-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .promo-content h3 {
        font-size: 1.25rem;
    }

    .promo-arrow {
        display: none;
    }
}

/* ===== Features Section ===== */
.features {
    padding: 120px 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    border-radius: 20px;
    margin-bottom: 24px;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 120px 0;
}

.screenshots-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot-item img {
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-strong);
}

.screenshot-item h4 {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 120px 0;
    background: var(--deep-navy);
    color: var(--white);
}

.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.how-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.how-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.how-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 24px;
}

.how-card h3 {
    margin-bottom: 16px;
}

.how-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.video-section {
    text-align: center;
}

.video-section h3 {
    margin-bottom: 32px;
    font-size: 1.75rem;
}

.video-container {
    position: relative;
    padding-bottom: 37.5%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Zodiac Section ===== */
.zodiac {
    padding: 120px 0;
    background: var(--light-bg);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.zodiac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.zodiac-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.zodiac-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.zodiac-card span {
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== Download Section ===== */
.download {
    padding: 120px 0;
    background: var(--gradient-cosmic);
    text-align: center;
    color: var(--white);
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-stores {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
}

.store-link img {
    height: 54px;
    width: auto;
    transition: var(--transition);
}

.store-link:hover img {
    transform: scale(1.05);
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item svg {
    color: var(--primary-purple);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--primary-purple);
}

.contact-social h4 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 12px;
    color: var(--primary-purple);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-4px);
}

/* ===== Footer ===== */
.footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    width: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .store-badges {
        justify-content: center;
    }

    .features-grid,
    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .features-grid,
    .how-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-item {
        flex: 0 0 240px;
    }
}

/* ===== Story Enhancement Styles ===== */

/* Ancient Symbols Float Animation */
.ancient-symbols-float {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ancient-symbols-float .symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-symbol 20s infinite ease-in-out;
}

.ancient-symbols-float .symbol:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ancient-symbols-float .symbol:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.ancient-symbols-float .symbol:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 10s;
}

.ancient-symbols-float .symbol:nth-child(4) {
    top: 70%;
    left: 20%;
    animation-delay: 15s;
}

@keyframes float-symbol {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.2;
    }
}

/* Whisper Text Effect */
.whisper-text {
    animation: whisper-fade 2s ease-in;
}

@keyframes whisper-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Journey Responsive Styles */
@media (max-width: 768px) {
    .journey-timeline .chapter {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    .chapter-visual {
        order: -1;
    }

    .chapter-icon {
        font-size: 3rem !important;
    }

    .stats {
        flex-direction: column;
        gap: 12px !important;
    }
}

/* Revelation Box Pulse */
.revelation-box {
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(212, 168, 85, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 168, 85, 0.3);
    }
}

/* Achievement List Stagger Animation */
.achievement-list li {
    animation: slide-in-left 0.6s ease-out;
    animation-fill-mode: both;
}

.achievement-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.achievement-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.achievement-list li:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Testimonial Hover Effect */
.testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* ===== Ancient Symbols Float Animation ===== */
.ancient-symbols-float {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-symbol 10s infinite ease-in-out;
    filter: grayscale(0.5);
}

.symbol:nth-child(1) {
    /* Tai Chi */
    top: 15%;
    left: 5%;
    font-size: 3rem;
    animation-duration: 15s;
    animation-delay: 0s;
}

.symbol:nth-child(2) {
    /* Moon */
    top: 25%;
    right: 10%;
    font-size: 2.5rem;
    animation-duration: 12s;
    animation-delay: -2s;
}

.symbol:nth-child(3) {
    /* Star */
    bottom: 20%;
    left: 15%;
    font-size: 2rem;
    animation-duration: 18s;
    animation-delay: -5s;
}

.symbol:nth-child(4) {
    /* Crystal Ball */
    bottom: 30%;
    right: 5%;
    font-size: 2.8rem;
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes float-symbol {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.25;
    }
}