/* Pricing Page Unique Styles */
body.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, var(--bg-dark) 50%);
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
}

.lock-icon {
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.error-msg {
    color: var(--accent-glow-3);
    background: rgba(236, 72, 153, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.input-group input:focus {
    border-color: var(--accent-glow-2);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: var(--accent-glow-2);
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}

/* Pricing Layout */
.pricing-header {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.pricing-header a:hover {
    color: var(--text-primary);
}

.pricing-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pricing-titles {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-titles h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.pricing-titles p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Grid System */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Card Styling */
.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Package Title & Price */
.card-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.sub-tier {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2rem;
}

.price-box {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    overflow: visible;
    text-align: center;
    flex-wrap: wrap; /* Safety for very small screens */
}

.price {
    font-size: clamp(1.8rem, 3vw, 2.6rem); /* Scaled down slightly for side-by-side */
    font-weight: 800;
    font-family: var(--font-display);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-orig {
    font-size: clamp(0.8rem, 1.2vw, 1rem); 
    color: var(--text-secondary);
    opacity: 0.5;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: line-through;
}

.price-orig s {
    text-decoration: none; /* Already using line-through on parent */
}

.billed-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
}

/* Buttons */
.plan-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.glow-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
}

.glow-btn:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Popular Badge (now using Red/Pink accent 3) */
.popular {
    border-color: var(--accent-glow-3);
    transform: scale(1.05);
    /* Highlight middle package slightly */
}

.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--accent-glow-3);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}

/* Features List */
.features ul {
    list-style: none;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #e4e4e7;
}

.features i {
    width: 16px;
    height: 16px;
    color: var(--accent-glow-2);
}

.features li.disabled {
    color: #52525b;
}

.features li.disabled i {
    color: #52525b;
}

/* ========================================= */
/* Musical Notes Hover Animation Effect */
/* ========================================= */
.notes-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.music-note {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
    pointer-events: none;
    opacity: 0;
    bottom: -20px;
    /* start slightly below */
    animation: noteFloatUp linear forwards;
}

@keyframes noteFloatUp {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }

    10% {
        opacity: 1;
        transform: translateY(-20px) rotate(10deg) scale(1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(-250px) rotate(-20deg) scale(1.5);
    }
}

/* ========================================= */
/* Matrix Canvas Background Effect */
/* ========================================= */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    /* Managed via JS constants */
}

/* ========================================= */
/* Light Theme Contrast Fixes */
/* ========================================= */
html[data-theme="light"] .price {
    color: #09090b !important;
}

html[data-theme="light"] .card-header h2,
html[data-theme="light"] .sub-tier,
html[data-theme="light"] .billed-text,
html[data-theme="light"] .pricing-titles p,
html[data-theme="light"] .features li {
    color: #18181b !important;
}

html[data-theme="light"] .features li.disabled {
    color: #a1a1aa !important;
}

html[data-theme="light"] .features li.disabled i {
    color: #a1a1aa !important;
}

html[data-theme="light"] .music-note {
    color: rgb(34, 197, 94) !important;
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
    opacity: 0.8 !important;
}

html[data-theme="light"] .btn-outline {
    border-color: #27272a;
    color: #09090b;
}

/* Plan Mail Button (anchor styled as button) */
.plan-mail-btn {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Brand as link */
a.brand {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

a.brand:hover {
    color: var(--accent-glow-2);
    transition: color 0.3s;
}

/* ========================================= */
/* Pricing Notice Banner */
/* ========================================= */
.pricing-notice {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.05);
}

.pricing-notice p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.pricing-notice .notice-negotiable {
    font-size: 0.93rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-notice .notice-contact {
    margin-top: 0.3rem;
}

.pricing-notice .notice-email {
    color: var(--accent-glow-2);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.pricing-notice .notice-email:hover {
    opacity: 0.75;
    text-decoration: underline;
}

html[data-theme="light"] .pricing-notice .notice-negotiable {
    color: #18181b !important;
}

html[data-theme="light"] .pricing-notice p {
    color: #52525b !important;
}

/* ========================================= */
/* Mobile Responsiveness */
/* ========================================= */
    /* Redundant mobile styles removed to sync with global style.css */
}