:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --success: #10b981;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    max-width: 480px;
    /* Mobile width constraint */
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.content {
    flex: 1;
    padding: 1.5rem;
}

.card {
    animation: fadeIn 0.5s ease-out;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

input,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background-color: #f9fafb;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 1rem;
}

.btn-primary:active {
    transform: scale(0.98);
}

.hidden {
    display: none !important;
}

/* Subscription Card Styles */
.success-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.plan-card {
    background: linear-gradient(to bottom right, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.plan-header h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.price small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #166534;
    font-size: 0.9rem;
}

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    background-color: #fef2f2;
    padding: 0.5rem;
    border-radius: 4px;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.25rem;
}

.highlight-card {
    background: linear-gradient(to right, #ffffff, #f0f9ff);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-info h4 {
    color: #1e3a8a;
    margin-bottom: 0.2rem;
}

.service-info p {
    font-size: 0.85rem;
    color: #6b7280;
}

.pricing-action {
    text-align: right;
    min-width: 100px;
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.8rem;
}

.discount-price {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.2rem;
}

.condition {
    font-size: 0.65rem;
    color: #ef4444;
}

.btn-service {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.optional-plan {
    background-color: #f9fafb;
    border: 1px dashed #d1d5db;
    margin-top: 2rem;
}

.btn-outline {
    width: 100%;
    padding: 0.8rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    display: block;
    margin: 0.5rem auto;
}

/* Subscription Opt-in */
.subscription-opt-in {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.subscription-opt-in:has(input:checked) {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: #10b981;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    min-width: 24px;
    height: 24px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-container input:checked~.checkmark {
    background-color: #10b981;
    border-color: #10b981;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.opt-in-text {
    flex: 1;
}

.opt-in-text strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.opt-in-text p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.subscription-price {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #fbbf24;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Service Selection - Card Based */
.service-selection-top {
    margin-bottom: 1.5rem;
}

.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-option {
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.service-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-option:has(input:checked) .service-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.service-title {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Combo Card Special Styling */
.combo-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.service-option:has(input:checked) .combo-card {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border-color: #d97706;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.08);
    }
}

.combo-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.combo-savings {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Urgency Timer */
.urgency-timer {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: urgency-pulse 2s infinite;
}

@keyframes urgency-pulse {

    0%,
    100% {
        border-color: #ef4444;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        border-color: #dc2626;
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.timer-icon {
    font-size: 2rem;
    animation: shake 0.5s infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.timer-text strong {
    display: block;
    color: #991b1b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.timer-text p {
    margin: 0;
    color: #7f1d1d;
    font-size: 0.9rem;
}

#countdown {
    font-weight: 700;
    color: #dc2626;
    font-size: 1.1rem;
}

/* Payment Summary */
.payment-summary {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.subscription-row {
    color: #10b981;
    font-weight: 500;
}

.final-total {
    border-top: 2px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1.1rem;
}

.total-amount {
    color: var(--primary-color);
}

.savings {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #d1fae5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
    display: inline-block;
}

.secure-text {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Testimonial Carousel */
/* Testimonial Carousel - Clean & Flat Redesign */
.testimonial-carousel {
    margin: 2rem 0;
    /* No background box, blending into section */
    background: transparent;
    padding: 1rem 0;
    /* Removed box-shadow as requested */
    box-shadow: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.carousel-header h2 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1e3a8a;
    letter-spacing: -0.5px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
    /* Space for buttons */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem;
    /* Soft gradient background */
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    /* Centered attractive layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Quote Icon */
.testimonial-card::before {
    content: "❝";
    font-size: 4rem;
    color: #e0e7ff;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
    font-weight: 500;
    max-width: 600px;
    /* readable width */
}

.testimonial-author {
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-service {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Redesigned Buttons - Minimalist */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    /* No background bubble */
    border: none;
    color: #94a3b8;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    padding: 0;
    line-height: 1;
    width: auto;
    height: auto;
}

.carousel-btn:hover {
    color: #2563eb;
    /* Primary color on hover */
    transform: translateY(-50%) scale(1.1);
    background: transparent;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Sleek Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dot.active {
    background: #2563eb;
    width: 24px;
    border-radius: 20px;
    /* Pill shape */
}

/* Review Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 3rem;
    margin: 1rem 0;
}

.star {
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
}

.star:hover,
.star.active {
    color: #fbbf24;
    transform: scale(1.1);
}

.footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    border-top: 1px solid #f3f4f6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resume Checker Styles */
.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.score-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #fbbf24;
    /* Orange/Yellow for average score */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.score-circle span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.score-circle small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.issues-list {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.issues-list h3 {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.issues-list ul {
    list-style: none;
    padding-left: 0;
}

.issues-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #7f1d1d;
    font-size: 0.95rem;
}

.issues-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 3px;
}

.pitch-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.pitch-box h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.pitch-box p {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Mobile Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 0 0 24px 24px;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    text-align: center;
}

.roll-number-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: inline-block;
    margin-top: 0.5rem;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-card:active {
    transform: scale(0.98);
}

.product-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.product-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.status-active {
    background-color: #d1fae5;
    color: #059669;
}

.status-locked {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index: 100;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    gap: 4px;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 1.5rem;
}

/* Adjust content padding for bottom nav */
.content {
    padding-bottom: 80px;
}

/* Purchased Product Styling */
.product-card.purchased {
    border: 2px solid #10b981;
    background: linear-gradient(to bottom right, #ecfdf5, #ffffff);
    position: relative;
    overflow: hidden;
}

.ribbon {
    position: absolute;
    top: 12px;
    right: -25px;
    transform: rotate(45deg);
    background-color: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Affiliate Stats Grid */
.affiliate-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.stat-box {
    background: white;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Referral List */
.referral-list {
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.referral-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

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

.referral-name {
    color: #374151;
}

.referral-status {
    font-weight: 500;
    color: #10b981;
}

/* Buy Now Product Styling */
.product-card.buy-now {
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card.buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #2563eb;
}

.social-proof {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.buy-btn {
    margin-top: 0.75rem;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    width: 100%;
}

.buy-btn:hover {
    background-color: #1d4ed8;
}

/* Gemini Badge Animation */
.gemini-badge {
    position: relative;
    display: inline-flex;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6, #60a5fa);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

.gemini-badge-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.35rem 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Widget Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        transform: scale(1);
    }
}

.chat-notify-pulse {
    animation: pulse-green 2s infinite;
}

/* Ensure button is green */
#chat-toggle-btn {
    background-color: #22c55e !important;
    /* Green-500 */
    transition: all 0.3s ease;
}

#chat-toggle-btn:hover {
    background-color: #16a34a !important;
    /* Green-600 */
    transform: scale(1.05);
}

/* Profile Page Styles */
.profile-header-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 0 0 24px 24px;
    margin: -1rem -1rem 1.5rem -1rem;
    /* Negative margin to stretch full width */
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 64px;
    height: 64px;
    background: white;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-info h3 {
    margin: 0;
    font-size: 1.25rem;
}

.profile-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.badge-pro {
    background: #fbbf24;
    color: #92400e;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    font-weight: bold;
    margin-top: 0.25rem;
    display: inline-block;
}

.profile-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.stat-label {
    font-size: 0.8rem;
    color: #6b7280;
}

.profile-section-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h4 {
    margin: 0;
    color: #374151;
    font-size: 1rem;
}

.resume-preview-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resume-icon-large {
    font-size: 2rem;
}

.resume-details {
    flex: 1;
    overflow: hidden;
}

.resume-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1e293b;
}

.resume-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.btn-download {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem;
    background: #eff6ff;
    border-radius: 6px;
}

.score-bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #fbbf24, #10b981);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease-out;
}

.score-text {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

.detail-grid {
    display: grid;
    gap: 1rem;
}

.detail-item label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.1rem;
}

.detail-item p {
    margin: 0;
    font-weight: 500;
    color: #1f2937;
    font-size: 0.95rem;
}

.subscription-card {
    background: linear-gradient(to right, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
}

.subscription-card .sub-header h4 {
    color: #166534;
}

.btn-logout {
    width: 100%;
    padding: 1rem;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
}

/* Profile Page Styles */
.profile-header-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    background: white;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
}

.profile-header-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.profile-header-card p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.profile-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.profile-stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-lbl {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-details-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.1rem;
    color: #1f2937;
}

.btn-icon {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: white;
}

.input-wrapper input:disabled {
    background: #f9fafb;
    color: #4b5563;
    border-color: transparent;
}

.input-wrapper input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.subscription-status-card {
    background: linear-gradient(to right, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-icon-wrapper {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.status-badge-large {
    display: inline-block;
    background: #16a34a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.status-details {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 8px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-row span {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
}

.detail-row strong {
    color: #1f2937;
}

.btn-logout {
    width: 100%;
    padding: 1rem;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #fecaca;
}

/* Animated Status Border */
.status-card {
    position: relative;
    background: white;
    border-radius: 16px;
    z-index: 0;
    padding: 3px;
    /* Width of the border */
    overflow: hidden;
    transition: transform 0.2s;
}

.status-card-inner {
    background: white;
    border-radius: 14px;
    height: 100%;
    width: 100%;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--status-color));
    animation: border-rotate 4s linear infinite;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.status-card.completed::before {
    background: var(--status-color);
    animation: none;
}

@keyframes border-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Shimmer Loading Effect */
.shimmer-wrapper {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeholderShimmer;
    animation-timing-function: linear;
}

@keyframes placeholderShimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.shimmer-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shimmer-line {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.shimmer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

/* Affiliate Calculator & Lock Styles */
.affiliate-box {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    border: 1px solid #f0abfc;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.calc-slider-container {
    margin: 1.5rem 0;
    text-align: center;
}

.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e9d5ff;
    outline: none;
    transition: background .2s;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.4);
    border: 2px solid white;
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.4);
    border: 2px solid white;
}

.earning-display {
    font-size: 2rem;
    font-weight: 800;
    color: #7e22ce;
    margin: 0.5rem 0;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.trust-badge {
    background: white;
    border: 1px solid #e9d5ff;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6b21a8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

/* Premium Header Shimmer Effect */
.dashboard-header-card {
    position: relative;
    overflow: hidden;
}

.dashboard-header-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: headerShine 6s infinite;
    pointer-events: none;
}

@keyframes headerShine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Christmas Snow Animation */
.christmas-snow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(4px 4px at 20% 30%, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(4px 4px at 40% 70%, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(4px 4px at 60% 40%, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(4px 4px at 80% 80%, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(4px 4px at 10% 90%, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(4px 4px at 90% 10%, rgba(255, 255, 255, 0.8) 50%, transparent);
    background-size: 200px 200px;
    animation: snow 10s linear infinite;
    opacity: 0.6;
}

@keyframes snow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 200px;
    }
}

.santa-hat {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 2rem;
    transform: rotate(15deg);
    animation: hatBob 2s ease-in-out infinite;
}

@keyframes hatBob {

    0%,
    100% {
        transform: rotate(15deg) translateY(0);
    }

    50% {
        transform: rotate(25deg) translateY(-5px);
    }
}

/* Festive Header Styles */
.festive-header {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 40%, #1e40af 100%);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.festive-header:active {
    transform: scale(0.98);
}

.festive-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #fde68a;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.santa-hat-decor {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3.5rem;
    transform: rotate(-15deg);
    z-index: 1;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

.branch-decor {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 4rem;
    opacity: 0.8;
    z-index: 1;
    transform: rotate(15deg);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #1f2937;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 10001;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}