.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); /* Account for header */
    padding: 60px 20px;
    /* Animated Gradient Background */
    background: linear-gradient(-45deg, #f0f4f8, #e0e7ff, #f3e8ff, #f8fafc);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Add some floating blurred orbs for premium feel */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-wrapper::before {
    background: rgba(37, 99, 235, 0.15);
    top: -100px;
    left: -100px;
}

.auth-wrapper::after {
    background: rgba(147, 51, 234, 0.15);
    bottom: -100px;
    right: -100px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-container {
    /* True Glassmorphism */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.5) inset;
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.auth-container h2 {
    margin-bottom: 24px;
    color: var(--dark);
    font-weight: 800;
}

.auth-container input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--light);
}

.auth-container input:focus {
    outline: none;
    border-color: var(--accent);
}

.auth-container button {
    width: 100%;
    padding: 14px;
    border-radius: 100px;
    background: var(--grad-premium);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.auth-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.auth-container .error {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.auth-container p {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--slate);
}

.auth-container a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-container a:hover {
    text-decoration: underline;
}

/* Pricing specific styles */
.pricing-hero {
    text-align: center;
    padding: 60px 20px;
    background: transparent;
    color: var(--dark);
}

.pricing-hero h1 { font-size: 3rem; margin-bottom: 15px; }
.pricing-hero p { font-size: 1.2rem; color: var(--slate); max-width: 600px; margin: 0 auto; }

.pricing-page-wrapper {
    min-height: calc(100vh - 80px);
    padding: 60px 20px;
    background: linear-gradient(-45deg, #f0f4f8, #e0e7ff, #f3e8ff, #f8fafc);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.pricing-page-wrapper::before,
.pricing-page-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.pricing-page-wrapper::before {
    background: rgba(37, 99, 235, 0.15);
    top: -150px;
    left: -100px;
}

.pricing-page-wrapper::after {
    background: rgba(147, 51, 234, 0.15);
    bottom: -150px;
    right: -100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.5) inset;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 0 20px rgba(255,255,255,0.5) inset;
}

.pricing-card h3 {
    margin: 0;
    color: var(--slate);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 12px 0;
    color: var(--slate);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card.premium {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    position: relative;
    background: linear-gradient(to bottom, white, #fff0f5);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card .btn-pricing {
    border-radius: 100px;
    padding: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    display: inline-block;
    width: 100%;
}

.pricing-card .btn-basic {
    background: white;
    color: var(--dark);
    border: 1px solid var(--glass-border);
}

.pricing-card .btn-basic:hover {
    background: var(--light);
}

.pricing-card .btn-primary {
    background: var(--grad-primary);
    color: white;
}

/* Dashboard Styles */
.dashboard-wrapper {
    min-height: calc(100vh - 80px);
    padding: 60px 20px;
    background: linear-gradient(-45deg, #f0f4f8, #e0e7ff, #f3e8ff, #f8fafc);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.dashboard-wrapper::before,
.dashboard-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.dashboard-wrapper::before {
    background: rgba(37, 99, 235, 0.15);
    top: -50px;
    left: -150px;
}

.dashboard-wrapper::after {
    background: rgba(147, 51, 234, 0.15);
    bottom: -150px;
    right: -100px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dashboard-header {
    margin-bottom: 40px;
    text-align: left;
    color: var(--dark);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: var(--slate);
    font-size: 1.1rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.5) inset;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 0 20px rgba(255,255,255,0.5) inset;
}

.kpi-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    background: var(--light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.kpi-card h3 {
    color: var(--slate);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kpi-card .kpi-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.kpi-card .kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

.kpi-trend.positive { color: #10b981; }
.kpi-trend.negative { color: #ef4444; }
.kpi-trend.neutral { color: var(--slate); }

.dashboard-content-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.5) inset;
}

.dashboard-content-box h2 {
    color: var(--dark);
    margin-top: 0;
    margin-bottom: 20px;
}
