@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --sub-green: #2D6A4F;
    --sub-green-dark: #1B4332;
    --sub-green-light: #52B788;
    --sub-green-pale: #D8F3DC;
    --sub-green-glass: rgba(45, 106, 79, 0.06);
    --sub-accent: #F59E0B;
    --sub-accent-dark: #D97706;
    --sub-white: #FFFFFF;
    --sub-bg: #F8FAF9;
    --sub-bg-warm: #FAFDF8;
    --sub-text: #1A1A2E;
    --sub-text-muted: #6B7280;
    --sub-border: #E5E7EB;
    --sub-border-light: #F3F4F6;
    --sub-radius: 20px;
    --sub-radius-sm: 12px;
    --sub-radius-pill: 100px;
    --sub-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --sub-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --sub-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --sub-shadow-green: 0 10px 30px rgba(45, 106, 79, 0.2);
    --sub-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--sub-text);
    background: var(--sub-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header-pill {
    margin-bottom: 60px;
    text-align: center;
}

.section-header-pill h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--sub-green-dark);
    margin-bottom: 0;
}

.section-header-pill p {
    color: var(--sub-text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
}

.pill-divider {
    height: 4px;
    width: 60px;
    background: var(--sub-green-light);
    border-radius: 50px;
    margin: 15px auto 0;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-sub {
    background: linear-gradient(135deg, #f2f9f2 0%, #e6f2e6 100%);
    position: relative;
    padding: 30px 0 30px;
    border-bottom: 1px solid #d8e6d8;
    display: flex;
    align-items: center;
}

.hero-sub::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(82, 183, 136, 0.1), transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-left {
    padding-right: 40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--sub-green-dark);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .text-highlight {
    color: var(--sub-green-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--sub-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.trust-badge {
    background: var(--sub-white);
    color: var(--sub-green-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--sub-shadow-sm);
    border: 1px solid var(--sub-border-light);
}

.trust-badge i {
    color: var(--sub-green-light);
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--sub-green);
    color: #fff !important;
    padding: 16px 32px;
    border-radius: var(--sub-radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--sub-transition);
    box-shadow: var(--sub-shadow-green);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--sub-green-dark);
    transform: translateY(-2px);
}

.btn-hero-outline {
    border: 2px solid var(--sub-green);
    color: var(--sub-green) !important;
    padding: 14px 30px;
    border-radius: var(--sub-radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--sub-transition);
}

.btn-hero-outline:hover {
    background: var(--sub-green-glass);
    transform: translateY(-2px);
}

.magazine-mockup-stack {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-container {
    position: relative;
    width: 280px;
    height: 380px;
}

.mockup-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--sub-shadow-lg);
    transition: var(--sub-transition);
}

.cover-1 {
    transform: translateX(-40px) rotate(-5deg) scale(0.9);
    z-index: 1;
    opacity: 0.8;
}

.cover-2 {
    transform: translateX(0) scale(1.05);
    z-index: 3;
}

.cover-3 {
    transform: translateX(40px) rotate(5deg) scale(0.9);
    z-index: 1;
    opacity: 0.8;
}

.mockup-container:hover .cover-1 {
    transform: translateX(-80px) rotate(-10deg) scale(0.9);
    opacity: 1;
}

.mockup-container:hover .cover-2 {
    transform: translateY(-10px) scale(1.08);
}

.mockup-container:hover .cover-3 {
    transform: translateX(80px) rotate(10deg) scale(0.9);
    opacity: 1;
}

.magazine-caption {
    text-align: center;
    margin-top: 24px;
    font-weight: 600;
    color: var(--sub-text-muted);
    font-size: 0.9rem;
}

/* =============================================
   BENEFITS STRIP
   ============================================= */
.benefits-strip-wrapper {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.benefits-strip {
    background: var(--sub-white);
    border-radius: var(--sub-radius);
    padding: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--sub-shadow-lg);
    border: 1px solid var(--sub-border-light);
}

.benefit-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-strip-item i {
    font-size: 1.5rem;
    color: var(--sub-green);
    background: var(--sub-green-glass);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.benefit-strip-item h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.benefit-strip-item p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--sub-text-muted);
}

.benefit-separator {
    width: 1px;
    height: 40px;
    background: var(--sub-border-light);
}

/* =============================================
   EDITIONS SHOWCASE
   ============================================= */
.magazine-showcase-section {
    padding: 30px;
    background: var(--sub-white);
}

.magazine-edition-card {
    border: 1px solid var(--sub-border-light);
    transition: var(--sub-transition);
}

.magazine-edition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sub-shadow-md);
    border-color: var(--sub-green-pale);
}

.edition-img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.edition-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--sub-transition);
}

.edition-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 106, 79, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--sub-transition);
}

.magazine-edition-card:hover .edition-overlay {
    opacity: 1;
}

.magazine-edition-card:hover .edition-cover {
    transform: scale(1.1);
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section-compact {
    padding: 30px 0;
    background: var(--sub-bg);
}

.compact-plan-card {
    background: var(--sub-white);
    border-radius: var(--sub-radius);
    padding: 32px;
    height: 100%;
    transition: var(--sub-transition);
    border: 1px solid var(--sub-border);
    position: relative;
    cursor: default;
}

.compact-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sub-shadow-lg);
    border-color: var(--sub-green);
}

.compact-plan-card.featured {
    border: 2px solid var(--sub-green);
}

.compact-plan-card.recommended {
    border: 2px solid var(--sub-accent);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: var(--sub-text-muted);
    margin-bottom: 24px;
}

.card-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.compact-delivery-tabs {
    display: flex;
    background: var(--sub-bg);
    padding: 4px;
    border-radius: 8px;
}

.delivery-btn {
    border: none;
    background: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--sub-transition);
}

.delivery-btn.active {
    background: var(--sub-white);
    color: var(--sub-green);
    box-shadow: var(--sub-shadow-sm);
}

.compact-price {
    display: flex;
    align-items: baseline;
    color: var(--sub-green-dark);
}

.compact-price .currency {
    font-size: 1.2rem;
    font-weight: 700;
}

.compact-price .amount {
    font-size: 2rem;
    font-weight: 900;
}

.compact-features-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compact-features-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.compact-features-list i {
    color: var(--sub-green);
}

.btn-compact-subscribe {
    width: 100%;
    padding: 14px;
    border-radius: var(--sub-radius-sm);
    border: none;
    background: var(--sub-green);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--sub-transition);
}

.btn-compact-subscribe:hover {
    background: var(--sub-green-dark);
}

.compact-plan-card.recommended .btn-compact-subscribe {
    background: var(--sub-accent);
}

.compact-plan-card.recommended .btn-compact-subscribe:hover {
    background: var(--sub-accent-dark);
}

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-grid-section {
    padding: 100px 0;
    background: var(--sub-white);
}

.benefit-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--sub-bg);
    border-radius: var(--sub-radius);
    height: 100%;
    transition: var(--sub-transition);
    border: 1px solid var(--sub-border-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: var(--sub-white);
    box-shadow: var(--sub-shadow-md);
    border-color: var(--sub-green-pale);
}

.benefit-card-icon {
    width: 60px;
    height: 60px;
    background: var(--sub-green);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin: 0 auto 20px;
    box-shadow: var(--sub-shadow-green);
}

.benefit-card h5 {
    font-weight: 800;
    color: var(--sub-green-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--sub-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   SOCIAL PROOF STRIP
   ============================================= */
.social-proof-strip {
    background: var(--sub-green-dark);
    padding: 80px 0;
    color: #fff;
}

.social-proof-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.sp-stat {
    text-align: center;
}

.sp-stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.sp-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.sp-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    padding: 30px 0;
    background: var(--sub-bg-warm);
}

.testimonial-card {
    background: var(--sub-white);
    padding: 40px;
    border-radius: var(--sub-radius);
    height: 100%;
    box-shadow: var(--sub-shadow-sm);
    border: 1px solid var(--sub-border-light);
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: var(--sub-accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--sub-text);
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--sub-green-pale);
    color: var(--sub-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
}

.testimonial-author-info h6 {
    margin: 0;
    font-weight: 700;
    color: var(--sub-text);
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--sub-text-muted);
}

/* =============================================
   SEO CONTENT
   ============================================= */
.seo-content-section {
    padding: 30px 0;
    background: var(--sub-white);
    border-bottom: 1px solid var(--sub-border-light);
}

.seo-content-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 30px;
}

.seo-content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--sub-text-muted);
    margin-bottom: 20px;
}

/* =============================================
   CHECKOUT FORM
   ============================================= */
.form-section {
    padding: 80px 0;
    background: var(--sub-white);
}

.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.form-group-section {
    margin-bottom: 40px;
}

.form-group-section h5 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--sub-green-dark);
    border-bottom: 2px solid var(--sub-green-pale);
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.input-label-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.input-label-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sub-text-muted);
    text-transform: uppercase;
}

.input-modern {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--sub-border);
    background: var(--sub-bg);
    transition: var(--sub-transition);
}

.input-modern:focus {
    border-color: var(--sub-green);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px var(--sub-green-glass);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.payment-option-card {
    border: 2px solid var(--sub-border-light);
    border-radius: 12px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--sub-transition);
    text-align: center;
}

.payment-option-card i {
    font-size: 1.5rem;
    color: var(--sub-text-muted);
}

.payment-option-card span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sub-text-muted);
}

input[name="payment_method"].payment-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

input[name="payment_method"]:checked+.payment-option-card {
    border-color: var(--sub-green);
    background: var(--sub-green-glass);
}

input[name="payment_method"]:checked+.payment-option-card i,
input[name="payment_method"]:checked+.payment-option-card span {
    color: var(--sub-green);
}

.payment-info-card {
    background: var(--sub-bg);
    border: 1px solid var(--sub-border);
    border-radius: 12px;
    padding: 20px;
}

.upi-qr-wrapper img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: var(--sub-shadow-sm);
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--sub-border);
}

.bank-detail-item .value {
    font-weight: 700;
}

.order-summary-card {
    background: var(--sub-white);
    border: 1px solid var(--sub-border);
    border-radius: var(--sub-radius);
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: var(--sub-shadow-md);
}

.summary-title {
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--sub-border-light);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--sub-green-pale);
    color: var(--sub-green-dark);
}

.secure-info {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--sub-text-muted);
}

/* =============================================
   MOBILE STICKY CTA
   ============================================= */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--sub-transition);
}

.mobile-sticky-cta.show {
    display: block;
    transform: translateY(0);
}

.btn-mobile-cta {
    background: var(--sub-green);
    color: #fff !important;
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-trust {
    text-align: center;
    font-size: 0.65rem;
    color: var(--sub-text-muted);
    margin-top: 8px;
}

@media (max-width: 991px) {
    .hero-sub {
        padding: 60px 0;
    }

    .hero-right {
        margin-top: 40px;
    }

    .benefits-strip {
        flex-direction: column;
        gap: 20px;
    }

    .benefit-separator {
        display: none;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-card {
        position: static;
        margin-top: 40px;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-divider {
        display: none;
    }

    .social-proof-inner {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .mockup-container {
        width: 220px;
        height: 300px;
    }
}