/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #6B4CE6;
    --primary-dark: #5538D9;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --accent-yellow: #FFE66D;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #757575;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --sponsored-color: #FFA726;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
    --spacing-xxl: 96px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-small {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F5F3FF 0%, #FFF9F0 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-headline {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.story-titles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.story-title-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.story-title-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 100%);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.story-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.story-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-sans);
}

.story-title-card:hover .story-name {
    color: var(--primary-color);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-cta .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.hero-cta .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.hero-cta .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-disclosure {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.disclosure-text {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.disclosure-text .icon {
    font-size: 1rem;
}

.disclosure-text a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Visual - App Carousel */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

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

/* ===== AUDIO GUIDES SECTION ===== */
.audio-guides-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.guide-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
}

.guide-card:target {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(107, 76, 230, 0.2);
    animation: highlightGuide 1s ease;
}

@keyframes highlightGuide {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.guide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-family: var(--font-serif);
}

.guide-description {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex: 1;
}

.guide-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.audio-player-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-light);
}

.audio-player-container iframe {
    display: block;
    width: 100%;
    height: 120px;
    border: none;
}

.btn-buy {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.buy-button-container {
    padding: 0 5px 0 0;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    text-align: center;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-what {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
}

.feature-why {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.feature-example {
    margin-top: var(--spacing-md);
}

/* Mini UI Components in Features */
.mini-ui {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

.tabs-preview {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.tabs-preview .tab {
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
}

.tabs-preview .tab.active {
    background: var(--primary-color);
    color: white;
}

.search-preview input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
}

.immerse-preview {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

.location-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

.immerse-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.mini-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.recommendation-card-preview {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    position: relative;
}

.sponsored-badge {
    display: inline-block;
    background: var(--sponsored-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.rec-text {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Price Comparison */
.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.price-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.price-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-sm);
}

.price-label {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.price-vs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-text-comparison {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-sans);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    animation: priceHighlight 2s ease-in-out infinite;
}

@keyframes priceHighlight {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.vs-text {
    font-size: 1.5rem;
    color: var(--text-medium);
    font-weight: 600;
    margin: 0 var(--spacing-xs);
}

.our-price .price-label {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #F5F3FF 100%);
}

.reviews-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-container {
    position: relative;
    min-height: 400px;
}

.review-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    display: none;
}

.review-card.active {
    opacity: 1;
    display: block;
    position: relative;
}

.review-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    text-align: center;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.review-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-age {
    font-size: 1rem;
    color: var(--text-light);
}

.reviews-dots {
    margin-top: var(--spacing-md);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 1.5rem;
}

.hidden {
    display: none !important;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-disclosures {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.disclosure {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.disclosure a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-visual {
        height: 400px;
    }

    .app-carousel {
        max-width: 300px;
        height: 500px;
    }

    .carousel-btn.prev {
        left: -15px;
    }

    .carousel-btn.next {
        right: -15px;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-carousel {
        padding: 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .nav-links a:not(:last-child) {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta button {
        width: 100%;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .story-titles {
        gap: var(--spacing-xs);
    }

    .story-title-card {
        padding: var(--spacing-sm);
    }

    .story-icon {
        font-size: 1.5rem;
    }

    .story-name {
        font-size: 1rem;
    }

    .app-carousel {
        max-width: 280px;
        height: 450px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .price-comparison {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .price-text-comparison {
        font-size: 2rem;
        margin: var(--spacing-sm) 0;
    }

    .vs-text {
        display: block;
        margin: var(--spacing-xs) 0;
    }

    .reviews-carousel {
        padding: 0 20px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-download {
        width: 100%;
    }
}
