/* Chatify Webstore MVP (VIP only) */

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

:root {
    --bg-primary: #0f1923;
    --bg-secondary: #152232;
    --bg-card: #1a2d42;
    --bg-card-hover: #1f3650;
    --border-color: #2a4562;
    --text-primary: #e8edf2;
    --text-secondary: #8fa3b8;
    --text-muted: #5e7a94;
    --accent-primary: #3b82f6;
    --accent-primary-hover: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --accent-gradient-hover: linear-gradient(135deg, #2563eb, #7c3aed);
    --accent-vip: #f59e0b;
    --accent-success: #10b981;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-primary-hover);
}

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

.section {
    padding: 88px 0;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 44px;
    text-align: center;
}

.section-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    padding: 6px 16px;
}

.section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 680px;
}

.navbar {
    backdrop-filter: blur(18px);
    background: rgba(15, 25, 35, 0.75);
    border-bottom: 1px solid transparent;
    left: 0;
    padding: 14px 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(15, 25, 35, 0.95);
    border-bottom-color: var(--border-color);
    padding: 10px 0;
}

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

.nav-brand {
    align-items: center;
    color: var(--text-primary);
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: -0.02em;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
}

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

.nav-cta {
    background: var(--accent-primary);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 600;
    padding: 8px 18px;
}

.nav-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    background: var(--text-primary);
    border-radius: 2px;
    display: block;
    height: 2px;
    width: 24px;
}

.hero {
    min-height: 86vh;
    overflow: hidden;
    padding: 130px 0 76px;
    position: relative;
}

.hero-bg {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.glow {
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.16;
    position: absolute;
}

.glow.blue {
    background: #3b82f6;
    height: 460px;
    right: -140px;
    top: -120px;
    width: 460px;
}

.glow.violet {
    background: #8b5cf6;
    bottom: -180px;
    height: 420px;
    left: -120px;
    width: 420px;
}

.glow.gold {
    background: #f59e0b;
    height: 260px;
    left: 44%;
    top: 52%;
    width: 260px;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--accent-vip);
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 8px 18px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.gradient {
    -webkit-background-clip: text;
    background: var(--accent-gradient);
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin: 0 auto 26px;
    max-width: 760px;
}

.hero-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 38px;
}

.checkout-pill {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: 999px;
    color: #b8d4ff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 8px;
    margin-bottom: 34px;
    padding: 8px 14px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 46px;
}

.btn {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    line-height: 1.3;
    padding: 12px 26px;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 12px;
}

.packages-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    transition: all var(--transition);
}

.package-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-vip);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
    transform: translateY(-3px);
}

.package-tag {
    align-self: flex-start;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 999px;
    color: #ffd88f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    padding: 6px 10px;
    text-transform: uppercase;
}

.package-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.package-duration {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.package-price {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.package-note {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 22px;
}

.package-cta {
    margin-top: auto;
    width: 100%;
}

.benefits-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition);
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.benefit-card h3 {
    font-size: 1.04rem;
    margin-bottom: 6px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
}

.info-card h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.info-card p, .info-card li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-card ul {
    list-style: disc;
    margin-left: 20px;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.policy-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 12px;
}

.policy-link:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.notice-box {
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(16, 185, 129, 0.34);
    border-radius: var(--radius-md);
    color: #b8f7dc;
    padding: 14px 16px;
}

.notice-box p {
    font-size: 0.9rem;
}

.page-hero {
    padding: 128px 0 46px;
}

.page-hero p {
    color: var(--text-secondary);
    margin-top: 8px;
    max-width: 780px;
}

.legal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    padding: 24px;
}

.legal-box h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.legal-box p,
.legal-box li {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-box ul {
    list-style: disc;
    margin-left: 20px;
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 36px 0 24px;
}

.footer-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.footer-brand {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 560px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

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

.footer-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        gap: 20px;
        height: 100vh;
        justify-content: center;
        padding: 32px;
        position: fixed;
        right: -100%;
        top: 0;
        transition: right var(--transition);
        width: 280px;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding: 112px 0 62px;
    }

    .page-hero {
        padding: 108px 0 32px;
    }

    .container {
        padding: 0 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .package-card {
        padding: 20px;
    }

    .legal-box {
        padding: 20px;
    }
}
