/* =========================================================
   WaterFall Labs - Subscriptions Page
   File: assets/css/subscriptions_page.css
   ========================================================= */

/* Reset / base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: white;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

/* Background */
.background img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Main page layout */
.home-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 4% 50px;
    text-align: center;
    color: white;
}

.home-logo {
    width: 355px;
    height: 140px;
    object-fit: contain;
    margin: 10px auto 12px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(159, 207, 255, 0.18));
}

.home-title {
    max-width: 920px;
    margin: 10px auto 0;
    padding-bottom: 20px;
    border-bottom: 2px solid white;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2em;
    line-height: 1.3;
    text-shadow: 2px 2px 2px black;
}

.home-description {
    width: min(1100px, 94%);
    margin: 36px auto 42px;
    color: #ffffffcc;
    font-size: 1.28em;
    line-height: 1.7;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 14, 20, 0.88) 100%);
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Tier card layout */
.home-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 22px;
    width: min(1320px, 100%);
    margin: 0 auto 34px;
}

.home-card {
    flex: 1 1 320px;
    max-width: 400px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 14, 20, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.home-card:hover {
    background:
        linear-gradient(180deg, rgba(7, 14, 22, 0.94) 0%, rgba(14, 22, 32, 0.92) 100%);
    transform: translateY(-6px);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.26),
        0 0 20px rgba(159, 207, 255, 0.18);
}

.home-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    line-height: 1.3;
    color: rgba(159, 207, 255, 0.92);
    margin-bottom: 12px;
}

.home-card p {
    color: #ffffffd2;
    font-size: 1rem;
    line-height: 1.6;
}

/* Tier list */
.tier-features {
    list-style: none;
    margin: 18px 0 16px;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tier-features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0;
    font-size: 0.95em;
    color: #ffffff;
    line-height: 1.5;
}

.tier-features li.tier-yes::before {
    content: "✔";
    color: #00d4ff;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 0;
}

.tier-features li.tier-no::before {
    content: "✘";
    color: #ff4d4d;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 0;
}

/* Buttons / actions */
.process-button,
.subscribe-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif;
    background-color: #2ecc71;
    font-weight: bold;
    color: black;
    border: 2px solid #1e8449;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(46, 204, 113, 0.18);
}

.process-button:hover,
.subscribe-button:hover {
    background-color: #27ae60;
    text-shadow: -2px 2px 5px white;
    box-shadow: 0 10px 18px rgba(46, 204, 113, 0.22);
}

.process-button:active,
.subscribe-button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
}

/* Match the inline button links used in PHP */
.home-card > .process-button {
    width: 200px;
    margin: 20px auto 0;
    text-align: center;
}

/* PayPal wrappers */
.paypal-wrapper {
    margin: 20px auto 0;
    width: 220px;
    text-align: center;
}

#paypal-button-container-standard,
#paypal-button-container-pro {
    width: 100%;
    max-width: 320px;
    margin: 10px auto 0;
}

/* Compare section */
.compare-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    color: rgba(159, 207, 255, 0.95);
    margin-bottom: 18px;
}

.home-description table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.home-description th,
.home-description td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    vertical-align: top;
}

.home-description th {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
}

.good-col {
    color: #8ee6ff;
}

.bad-col {
    color: #ff9b9b;
}

.compare-table-item {
    padding-top: 14px;
    color: #ffffffd8;
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .home-buttons {
        gap: 18px;
    }

    .home-card {
        flex: 1 1 300px;
        max-width: 380px;
    }
}

@media (max-width: 950px) {
    .home-container {
        padding: 24px 4% 40px;
    }

    .home-logo {
        width: 280px;
        height: 120px;
    }

    .home-title {
        font-size: 1.8em;
    }

    .home-description {
        width: min(1000px, 96%);
        margin: 26px auto 30px;
        padding: 20px 18px;
        font-size: 1.08em;
    }

    .home-buttons {
        gap: 16px;
    }

    .home-card {
        flex: 1 1 280px;
        max-width: 360px;
        padding: 22px 18px;
    }

    .home-card h2 {
        font-size: 1.08rem;
    }

    .home-card p {
        font-size: 0.94rem;
    }

    .compare-title {
        font-size: 1.4rem;
    }

    .home-description th,
    .home-description td {
        font-size: 0.95rem;
    }
}

@media (max-width: 700px) {
    .home-container {
        padding: 14px 3% 28px;
    }

    .home-logo {
        width: 170px;
        height: 90px;
        margin-bottom: 6px;
    }

    .home-title {
        font-size: 1.08rem;
        padding-bottom: 12px;
    }

    .home-description {
        width: 96%;
        margin: 16px auto 20px;
        padding: 16px 14px;
        font-size: 0.92rem;
        line-height: 1.6;
        border-radius: 14px;
    }

    .home-buttons {
        gap: 12px;
        margin-bottom: 22px;
    }

    .home-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        padding: 18px 14px;
        border-radius: 14px;
    }

    .home-card h2 {
        font-size: 0.98rem;
        margin-bottom: 10px;
    }

    .home-card p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .tier-features {
        gap: 8px;
        margin: 14px 0 10px;
    }

    .tier-features li {
        font-size: 0.86rem;
        padding-left: 22px;
    }

    .compare-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .home-description table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .home-description th,
    .home-description td {
        font-size: 0.84rem;
        padding: 10px 8px;
    }

    .compare-table-item {
        font-size: 0.84rem;
        line-height: 1.5;
        padding-top: 10px;
    }

    .home-card > .process-button {
        width: 100%;
        max-width: 220px;
    }

    .paypal-wrapper {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 0.98rem;
    }

    .home-description {
        font-size: 0.86rem;
        padding: 14px 12px;
    }

    .home-card {
        padding: 16px 12px;
    }

    .home-card h2 {
        font-size: 0.9rem;
    }

    .home-card p,
    .tier-features li,
    .compare-table-item {
        font-size: 0.8rem;
    }

    .process-button,
    .subscribe-button {
        font-size: 0.8rem;
        padding: 9px 12px;
    }
}