:root {
    --primary: #6C4DFF;
    --primary-hover: #5b3ce6;
    --primary-light: #f0edff;
    --bg-color: #f8f9fc;
    --text-main: #1C1E21;
    --text-muted: #64748b;
    --green-success: #10B981;
    --red-promo: #EF4444;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography Utilities */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* SECTION 1: Analysis Result */
.analysis-result {
    margin-bottom: 40px;
}

.result-card {
    background-color: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--green-success);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-card h2 {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-card p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-main);
}

.result-card ul {
    list-style: none;
}

.result-card li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.check-icon {
    color: var(--green-success);
    font-weight: bold;
}

/* SECTION 2: Material Examples */
.material-examples {
    margin-bottom: 48px;
    text-align: center;
}

.main-image {
    max-width: 280px;
    margin: 0 auto 32px auto;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.gallery::-webkit-scrollbar {
    height: 6px;
}

.gallery::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 10px;
}

.gallery-img {
    height: 220px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    background: #fff;
    padding: 2px;
}

@media (min-width: 768px) {
    .gallery {
        justify-content: center;
        overflow-x: hidden;
    }

    .gallery-img {
        height: auto;
        width: calc((100% - 60px) / 6);
    }
}

/* SECTION 3: Access Released */
.access-released {
    text-align: center;
    margin-bottom: 48px;
}

.main-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}

.promo-text {
    color: var(--red-promo);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.stars {
    color: #F59E0B;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.users-count {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* SECTION 4: Plans */
.plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .plans {
        grid-template-columns: 1fr 1fr;
        align-items: end;
        gap: 24px;
    }
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    height: 100%;
}



.complete-plan {
    border: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(108, 77, 255, 0.15);
    background-color: #fcfbff;
}

@media (min-width: 768px) {
    .complete-plan {
        transform: scale(1.05);
        /* Make the complete plan slightly bigger on desktop */
        z-index: 10;
    }
}

.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(108, 77, 255, 0.3);
}

.plan-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    line-height: 1;
    margin-bottom: 4px;
}

.complete-plan .plan-price {
    font-size: 2.8rem;
    color: var(--primary);
}

.plan-subtext {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.included {
    color: var(--text-main);
}

.not-included {
    color: #a0aec0;
    text-decoration: line-through;
}

.fw-bold {
    font-weight: 700;
    color: var(--primary);
}

.spacer {
    height: 12px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background-color: #e6fffa;
    color: var(--green-success);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 9999px;
}

.text-purple {
    color: var(--primary);
}

.text-green {
    color: var(--green-success);
}

.highlighted-benefits {
    background: var(--primary-light);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.plain-bg {
    background: transparent;
    padding: 0;
}

.highlighted-benefits p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.highlighted-benefits p:last-child {
    margin-bottom: 0;
}

.final-text {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-purple {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(108, 77, 255, 0.4);
}

.btn-purple:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 77, 255, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 77, 255, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(108, 77, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 77, 255, 0);
    }
}

.pulse-animation {
    animation: pulse 2.5s infinite;
}

.btn-subtext {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* SECTION 5: Security */
.security {
    text-align: center;
    margin-bottom: 48px;
    background: #e0f2fe;
    padding: 16px;
    border-radius: var(--border-radius);
    color: #0369a1;
}

.security strong {
    font-size: 1.1rem;
    color: #075985;
}

.plain-security {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.lock-icon {
    font-size: 0.9rem;
    vertical-align: middle;
}

.instagram-btn-container {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.instagram-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.instagram-btn:hover {
    background: #f8fafc;
}

/* SECTION 6: FAQ */
.faq {
    margin-bottom: 48px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: #f8fafc;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
}

.accordion-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* SECTION 7: Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}