/* Atomic Habits landing page specific styles */

.atomic-habits-page .container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.atomic-habits-page .container::-webkit-scrollbar {
    display: none;
}

.atomic-habits-page {
    background: linear-gradient(to bottom, #EBEDFF 0%, #EBEDFF 10%, #ffffff 70%);
    min-height: 100vh;
}

.atomic-habits-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    background-image: url('image/radial_image_login_top_left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.atomic-habits-page::after {
    content: '';
    position: fixed;
    top: -20px;
    right: 0;
    width: 240px;
    height: 240px;
    background-image: url('image/radial_image_login_top_right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* Header - reuse demo page header styles */
header {
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at top left, #C5E67380 0%, transparent 20%),
        radial-gradient(circle at top right, #D4B9FB80 0%, transparent 50%);
    padding: 1rem 1rem;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    margin-top: 4px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #3C4BFB;
}

.get-started-btn {
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(60, 75, 251, 0.3);
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 75, 251, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 2rem 0 3rem;
}

.hero-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-cover {
    flex-shrink: 0;
    position: relative;
}

.hero-cover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, #C5E67380 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
}

.hero-cover-img {
    width: 200px;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.15);
}

.hero-info {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-author {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.meta-item svg {
    color: #3C4BFB;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(60, 75, 251, 0.35);
    font-family: inherit;
}

.listen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 75, 251, 0.45);
}

.listen-btn:active {
    transform: translateY(0);
}

/* Inline Audio Player */
.inline-player-section {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.inline-player {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.inline-player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.inline-player-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.inline-player-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.inline-player-subtitle {
    font-size: 0.85rem;
    color: #888;
}

.inline-player-controls {
    width: 100%;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.seek-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 1rem;
    cursor: pointer;
}

.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(60, 75, 251, 0.4);
    margin-top: -5px;
}

.seek-bar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(60, 75, 251, 0.4);
}

.seek-bar::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right,
        #3C4BFB 0%,
        #3C4BFB var(--seek-before-width, 0%),
        #e0e0e0 var(--seek-before-width, 0%),
        #e0e0e0 var(--seek-limit-width, 100%),
        #ffcccb var(--seek-limit-width, 100%),
        #ffcccb 100%);
}

.seek-bar::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
}

.seek-bar::-moz-range-progress {
    height: 6px;
    border-radius: 3px;
    background: #3C4BFB;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: #3C4BFB;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s, background-color 0.2s;
}

.control-btn:hover {
    background-color: rgba(60, 75, 251, 0.1);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.rewind-btn,
.forward-btn {
    color: #444;
}

.skip-text {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.play-pause-btn {
    background: none;
    color: #3C4BFB;
    width: 48px;
    height: 48px;
}

.play-pause-btn svg {
    filter: drop-shadow(0 2px 4px rgba(60, 75, 251, 0.3));
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* What You'll Learn Grid */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.learn-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.learn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.learn-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.learn-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.learn-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Key Concepts */
.concepts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.concept-card {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
    align-items: flex-start;
}

.concept-card:hover {
    transform: translateX(4px);
}

.concept-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3C4BFB;
    opacity: 0.6;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    line-height: 1.3;
}

.concept-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}

.concept-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Who Is This For */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #3C4BFB;
    transition: transform 0.2s;
}

.audience-card:hover {
    transform: translateY(-2px);
}

.audience-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at top left, #C5E67380 0%, transparent 40%),
        radial-gradient(circle at bottom right, #D4B9FB80 0%, transparent 50%);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-listen-btn {
    margin: 0 auto;
}

/* Footer - reuse demo page styles */
.app-footer {
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at top left, #3C4BFB4D 0%, transparent 30%),
        radial-gradient(circle at top right, #C5E67380 0%, transparent 50%),
        radial-gradient(circle at bottom left, #D4B9FB80 0%, transparent 50%);
    color: #333;
    padding: 1rem 1rem;
    text-align: center;
    margin-top: 2rem;
    border-radius: 16px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.app-store-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-link {
    display: inline-block;
    transition: transform 0.2s;
}

.store-link:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 50px;
    width: auto;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-cover-img {
        width: 160px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-meta {
        justify-content: center;
    }

    .listen-btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .concept-card {
        padding: 1.25rem;
    }

    .header-content {
        gap: 0.75rem;
    }

    .get-started-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .header-logo {
        width: 48px;
        height: 48px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    header {
        padding: 1.25rem 1rem;
    }

    .header-logo {
        width: 72px;
        height: 72px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .footer-text {
        font-size: 1.4rem;
    }

    .store-badge {
        height: 60px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-cover-img {
        width: 240px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}
