/* =======================================================
* 	Custom Styles for ClearMoon
*   Consolidated from internal <style> tags
* ======================================================= */

:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFED4E;
    --dark-bg: #0e1018;
    --card-bg: rgba(24, 26, 39, 0.95);
    --text-white: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(226, 232, 255, 0.7);
    --accent-red: #FF6B6B;
}

/* Global Section Styling */
.price-header-section {
    padding: 6em 0 4em;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(64, 78, 237, 0.05), transparent);
}

/* Plan Cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0 60px;
}

.plan-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.plan-card.featured {
    background: linear-gradient(145deg, rgba(28, 30, 45, 0.98), rgba(18, 20, 32, 0.98));
    border: 2px solid var(--primary-gold);
    transform: scale(1.05);
    z-index: 2;
}

.plan-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-gold);
    color: #000;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.plan-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.plan-title {
    color: var(--text-white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
}

/* Table Styling */
.price-table-wrapper {
    margin: 50px 0;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background: rgba(255, 215, 0, 0.05);
    color: var(--primary-gold);
    padding: 20px;
    text-align: left;
    font-size: 16px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.1);
}

.price-table td {
    padding: 20px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.price-table tr:hover td {
    background: rgba(255, 215, 0, 0.02);
    color: var(--text-white);
}

.price-table td strong {
    color: var(--text-white);
    font-size: 15px;
}

.price-table .amount {
    color: var(--primary-gold);
    font-weight: 700;
    text-align: right;
}

/* Flowchart Styling */
.flowchart-container {
    position: relative;
    padding: 40px 0;
}

.flowchart-step {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.flowchart-step:hover {
    transform: translateX(10px);
    background: rgba(30, 33, 50, 0.95);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 5px 0;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
}

.step-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile Optimization */
@media screen and (max-width: 992px) {
    .plan-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 30px auto;
    }

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

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 768px) {
    .price-table-wrapper {
        padding: 15px;
        overflow-x: auto;
    }

    .price-table {
        min-width: 500px;
    }

    .flowchart-step {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}

/* Added fix for visibility */
.notes-section {
    background: #161925;
    color: var(--text-muted);
}

.notes-section .colorlib-heading {
    color: var(--text-white) !important;
}

.notes-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Scroll Hint & Fade Effect */
.price-table-container {
    position: relative;
    margin-bottom: 30px;
}

.price-table-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, rgba(22, 25, 37, 0), rgba(22, 25, 37, 0.8));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

@media screen and (max-width: 768px) {
    .price-table-container::after {
        opacity: 1;
    }
}

.scroll-hint {
    display: none;
    text-align: right;
    margin-bottom: 10px;
    color: var(--primary-gold);
    font-size: 12px;
    animation: scrollNudge 2s infinite;
}

@media screen and (max-width: 768px) {
    .scroll-hint {
        display: block;
    }
}

@keyframes scrollNudge {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.price-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.price-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.price-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 3px;
}

.sub-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--primary-gold);
    font-size: 13px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(212, 175, 55, 0.05);
}

.sub-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* Contact Page Specific */
a[href*="lin.ee"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.contact-page-wrapper {
    padding-bottom: 3em !important;
    background: var(--dark-bg);
    min-height: 100vh;
}