:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --accent-gold: #FFD700;
    --accent-blue: #4da6ff;
    --accent-red: #ff4d4d;
    --card-bg: rgba(20, 20, 40, 0.6);
    --card-border-blue: rgba(77, 166, 255, 0.5);
    --card-border-red: rgba(255, 77, 77, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Nebula Effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 30%, rgba(20, 0, 80, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(0, 100, 200, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(100, 0, 200, 0.2) 0%, transparent 50%);
    background-size: cover;
    /* Adding a subtle noise or texture could enhance this, but gradients work for now */
}

/* Add a pseudo-element for the swirl effect if possible, or keep it simple with gradients */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: url('base.jpg') no-repeat center center/cover;
    opacity: 0.15;
    /* Hint of the original image if available, else just rely on CSS */
    z-index: -2;
    filter: blur(5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    animation: fadeIn Down 1s ease-out;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff, #ffeebb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle strong {
    color: #fff;
    font-weight: 700;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-intro {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.feature-card ul {
    list-style: none;
    padding-left: 0.5rem;
}

.feature-card li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.2rem;
}

.feature-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

.nested-list {
    margin-top: 0.5rem;
    padding-left: 1rem !important;
}

.nested-list li {
    font-size: 0.9em;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

/* Specific Card Styles */
.core-features {
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.15);
}

.core-features .card-header h2 {
    color: #aaddff;
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.4);
}

.new-features {
    border-top: 4px solid var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.15);
}

.new-features .card-header h2 {
    color: #ffaaaa;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
}

.bottom-note {
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: right;
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem;
    opacity: 0.8;
}

.apple-logo {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
/* Responsive adjustments */
@media (max-width: 600px) {
    .main-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Video Demos Section */
.demos-section {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-store-badge img {
    display: block;
    height: 48px;
    width: auto;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.8rem;
    opacity: 0.5;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.review-body {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    flex-grow: 1;
    margin-bottom: 1rem;
    font-style: italic;
    color: #e0e0e0;
}

.review-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-blue);
}

.version-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    opacity: 0.6;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.price-highlight {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1em;
}

.price-strike {
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 0.2rem;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    color: var(--accent-gold);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.promo-banner.ended {
    background: #111;
    color: #888;
}

@media (max-width: 600px) {
    .banner-content {
        gap: 0.5rem;
        flex-direction: column;
    }
}
