/* Subscription Page Styles */

.subscribe-header {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-bottom: 2rem;
}

.subscribe-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.subscribe-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin: 0 0 1rem 0;
}

.current-tier-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-tier-badge i {
    margin-right: 0.5rem;
}

/* Info Tooltip */
.info-tooltip {
    margin-bottom: 2rem;
    border: none;
    text-align: center;
}

.info-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    padding: 0.5rem 1rem;
    background: rgba(139, 157, 131, 0.05);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    user-select: none;
}

.info-tooltip-trigger::-webkit-details-marker {
    display: none;
}

.info-tooltip-trigger i {
    color: #8b9d83;
    font-size: 1rem;
}

.info-tooltip-trigger:hover {
    background: rgba(139, 157, 131, 0.1);
    color: #556b2f;
}

.info-tooltip-trigger:hover i {
    color: #556b2f;
}

.info-tooltip[open] .info-tooltip-trigger {
    background: rgba(139, 157, 131, 0.15);
    color: #2d3748;
    margin-bottom: 1rem;
}

.info-tooltip-content {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.08) 0%, rgba(166, 124, 82, 0.08) 100%);
    border-radius: 0.5rem;
    border-left: 3px solid #8b9d83;
    animation: slideDown 0.3s ease;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.info-text:last-child {
    margin-bottom: 0;
}

.info-text strong {
    color: #2d3748;
    font-weight: 600;
}

/* Tiers Section */
.tiers-section {
    margin-bottom: 3rem;
}

.tiers-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin: 0 0 2rem 0;
}

/* Tier Cards */
.tier-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    position: relative;
    max-width: 100%; /* Full width on mobile */
    margin-left: auto;
    margin-right: auto;
}

/* Desktop: Wider cards */
@media (min-width: 1024px) {
    .tier-card {
        max-width: 690px; /* 690px wide on desktop */
    }
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tier-current {
    border-color: #8b9d83;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.3);
}

.tier-featured {
    border-color: #a67c52;
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.3);
}

.tier-featured:hover {
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.4);
}

/* Tier Badge (Most Popular) */
.tier-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, #d4a574 0%, #c49560 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(196, 149, 96, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tier Header Image */
.tier-header-image {
    width: 100%;
    aspect-ratio: 5 / 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}

.tier-header-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Tier Header */
.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tier-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tier-price {
    text-align: right;
}

.price-currency {
    font-size: 1.25rem;
    color: #ffffff;
    vertical-align: super;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.price-period {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Tier Body */
.tier-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tier-energy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(166, 124, 82, 0.1) 100%);
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.tier-energy i {
    color: #d4a574;
    font-size: 1.5rem;
}

/* Tier Features List */
.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tier-features i {
    color: #8b9d83;
    font-size: 1.1rem;
}

.tier-note {
    font-style: italic;
    color: #718096;
    font-size: 0.95rem;
    text-align: center;
}

/* Tier Buttons - Quick Actions Style */
.tier-button {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tier-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    pointer-events: none;
}

/* Horizontal swipe effect */
.tier-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    border-radius: 0.5rem;
    pointer-events: none;
    z-index: 1;
}

.tier-button:hover::before {
    left: 100%;
}

.tier-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tier-button:active {
    transform: translateY(0);
}

.tier-button-current {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.tier-button-current:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tier-button-current::before {
    display: none;
}

/* Institutional Pricing Section */
.institutional-section {
    margin: 3rem 0;
}

.institutional-card {
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(166, 124, 82, 0.1) 100%);
    border: 2px solid rgba(139, 157, 131, 0.2);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.institutional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b9d83 0%, #a67c52 100%);
}

.institutional-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.institutional-header i {
    font-size: 2rem;
    color: #8b9d83;
}

.institutional-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.institutional-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.institutional-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.institutional-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #4a5568;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    border-left: 3px solid #8b9d83;
}

.institutional-features i {
    color: #8b9d83;
    font-size: 1.1rem;
}

.institutional-cta {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 157, 131, 0.2);
}

.institutional-cta p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.institutional-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.institutional-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.institutional-btn i {
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin: 0 0 2rem 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
}

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

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b9d83;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1rem 0 0 0;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Auth CTA Section */
.auth-cta-section {
    margin: 3rem 0;
}

.auth-cta-card {
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.auth-cta-text {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}

.auth-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-cta-btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-cta-btn.btn-primary {
    background: white;
    color: #8b9d83;
    border: 2px solid white;
}

.auth-cta-btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-cta-btn.btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.auth-cta-btn.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Manage Subscription Section */
.manage-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(166, 124, 82, 0.1) 100%);
    border-radius: 1rem;
    margin: 3rem 0;
}

.manage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
}

.manage-text {
    font-size: 1rem;
    color: #4a5568;
    margin: 0 0 1.5rem 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .subscribe-title {
        font-size: 1.75rem;
    }

    .subscribe-subtitle {
        font-size: 1rem;
    }

    .info-tooltip-trigger {
        font-size: 0.9rem;
        padding: 0.5rem 0.875rem;
    }

    .info-tooltip-content {
        padding: 0.875rem 1.25rem;
    }

    .info-text {
        font-size: 0.9rem;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .tier-header-image {
        padding: 1rem;
    }

    .tier-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tier-name {
        font-size: 1.5rem;
    }

    .tier-price {
        text-align: left;
    }

    .price-amount {
        font-size: 2rem;
    }

    .tier-button {
        height: 70px;
        font-size: 1.2rem;
    }

    .auth-cta-card {
        padding: 2rem;
    }

    .auth-cta-title {
        font-size: 1.5rem;
    }

    .auth-cta-text {
        font-size: 1rem;
    }

    .auth-cta-buttons {
        flex-direction: column;
    }

    .auth-cta-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .institutional-card {
        padding: 2rem;
    }

    .institutional-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .institutional-header h3 {
        font-size: 1.5rem;
    }

    .institutional-features {
        grid-template-columns: 1fr;
    }

    .institutional-cta {
        padding: 1.25rem;
    }
}

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

    .current-tier-badge {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .info-tooltip-trigger {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .info-tooltip-content {
        padding: 0.75rem 1rem;
    }

    .info-text {
        font-size: 0.875rem;
    }

    .tier-card {
        padding: 1rem;
    }

    .tier-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
        right: 1rem;
    }

    .tier-header-image {
        padding: 0.75rem;
    }

    .tier-name {
        font-size: 1.25rem;
    }

    .tier-button {
        height: 60px;
        font-size: 1.1rem;
    }

    .faq-section {
        padding: 1.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .institutional-card {
        padding: 1.5rem;
    }

    .institutional-header h3 {
        font-size: 1.25rem;
    }

    .institutional-content p {
        font-size: 1rem;
    }

    .institutional-features li {
        font-size: 0.95rem;
        padding: 0.625rem;
    }

    .institutional-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}


