/* ENROLL HERO SECTION */
.enroll-hero-section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%),
        url('images/enroll-hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.enroll-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.enroll-hero-content h1 {
    font-size: 4rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 450;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.btn-enroll-hero {
    background: white;
    color: black;
    border: 1px solid white;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enroll-hero:hover {
    background: transparent;
    color: white;
}

@media (max-width: 1024px) {
    .enroll-hero-content {
        padding: 0 40px;
    }

    .enroll-hero-content h1 {
        font-size: 3.2rem;
    }

    .enroll-hero-section {
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .enroll-hero-section {
        height: 75vh;
        min-height: 450px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
            url('images/enroll-hero-bg.png');
        background-size: cover;
        background-position: center;
        text-align: center;
    }

    .enroll-hero-content {
        padding: 0 24px;
    }

    .enroll-hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .enroll-hero-section {
        height: 70vh;
        min-height: 400px;
    }

    .enroll-hero-content h1 {
        font-size: 2rem;
    }
}

/* PRICING */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    /* Added breathing room from top */
}

.pricing-header h1 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--gradient-orange-black-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--gradient-orange-glow);
    transform: translateY(-4px);
}

.card-featured {
    border-color: var(--primary);
    background: var(--gradient-orange-black);
    box-shadow: var(--gradient-orange-glow);
}

.plan-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.features-list {
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li i {
    color: var(--primary);
    min-width: 18px;
    width: 18px;
}

.terms {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 16px;
}

/* PRICING ENHANCEMENTS */
.pricing-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    /* Added gap between toggle and grid */
}

.pricing-toggle-main {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: 50px;
    display: flex;
    gap: 4px;
}

.pricing-toggle-main .btn-toggle {
    padding: 10px 30px;
    font-size: 0.8rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.pricing-toggle-main .btn-toggle.active {
    background: var(--gradient-orange-black);
    color: white;
    box-shadow: var(--gradient-orange-glow);
}

.pricing-view {
    display: none;
    animation: pr-fadeIn 0.4s ease forwards;
}

.pricing-view.active {
    display: block;
}

@keyframes pr-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
    align-items: stretch;
    /* Change from center to stretch for better alignment */
}


.pricing-card-modern {
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.05) 0%, rgba(0, 0, 0, 1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    /* Reduced base padding */
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    transform: scale(0.8);
    /* Scale down by default */
    opacity: 0.9;
}

.pricing-card-modern:not(.featured):hover {
    transform: scale(0.95);
    opacity: 1;
}

.pricing-card-modern.featured {
    border-color: rgba(255, 145, 77, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    /* Featured card is slightly scaled down */
    opacity: 1;
    padding: 24px;
    /* More padding for featured */
    z-index: 2;
}

.pricing-card-modern.featured:hover {
    border-color: var(--primary);
    box-shadow: var(--gradient-orange-glow);
    transform: translateY(-8px) scale(1.02);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-card-modern h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.price-row .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.price-row .amount {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.price-row .interval {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.duration-selector {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-duration {
    background: transparent;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-duration:hover,
.btn-duration.active {
    background: rgba(255, 145, 77, 0.2);
    border-color: var(--primary);
    color: white;
}

.plan-pitch {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.plan-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.85rem;
}

.plan-features li i {
    color: var(--primary);
    width: 20px;
}

.btn-full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--gradient-orange-black);
    color: white;
    box-shadow: var(--gradient-orange-glow);
    transform: translateY(-2px);
}

/* CUSTOMIZE VIEW */
.customize-card {
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.03) 0%, rgba(0, 0, 0, 1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 15px;
    max-width: 550px;
    margin: 0 auto 40px auto;
}

.customize-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: white;
}

.customize-card .subtext {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.customize-duration-row {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.customize-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.option-group label i {
    color: var(--primary);
}

.option-group label .dim-icon {
    color: var(--text-dim);
}

.option-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-opt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-opt:hover,
.btn-opt.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--gradient-orange-glow);
}

.customize-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.final-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.final-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.final-price .amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.final-price .interval {
    color: var(--text-muted);
}

/* SIGNUP SECTION REFINEMENT */
.signup-section {
    padding: 100px 0;
    display: none;
    /* Hidden by default */
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 145, 77, 0.05) 0%, transparent 70%);
    animation: pr-fadeIn 0.6s ease forwards;
}

.signup-section.show {
    display: flex;
}

.signup-container {
    background: #0f0f0f;
    color: white;
    width: 100%;
    max-width: 500px;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
}

.signup-container h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.signup-container h2 .highlight-orange {
    -webkit-text-fill-color: var(--primary);
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    color: black;
}

.btn-social:hover {
    background: #f9f9f9;
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #888;
    margin: 20px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider-text:not(:empty)::before {
    margin-right: 1em;
}

.divider-text:not(:empty)::after {
    margin-left: 1em;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input {
    padding: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s;
    color: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-checkbox {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.login-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #666;
}

.login-prompt a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .signup-container {
        padding: 30px 20px;
        border-radius: 12px;
        margin: 0 16px;
    }

    .signup-container h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .btn-social {
        padding: 10px;
        font-size: 0.9rem;
    }

    .pricing-card-modern,
    .customize-card {
        padding: 24px;
        transform: scale(1) !important;
        /* Reset transform on mobile */
        opacity: 1 !important;
    }

    .customize-card {
        padding: 30px 20px;
    }

    .pricing-card-modern h3 {
        font-size: 1.6rem;
    }

    .price-row .amount {
        font-size: 2.8rem;
    }

    .customize-card h3 {
        font-size: 1.8rem;
    }

    .customize-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .final-price {
        flex-direction: column;
        gap: 8px;
    }

    .final-price .amount {
        font-size: 2.5rem;
    }

    .pricing-header h1 {
        font-size: 2.2rem;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .option-btns {
        gap: 8px;
    }

    .btn-opt {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .customize-duration-row {
        gap: 8px;
        flex-wrap: wrap;
    }

    .btn-duration {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .pricing-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .pricing-card-modern {
        transform: scale(1) !important;
        opacity: 1 !important;
        padding: 30px 20px;
    }

    .pricing-card-modern.featured {
        padding: 40px 20px;
    }

    .pricing-tabs-container {
        padding: 0 10px;
    }

    .pricing-toggle-main {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }

    .pricing-toggle-main .btn-toggle {
        font-size: 0.75rem;
        padding: 10px 20px;
    }

    .customize-card {
        padding: 30px 20px;
        margin-bottom: 50px;
    }

    .customize-card h3 {
        font-size: 1.8rem;
    }

    .customize-duration-row {
        gap: 8px;
    }

    .option-group label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.8rem;
    }

    .pricing-card-modern h3 {
        font-size: 1.5rem;
    }

    .price-row .amount {
        font-size: 2.5rem;
    }
}