/*
 * AI Call Platform - Modern Styles
 * Clean, professional design with smooth animations and responsive layout
 */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #f9fafb;
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.main-nav a:hover::before {
    width: 80%;
}

/* ===== USER MENU ===== */
.user-menu {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu .user-name {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(99, 102, 241, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.user-menu .user-name:hover {
    background: rgba(99, 102, 241, 0.2);
}

.user-menu a {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.user-menu a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 1100;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn:focus {
    outline: none;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile menu button active state */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-btn.active .hamburger-line {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-self: center;
    }
    
    .site-header .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-btn {
        order: 2;
        flex-shrink: 0;
    }
    
    .logo {
        order: 1;
        text-align: left;
        flex-shrink: 0;
        margin-left: 1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        padding: 5rem 1rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
        text-align: left;
        border: 1px solid transparent;
        transition: var(--transition);
    }
    
    .main-nav a:hover {
        background: rgba(99, 102, 241, 0.1);
        border-color: var(--border-color);
        color: var(--primary-color);
    }
    
    .main-nav a::before {
        display: none;
    }
    
    /* Overlay when mobile menu is open */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* ===== SMALLER MOBILE DEVICES ===== */
@media (max-width: 480px) {
    .main-nav {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero h1 {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-card h3::before {
    content: '✨';
    font-size: 1.5rem;
}

.feature-card:nth-child(2) h3::before {
    content: '📞';
}

.feature-card:nth-child(3) h3::before {
    content: '🏢';
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    margin: 0;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 4rem 0;
        margin: 1rem 0;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Removed conflicting flex-direction: column to maintain mobile menu layout */
    
    .main-nav {
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-header {
    text-align: center;
    margin: 3rem 0 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.08));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.dashboard-header h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dashboard-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 2px 2px;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--bg-primary));
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.stat-detail {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.dashboard-actions {
    margin-bottom: 4rem;
}

.dashboard-actions h2 {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.action-card {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 2px 2px;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--bg-primary));
}

.action-card:hover::before {
    opacity: 1;
}

.action-card:hover::after {
    transform: scaleX(1);
}

.action-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.action-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    font-weight: 400;
}

.recent-activity {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.recent-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.recent-activity h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.activity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08));
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary-color);
}

.activity-item:hover::before {
    opacity: 1;
}

.activity-type {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.activity-detail {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    margin: 0 1rem;
}

.no-activity {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 2px dashed var(--border-color);
}

.error {
    color: #ef4444;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* ===== DASHBOARD RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .dashboard-header {
        margin: 2rem 0 3rem 0;
        padding: 2rem 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .dashboard-header p {
        font-size: 1.1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .dashboard-actions {
        margin-bottom: 3rem;
    }
    
    .dashboard-actions h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .action-card {
        padding: 2rem 1.5rem;
    }
    
    .action-card h3 {
        font-size: 1.25rem;
    }
    
    .recent-activity {
        padding: 2rem 1.5rem;
    }
    
    .recent-activity h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
    
    .activity-time {
        align-self: flex-end;
        font-size: 0.85rem;
    }
    
    .activity-detail {
        margin: 0;
        font-size: 0.95rem;
        text-align: left;
        width: 100%;
    }
    
    .no-activity {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        margin: 1.5rem 0 2rem 0;
        padding: 1.5rem 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-header p {
        font-size: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .dashboard-actions h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .action-card {
        padding: 1.5rem 1.25rem;
    }
    
    .action-card h3 {
        font-size: 1.1rem;
    }
    
    .action-card p {
        font-size: 0.9rem;
    }
    
    .recent-activity {
        padding: 1.5rem 1.25rem;
    }
    
    .recent-activity h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .activity-item {
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }
    
    .activity-type {
        font-size: 0.85rem;
    }
    
    .activity-time {
        font-size: 0.8rem;
    }
    
    .activity-detail {
        font-size: 0.9rem;
    }
    
    .no-activity {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== PAYMENTS PAGE STYLES ===== */
.page-header {
    text-align: center;
    margin: 3rem 0 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.08));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.current-package {
    margin-bottom: 3rem;
}

.current-package h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.current-package h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.package-card {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.package-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.package-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
    transform: translateX(4px);
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span:last-child {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.usage-overview {
    margin-bottom: 3rem;
}

.usage-overview h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.usage-overview h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 2px 2px;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--bg-primary));
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    display: block;
    opacity: 0.9;
}

.payment-actions {
    margin-bottom: 3rem;
}

.payment-actions h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.payment-actions h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    color: var(--primary-color);
    border-color: var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--bg-primary));
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
}

.empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
}

.payments-list {
    margin-bottom: 3rem;
}

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

.list-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    display: inline-block;
}

.list-header h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.list-count {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.payments-table {
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1.5fr;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1.5fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
    backdrop-filter: blur(5px);
}

.col-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.col-package {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.col-amount {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.col-status {
    display: flex;
    align-items: center;
}

.status {
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--secondary-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--accent-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-failed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.col-method {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.page-info {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(243, 244, 246, 0.8));
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

/* ===== PAYMENTS PAGE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .page-header {
        margin: 2rem 0 3rem 0;
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .usage-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
    }
    
    .table-row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .table-row > div::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .col-date::before { content: 'Date: '; }
    .col-package::before { content: 'Package: '; }
    .col-amount::before { content: 'Amount: '; }
    .col-status::before { content: 'Status: '; }
    .col-method::before { content: 'Method: '; }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .page-info {
        order: -1;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin: 1.5rem 0 2rem 0;
        padding: 1.5rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .package-header h4 {
        font-size: 1.25rem;
    }
    
    .package-price {
        font-size: 1.1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.75rem;
    }
    
    .empty-state {
        padding: 2rem 1.5rem;
    }
    
    .empty-state h3 {
        font-size: 1.5rem;
    }
    
    .empty-state p {
        font-size: 1rem;
    }
    
    .table-row {
        padding: 0.875rem;
    }
    
    .pagination {
        padding: 1rem;
    }
}

/* ===== INTERACTIVE ELEMENTS ===== */
.site-main {
    min-height: auto;
    padding: 2rem 0;
}

/* ===== FORM STYLES ===== */
.auth-form {
    max-width: 400px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.auth-form h1 {
    margin-bottom: 0.5rem;
    line-height: 1.3;
    overflow: visible;
}

.auth-form p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group button {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.auth-links p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== ACCOUNT PAGE STYLES ===== */
.account-sections {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.account-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(249, 250, 251, 0.8));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.account-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.3), 
        rgba(16, 185, 129, 0.3), 
        rgba(245, 158, 11, 0.3), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.account-section:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}

.account-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.account-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-form .form-group {
    margin-bottom: 0;
}

.account-form .form-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Danger Zone Styles */
.danger-zone {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
    border: 1px solid rgba(239, 68, 68, 0.2);
    position: relative;
}

.danger-zone::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(239, 68, 68, 0.3), 
        rgba(239, 68, 68, 0.3), 
        rgba(239, 68, 68, 0.3), 
        transparent);
}

.danger-zone h3 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.danger-zone h3::after {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.danger-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.danger-warning {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.danger-warning h4 {
    margin: 0 0 0.5rem 0;
    color: #dc2626;
    font-weight: 600;
    font-size: 1.1rem;
}

.danger-warning p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.danger-form {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(239, 68, 68, 0.4);
}

/* Form input enhancements for account page */
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="date"],
.account-form select {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.account-form input[type="text"]:focus,
.account-form input[type="email"]:focus,
.account-form input[type="password"]:focus,
.account-form input[type="date"]:focus,
.account-form select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.account-form input[readonly] {
    background: rgba(249, 250, 251, 0.5);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.account-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ===== ACCOUNT PAGE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .account-sections {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .account-section {
        padding: 1.5rem;
    }
    
    .account-section h3 {
        font-size: 1.25rem;
    }
    
    .account-form .form-actions {
        flex-direction: column;
    }
    
    .btn-danger {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .account-sections {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .account-section {
        padding: 1rem;
    }
    
    .account-section h3 {
        font-size: 1.1rem;
    }
    
    .danger-warning {
        padding: 1rem;
    }
    
    .danger-form {
        padding: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}