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

:root {
    --bg-color: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-dark: #ffffff;
    --text-gray: #9ca3af;
    --text-light: #6b7280;
    --border-color: #2a2a3a;
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    --btn-purple: #8b5cf6;
    --btn-purple-hover: #7c3aed;
    --max-width: 1400px;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    padding-top: var(--nav-height);
    padding-bottom: 150px;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.15);
}
.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7b7cff;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 6px 18px rgba(224, 160, 68, 0.24);
}

.nav-logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
}
.nav-links a {
    color: var(--text-gray);
    position: relative;
}
.nav-links a:hover {
    color: var(--text-dark);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.bubble-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bubble-in.visible {
    opacity: 1;
    transform: scale(1);
}

.hero-section {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    color: var(--text-gray);
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-visual img {
    width: 100%;
    max-width: 580px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.download-btn-main {
    display: inline-block;
    width: 180px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.download-btn-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.download-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.stats-bar {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-value {
    font-size: 36px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.features-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-item {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}
.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-item p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
}
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.feature-tag {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-purple);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
}

.success-stories {
    padding: 80px 0;
    margin: 40px 0;
    background: var(--bg-secondary);
}
.stories-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-dark);
}
.stories-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.stories-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}
.story-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.story-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-purple);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}
.story-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.story-img {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.story-link:hover .story-img img {
    transform: scale(1.08);
}
.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent-red);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}
.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}
.story-info {
    padding: 20px;
}
.story-quote {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}
.story-channel {
    font-size: 13px;
    color: var(--text-light);
}

.detail-section {
    padding: 80px 0;
}
.detail-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.detail-intro {
    color: var(--text-gray);
    margin-bottom: 56px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}
.detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.detail-list {
    display: grid;
    gap: 24px;
}
.detail-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}
.detail-item:hover {
    border-color: var(--primary-purple);
}
.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}
.detail-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.detail-text p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}
.detail-screenshot {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    overflow: hidden;
    max-height: 460px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}
.detail-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-section {
    padding: 100px 0;
    margin: 40px 0;
    background: linear-gradient(135deg, #1a1a24 0%, #16213e 50%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
}
.download-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}
.download-wrap {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.download-content {
    padding-left: 20px;
}
.download-content h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.download-desc {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.store-btn {
    display: inline-block;
    width: 180px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.store-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}
.download-visual {
    display: flex;
    justify-content: center;
}
.download-visual img {
    max-width: 100%;
    height: 340px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.download-version {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.help-section {
    padding: 60px 0;
    text-align: center;
}
.help-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.help-desc {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.8;
}
.help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    font-size: 15px;
}
.help-links a {
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.2s ease;
}
.help-links a:hover {
    color: var(--primary-purple);
}

.social-section {
    padding: 30px 0 50px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 40px 0;
}
.social-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 28px;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.social-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    transition: all 0.2s ease;
}
.social-icon-item:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
}
.social-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icon-item:hover .social-icon {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}
.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-gray);
}
.social-icon-item:hover .social-icon svg {
    fill: white;
}
.social-name {
    font-size: 14px;
    font-weight: 500;
}

.footer {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-secondary);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
}
.footer-links a {
    color: var(--text-light);
    font-size: 13px;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--primary-purple);
}

.fixed-download-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 0 24px env(safe-area-inset-bottom);
    pointer-events: none;
}

.fixed-download-inner {
    width: min(750px, 100%);
    min-height: 132px;
    margin: 0 auto;
    padding: 20px 36px;
    background: linear-gradient(180deg, rgba(40, 44, 60, 0.98) 0%, rgba(34, 37, 51, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    pointer-events: auto;
}

.fixed-app-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fixed-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.fixed-app-copy {
    min-width: 0;
}

.fixed-app-title {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #ffe28c;
    white-space: nowrap;
}

.fixed-app-subtitle {
    margin-top: 4px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.fixed-download-btn {
    min-width: 166px;
    height: 60px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(90deg, #fee79b 0%, #e0a044 100%);
    color: #000000;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(224, 160, 68, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fixed-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(224, 160, 68, 0.36);
}

.fixed-phone-icon {
    position: relative;
    width: 13px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 3px;
    flex: 0 0 auto;
}

.fixed-phone-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1100px) {
    .stories-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-container,
    .detail-wrap,
    .download-wrap,
    .stories-cards {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
    }
    .hero-visual img {
        max-width: 420px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content h1 {
        font-size: 44px;
    }
    .stats-bar {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .download-visual {
        order: -1;
    }
    .download-visual img {
        height: 280px;
    }
    .download-content {
        padding-left: 0;
        text-align: center;
    }
    .download-content h2 {
        font-size: 32px;
    }
    .download-buttons {
        justify-content: center;
    }
    .fixed-download-inner {
        min-height: 112px;
        padding: 18px 24px;
    }
    .fixed-app-icon {
        width: 76px;
        height: 76px;
        border-radius: 20px;
    }
    .fixed-app-title {
        font-size: 24px;
    }
    .fixed-app-subtitle {
        font-size: 19px;
    }
    .fixed-download-btn {
        min-width: 144px;
        height: 54px;
        padding: 0 22px;
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    :root {
        --nav-height: 60px;
    }
    .nav-logo {
        font-size: 24px;
    }
    .nav-links {
        gap: 16px;
        font-size: 13px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .features-grid {
        padding: 50px 0;
        gap: 24px;
    }
    .stories-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .story-img {
        height: 160px;
    }
    .detail-section h2 {
        font-size: 32px;
    }
    .download-content h2 {
        font-size: 28px;
    }
    .social-icons {
        gap: 20px;
    }
    .social-icon {
        width: 48px;
        height: 48px;
    }
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    body {
        padding-bottom: 112px;
    }
    .fixed-download-bar {
        padding: 0 10px env(safe-area-inset-bottom);
    }
    .fixed-download-inner {
        min-height: 92px;
        padding: 14px 14px;
        gap: 12px;
    }
    .fixed-app-info {
        gap: 10px;
    }
    .fixed-app-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
    .fixed-app-title {
        font-size: 18px;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .fixed-app-subtitle {
        font-size: 14px;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .fixed-download-btn {
        min-width: 112px;
        height: 48px;
        padding: 0 14px;
        font-size: 16px;
        gap: 7px;
    }
    .fixed-phone-icon {
        width: 11px;
        height: 19px;
        border-width: 2px;
    }
}
