* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #fafafa;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e0e0e0;
    --accent: #000000;
    --accent-hover: #333333;
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark Mode */
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-tertiary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #808080;
    --border-color: #1a1a1a;
    --accent: #ffffff;
    --accent-hover: #e0e0e0;
    --shadow: rgba(255, 255, 255, 0.05);
    --shadow-hover: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 12px;
    /* overflow: hidden; */
    /* Remove overflow hidden to show outline focus if needed and prevent clipping text */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 35px;
    width: auto;
    transition: opacity 0.3s ease;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 500;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text-primary);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 120px 0 100px;
    text-align: center;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 50;
    /* keep hero overlays above following sticky sections */
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
    align-items: center;
    position: relative;
    z-index: 10;
}

.install-dropdown {
    position: relative;
    z-index: 2000;
    /* ensure dropdown sits above lower sections */
}

.install-dropdown {
    position: relative;
    display: inline-block;
}

.btn {
    padding: 14px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    letter-spacing: -0.01em;
    border: 1px solid var(--text-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 28px;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-with-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Store Badge Styles */
.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align content */
    padding: 8px 22px;
    width: 210px;
    /* Fixed width for equality */
    height: 60px;
    /* Fixed height for equality */
    border-radius: 12px;
    /* Slightly more rounded than standard pill */
    gap: 12px;
}

.btn-store svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-subtitle {
    font-size: 10px;
    font-weight: 300;
    opacity: 0.9;
}

.store-title {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* Install Dropdown */
.install-dropdown {
    position: relative;
    z-index: 1001;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    min-width: 280px;
    box-shadow: 0 10px 40px var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow: hidden;
}

.install-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-primary);
}

.dropdown-icon svg {
    width: 24px;
    height: 24px;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.dropdown-title {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.dropdown-subtitle {
    font-weight: 300;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

/* Categories Scroll */
.categories-section {
    padding: 60px 0;
    background: var(--bg-primary);
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    border-radius: 0;
    z-index: 1;
}

.categories-wrapper {
    overflow: hidden;
    width: 100%;
}

.categories-scroll {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.category-item {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-tertiary);
    white-space: nowrap;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.category-item:hover {
    color: var(--text-secondary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* App Preview */
.app-preview {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-primary);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 60px;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--text-secondary);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

/* Audio Preview (Wiser Style) */
.audio-preview {
    padding: 120px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
    border-radius: 32px;
    margin: 60px 24px;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 20px;
    /* Space for shadows */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-track:active {
    cursor: grabbing;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    user-select: none;
}

.category-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
    border-color: var(--text-secondary);
}

.category-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.category-btn.active svg {
    fill: var(--bg-primary);
    opacity: 1;
}

.carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.carousel-nav:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Updated Audio Player Card */
.audio-player-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    .audio-player-card {
        flex-direction: row;
        height: 400px;
        /* Fixed height for consistency */
    }
}

.player-left {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.player-cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: blur(20px);
    z-index: 0;
    transition: opacity 0.5s ease;
}

.player-controls-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .player-controls-wrapper {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.player-right {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.player-category-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 15px;
    font-weight: 500;
}

.player-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.player-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.player-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.player-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-val {
    font-weight: 500;
    color: var(--text-primary);
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Updated Player Controls */
.player-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.play-btn {
    width: 56px;
    height: 56px;
    /* ... rest of existing styles ... */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 10px;
    }

    .carousel-nav {
        display: none;
        /* Hide nav buttons on mobile, allow swipe */
    }

    .carousel-track {
        padding: 10px;
    }

    .audio-player-card {
        flex-direction: column;
        height: auto;
    }

    .player-left {
        padding: 30px;
        min-height: 250px;
    }

    .player-right {
        padding: 30px;
    }
}


/* Main Features */
.main-features {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
}

.tagline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-primary);
    margin: 30px 0 80px;
    letter-spacing: -0.02em;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.showcase-item {
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover {
    border-color: var(--text-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.showcase-badge {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.showcase-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.showcase-item p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.7;
}

.rating {
    font-weight: 400;
    color: var(--text-primary);
    margin: 15px 0;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.sub-text {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* Screenshots */
.screenshots-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
    border-radius: 32px;
    margin: 60px 24px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.screenshot-wrapper {
    width: 100%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: block;
}

.screenshot:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--text-secondary);
    box-shadow: 0 20px 60px var(--shadow-hover);
}

/* Curated Collections (Wiser Style) */
.collections-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.collections-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.collection-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-primary);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--text-secondary);
}

.collection-image-container {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    position: relative;
    overflow: hidden;
}

.collection-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover .collection-image-container img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.collection-card:hover .collection-overlay {
    opacity: 0.8;
}

.collection-content {
    padding: 24px;
    position: relative;
}

.collection-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.collection-count {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 80px;
    text-align: left;
    /* Keep testimonials themselves left-aligned if preferred, but usually cards look better left aligned even if section title is center. The prompt said 'make all ... align center' but referring to the titles. Usually grid items content should be left aligned for readability. Let's see. */
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--text-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.testimonial-name {
    font-weight: 400;
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: -0.01em;
}

.testimonial-handle {
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 300;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* Mission */
.mission {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 32px;
    margin: 60px 24px;
}

.mission-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.3;
}

/* CTA Loop Section */
.cta-loop-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background: var(--bg-primary);
    text-align: center;
}

.loop-container {
    position: relative;
    width: 100%;
    /* height: 1600px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loop-center-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 0 20px;
}

.loop-center-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.rotating-ring {
    position: absolute;
    width: 1600px;
    height: 1600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinRing 60s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes spinRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.loop-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 180px;
    margin-left: -60px;
    /* Half width */
    margin-top: -90px;
    /* Half height */
    /* Position on circle radius 450px */
}

.loop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: rotate(180deg);
    /* Adjust based on image orientation if needed */
}

/* Positioning 12 items */
.loop-item:nth-child(1) {
    transform: rotate(0deg) translateY(-450px);
}

.loop-item:nth-child(2) {
    transform: rotate(30deg) translateY(-450px);
}

.loop-item:nth-child(3) {
    transform: rotate(60deg) translateY(-450px);
}

.loop-item:nth-child(4) {
    transform: rotate(90deg) translateY(-450px);
}

.loop-item:nth-child(5) {
    transform: rotate(120deg) translateY(-450px);
}

.loop-item:nth-child(6) {
    transform: rotate(150deg) translateY(-450px);
}

.loop-item:nth-child(7) {
    transform: rotate(180deg) translateY(-450px);
}

.loop-item:nth-child(8) {
    transform: rotate(210deg) translateY(-450px);
}

.loop-item:nth-child(9) {
    transform: rotate(240deg) translateY(-450px);
}

.loop-item:nth-child(10) {
    transform: rotate(270deg) translateY(-450px);
}

.loop-item:nth-child(11) {
    transform: rotate(300deg) translateY(-450px);
}

.loop-item:nth-child(12) {
    transform: rotate(330deg) translateY(-450px);
}

/* Stats */
.stats {
    padding: 120px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.stat-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
    transition: background-color 0.3s ease;
    border-radius: 32px;
    margin: 60px 24px;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.cta-subtext {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 50px;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.about-content h3 {
    font-size: 1.8rem;
    margin: 50px 0 25px;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.features-list li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 300;
}

/* Subscription Info */
.subscription-info {
    padding: 100px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
    border-radius: 32px;
    margin: 60px 24px;
}

.subscription-info .container {
    max-width: 750px;
}

.subscription-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.subscription-info p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.subscription-info ul {
    list-style: none;
    padding-left: 0;
}

.subscription-info ul li {
    padding: 18px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.subscription-info ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 300;
    font-size: 1.2rem;
}

/* Footer (Wiser Style) */
.wiser-footer {
    background: #000000;
    color: #ffffff;
    padding: 100px 0 0;
    margin-top: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.wiser-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.footer-tagline h5 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-tagline p {
    color: #999;
    font-size: 1rem;
    max-width: 300px;
    font-weight: 300;
}

.btn-white {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-white:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
    display: none;
    /* Wiser doesn't seem to have a visible divider line */
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    position: relative;
    z-index: 10;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-column a {
    color: #999;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: #ffffff;
}

.footer-contact-column {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    color: #999;
    font-size: 14px;
    font-weight: 300;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    display: inline-block;
    align-self: flex-end;
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-color: #ffffff;
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding-bottom: 30px;
}

.big-lucid-logo {
    font-size: 25vw;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, #666 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    /* Subtle look */
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    /* Optional: mask to fade out the top */
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 80%);
}

.footer-copyright {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding: 20px 0 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-main {
        flex-direction: column;
        gap: 60px;
    }

    .footer-contact-column {
        text-align: left;
        align-items: flex-start;
    }

    .contact-link {
        align-self: flex-start;
    }

    .big-lucid-logo {
        font-size: 28vw;
        margin-bottom: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .install-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        left: 0;
        right: 0;
        transform: translateY(-10px);
        min-width: auto;
        width: 100%;
    }

    .install-dropdown.active .dropdown-menu {
        transform: translateY(0);
    }

    .features-grid,
    .features-showcase,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .audio-player-card {
        padding: 35px 25px;
    }

    .app-preview,
    .audio-preview,
    .main-features,
    .testimonials,
    .stats,
    .cta-section,
    .about-section,
    .subscription-info {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .categories-scroll {
        gap: 30px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Selection */
::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

[data-theme="dark"] ::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Parallax elements */
.parallax-element {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Stagger animation items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.staggered {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced scroll animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image placeholder styles */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

[data-theme="dark"] .image-placeholder::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* Stats counter animation */
.stat-number {
    transition: opacity 0.3s ease;
}

.stat-item.counted .stat-number {
    opacity: 1;
}

/* Enhanced hover effects for cards */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-hover);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from different directions */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Rotate and fade animation */
.rotate-fade-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.rotate-fade-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Legal Pages */
.legal-section {
    padding: 120px 0;
    background: var(--bg-primary);
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legal-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.legal-content .effective-date {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 50px 0 25px;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 35px 0 15px;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.legal-content h4 {
    font-size: 1.1rem;
    margin: 25px 0 12px;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.legal-subcontent {
    margin-left: 10px;
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    margin-bottom: 35px;
    background: var(--bg-secondary);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 0 12px 12px 0;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.legal-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.legal-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

.legal-content a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--text-secondary);
}