/**
 * Subscription Landing Page - Minimal Design
 * Clean, modern, with subtle shadows and spacing
 */

/* ============================================================
   Variables & Reset
   ============================================================ */
:root {
    --color-primary: #fe0078;
    --color-primary-dark: #fe0078;
    --color-secondary: #64748b;
    --color-success: #10b981;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 16px;
    --spacing: 1.5rem;
}

.myshop-subscription-page {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

/* ============================================================
   Icons
   ============================================================ */
.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* ============================================================
   Typography
   ============================================================ */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    font-weight: 400;
}

/* ============================================================
   Hero Section
   ============================================================ */
.subscription-hero {
    background: var(--color-bg-light);
    padding: clamp(3rem, 8vw, 6rem) var(--spacing);
    margin-bottom: 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--color-primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

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

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature .icon {
    color: var(--color-primary);
}

.feature-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

.hero-gift {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto 4rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
}

.gift-icon {
    flex-shrink: 0;
}

.gift-icon .icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.gift-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.gift-content p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
}

.hero-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category {
    background: var(--color-bg);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category .icon {
    color: var(--color-primary);
}

.category-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9375rem;
}

/* ============================================================
   Plans Section
   ============================================================ */
.subscription-plans {
    padding: 4rem var(--spacing);
    max-width: 1400px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.plan-card.popular {
    border-color: var(--color-primary);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.plan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: calc(var(--radius) - 8px);
    margin-bottom: 1.5rem;
    background: var(--color-bg-light);
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-left: 0.25rem;
    font-weight: 600;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.price-free {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-success);
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-bg-light);
}

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

.feature-item .icon {
    color: var(--color-success);
}

.feature-item span {
    color: var(--color-text);
    font-size: 0.9375rem;
}

.plan-description {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--color-bg-light);
    border-radius: calc(var(--radius) - 8px);
    line-height: 1.6;
}

.btn-subscribe {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: auto;
    font-weight: 600;
}

/* ============================================================
   Comparison Table
   ============================================================ */
.subscription-comparison {
    padding: 6rem var(--spacing);
    background: var(--color-bg-light);
}

.comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th {
    background: var(--color-text);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.comparison-table tbody tr:hover {
    background: var(--color-bg-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
}

.comparison-table .check {
    color: var(--color-success);
    font-size: 1.5rem;
    font-weight: bold;
}

.comparison-table .price-cell {
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.125rem;
}

/* ============================================================
   Benefits Section
   ============================================================ */
.subscription-benefits {
    padding: 6rem var(--spacing);
    background: var(--color-bg);
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: calc(var(--radius) - 8px);
}

.benefit-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.benefit-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   Testimonials Section
   ============================================================ */
.subscription-testimonials {
    padding: 6rem var(--spacing);
    background: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.testimonial-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating .icon {
    width: 20px;
    height: 20px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.testimonial-author strong {
    display: block;
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --spacing: 1rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-gift {
        flex-direction: column;
        text-align: center;
    }

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

    .plan-card.popular {
        transform: scale(1);
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .testimonials-stats {
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

/* ============================================================
   Utilities
   ============================================================ */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}