/*******************************
 * Theme Variables
 *******************************/
:root {
    /* Dark theme variables (default) */
    --bg-primary: #29272c;
    --bg-secondary: #2a2830;
    --bg-tertiary: #1f1e22;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --accent-primary: #8675e9;
    --accent-secondary: #7667d4;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.05);
    --danger: #ff6b6b;
    --success: #00d1a7;
    --pdf-bg: #ffffff;
}

/* Light theme overrides */
:root[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #ffffff;
    --text-primary: #1f1e22;
    --text-secondary: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(0, 0, 0, 0.05);
}

/*******************************
 * Global Styles
 *******************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
}

html, body {
    height: 100%;
    overflow-y: auto;
    background: #1a1820;
    color: var(--text-primary);
    scroll-behavior: smooth;
}

/* Smooth scroll adjustment for fixed header */
html {
    scroll-padding-top: 80px;
}

/*******************************
 * Navigation Bar
 *******************************/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(19, 17, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    height: 60px;
    border-bottom: 1px solid rgba(134, 117, 233, 0.1);
}

/* Brand/Logo */
.brand {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.brand:hover {
    color: #8675e9;
    transform: translateY(-1px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin: 0 1rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.nav-menu a:hover {
    color: #8675e9;
}

.nav-menu a.active {
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: transparent;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: calc(50% - 12px);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #8675e9, #5d4bb7);
    border-radius: 2px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-link {
    color: #b8b8b8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.icon-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.icon-separator {
    color: #666;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.dropdown-trigger:hover {
    color: #8675e9;
    background: rgba(134, 117, 233, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #1a1820;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(134, 117, 233, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(134, 117, 233, 0.1);
    color: #8675e9;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.dropdown-divider {
    height: 1px;
    background: rgba(134, 117, 233, 0.1);
    margin: 0.5rem 0;
}

/*******************************
 * Main Content Layout
 *******************************/
main {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
    background: #1a1820;
}

/*******************************
 * Hero Section
 *******************************/
.hero {
    background: #1a1820;
    color: var(--text-primary);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(134, 117, 233, 0.1), rgba(93, 75, 183, 0.05));
    transform: rotate(-12deg);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-right: 40px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Button - Used in multiple sections */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(134, 117, 233, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover::before {
    transform: translateX(0);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(134, 117, 233, 0.4);
}

/*******************************
 * Features Section
 *******************************/
.features {
    padding: 120px 20px;
    background: #13111a;
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(134, 117, 233, 0.2), transparent);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--text-primary);
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8675e9, #5d4bb7);
    border-radius: 2px;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* Main Feature Card */
.feature-main {
    display: flex;
    align-items: stretch;
}

.feature-main .feature-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(134, 117, 233, 0.1), rgba(93, 75, 183, 0.05));
    border: 1px solid rgba(134, 117, 233, 0.2);
}

.feature-main .feature-card i {
    font-size: 3.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-main .feature-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #b8b8b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-main .feature-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Secondary Feature Cards */
.feature-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-secondary .feature-card {
    padding: 30px;
    background: #1a1820;
    border-radius: 16px;
    border: 1px solid rgba(134, 117, 233, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-secondary .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8675e9, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Removing hover effects for feature cards */
/* 
.feature-secondary .feature-card:hover {
    transform: translateX(5px);
    border-color: rgba(134, 117, 233, 0.2);
}

.feature-secondary .feature-card:hover::before {
    opacity: 1;
}
*/

.feature-secondary .feature-card i {
    font-size: 2rem;
    color: #8675e9;
    margin-bottom: 20px;
}

.feature-secondary .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-secondary .feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .feature-main .feature-card {
        padding: 40px 30px;
    }
    
    .feature-main .feature-card h3 {
        font-size: 1.8rem;
    }
    
    .feature-secondary {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .features h2 {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    
    .feature-main .feature-card {
        padding: 30px 25px;
    }
    
    .feature-main .feature-card i {
        font-size: 3rem;
    }
    
    .feature-main .feature-card h3 {
        font-size: 1.6rem;
    }
    
    .feature-main .feature-card p {
        font-size: 1.1rem;
    }
}

/*******************************
 * How It Works Section
 *******************************/
.how-it-works {
    padding: 120px 20px;
    background: #1a1820;
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(134, 117, 233, 0.2), transparent);
}

.step {
    text-align: left;
    position: relative;
    padding: 30px;
    background: #13111a;
    border-radius: 16px;
    border: 1px solid rgba(134, 117, 233, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/*******************************
 * Call to Action Section
 *******************************/
.cta-section {
    background: #13111a;
    color: var(--text-primary);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(135deg, rgba(134, 117, 233, 0.1), rgba(93, 75, 183, 0.05));
    transform: skewY(-6deg);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/*******************************
 * Footer
 *******************************/
footer {
    background: #13111a;
    color: var(--text-primary);
    padding: 80px 20px 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #8675e9, #5d4bb7);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section a:hover {
    color: #8675e9;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(134, 117, 233, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
}

/*******************************
 * Utility Classes
 *******************************/
.hidden {
    display: none;
}

/*******************************
 * Modal Styles
 *******************************/
.modal-window {
    background: var(--bg-secondary);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
}

.modal-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.modal-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.modal-btn-secondary:hover {
    background: var(--hover-bg);
}

.modal-btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
}

.modal-btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

/*******************************
 * Responsive Design
 *******************************/
/* Desktop and Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .features h2,
    .how-it-works h2,
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .step {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section a:hover {
        padding-left: 0;
    }
}

/*******************************
 * Scrollbar Styling
 *******************************/
/* Webkit Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Firefox Scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
}

/*******************************
 * Main Pages Styling
 *******************************/
.page-header {
    background: linear-gradient(135deg, rgba(134, 117, 233, 0.1), rgba(93, 75, 183, 0.05));
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-section {
    background: rgba(134, 117, 233, 0.05);
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8675e9, #5d4bb7);
    border-radius: 2px;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* FAQ Specific Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #1a1820;
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

/* Removing hover effects for FAQ items */
/*
.faq-item:hover {
    transform: translateX(5px);
    border-color: rgba(134, 117, 233, 0.2);
}
*/

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question i {
    color: #8675e9;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Help Page Specific Styles */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.help-card {
    background: #1a1820;
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Removing hover effects for help cards */
/*
.help-card:hover {
    transform: translateY(-5px);
    border-color: rgba(134, 117, 233, 0.2);
}
*/

.help-card i {
    font-size: 2rem;
    color: #8675e9;
    margin-bottom: 20px;
}

.help-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.help-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Page Specific Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: #1a1820;
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Removing hover effects for team members */
/*
.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(134, 117, 233, 0.2);
}
*/

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    margin-bottom: 20px;
    border: 3px solid rgba(134, 117, 233, 0.2);
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.team-member p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #8675e9;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .help-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/*******************************
 * Profile & Settings Pages
 *******************************/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    min-height: calc(100vh - 60px);
}

.content-box {
    background: rgba(134, 117, 233, 0.05);
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
}

.profile-avatar i {
    font-size: 120px;
    color: #8675e9;
}

.avatar-upload {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(134, 117, 233, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-upload:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay i {
    font-size: 24px;
    color: white;
}

#avatarImage {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(134, 117, 233, 0.2);
}

.profile-header h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-group {
    background: #1a1820;
    border: 1px solid rgba(134, 117, 233, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.info-group h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
}

.info-group h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8675e9, #5d4bb7);
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(134, 117, 233, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(134, 117, 233, 0.1);
}

.info-item .label {
    flex: 0 0 150px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item .value {
    color: var(--text-primary);
    flex: 1;
}

.edit-input {
    background: #13111a;
    border: 1px solid rgba(134, 117, 233, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-primary);
    width: 100%;
    transition: all 0.3s ease;
}

.edit-input:focus {
    border-color: #8675e9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(134, 117, 233, 0.2);
}

/* Settings specific styles */
.settings-select {
    background: #13111a;
    border: 1px solid rgba(134, 117, 233, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-primary);
    width: 200px;
    cursor: pointer;
}

.settings-select:focus {
    border-color: #8675e9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(134, 117, 233, 0.2);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(134, 117, 233, 0.2);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Profile action buttons */
.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.edit-profile-btn,
.save-profile-btn,
.cancel-profile-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-profile-btn {
    background: linear-gradient(135deg, #8675e9, #5d4bb7);
    color: white;
    border: none;
}

.edit-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(134, 117, 233, 0.3);
}

.save-profile-btn {
    background: linear-gradient(135deg, #00d1a7, #00a884);
    color: white;
    border: none;
}

.save-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 209, 167, 0.3);
}

.cancel-profile-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(134, 117, 233, 0.2);
}

.cancel-profile-btn:hover {
    background: rgba(134, 117, 233, 0.1);
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 80px 15px;
    }
    
    .content-box {
        padding: 30px 20px;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .info-item .label {
        flex: none;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .edit-profile-btn,
    .save-profile-btn,
    .cancel-profile-btn {
        width: 100%;
    }
}

.setting-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
    margin-left: 150px;
}

@media (max-width: 768px) {
    .setting-description {
        margin-left: 0;
    }
}
