/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-cta {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1d1d1f;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 170px 0 80px;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.gradient-text {
    color: #3b82f6;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6e6e73;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1d1d1f;
    border: 2px solid #1d1d1f;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1d1d1f;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.stat-number .rating-star {
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    color: #6e6e73;
    font-weight: 500;
}

.mobile-menu-logo {
    display: none;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1d1d1f;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.chat-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e9ecef;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-info span {
    font-size: 12px;
    color: #28a745;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 20px;
    position: relative;
}

.message.received {
    background: #f1f3f4;
    align-self: flex-start;
}

.message.sent {
    background: #3b82f6;
    color: white;
    align-self: flex-end;
}

.message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.ai-feedback {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.feedback-icon {
    font-size: 16px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.section-header p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.feature-card p {
    color: #6e6e73;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: #6e6e73;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
}

.period {
    font-size: 1rem;
    color: #6e6e73;
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #6e6e73;
}

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

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.9rem;
    color: #6e6e73;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: #3b82f6;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary.large {
    font-size: 1.2rem;
    padding: 20px 40px;
    background: #ffffff !important;
    color: #1e3a8a !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.btn-primary.large:hover {
    background: #f0f4ff !important;
    color: #1e3a8a !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.btn-primary.large.dark-btn {
    background: #1e40af !important;
    color: #ffffff !important;
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.6);
    font-weight: 700;
}

.btn-primary.large.dark-btn:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    box-shadow: 0 15px 45px rgba(30, 58, 138, 0.7);
    transform: translateY(-5px) scale(1.02);
}

.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1d1d1f;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
}


.footer-brand p {
    color: #a1a1a6;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: #a1a1a6;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #424245;
    padding-top: 30px;
    text-align: center;
    color: #a1a1a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-logo {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-logo .mobile-logo-image {
        height: 100px;
        width: auto;
        object-fit: contain;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        margin: 20px 0;
        font-size: 1.2rem;
        padding: 10px 0;
    }
    
    .nav-menu .nav-cta {
        margin-top: 20px;
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .navbar {
        height: auto;
        min-height: 80px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 80px;
        justify-content: center;
        position: relative;
    }
    
    .nav-logo {
        margin-left: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-image {
        height: 100px;
    }
    
    .hamburger {
        position: absolute;
        right: 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary {
        font-size: 1.1rem;
        padding: 16px 32px;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .price {
        margin-bottom: 20px;
    }
    
    .currency {
        font-size: 1.3rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .period {
        font-size: 0.9rem;
    }
    
    .pricing-features {
        margin-bottom: 25px;
    }
    
    .pricing-features li {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    .btn-outline,
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .popular-badge {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta {
        padding: 60px 20px;
    }
    
    .cta-content {
        padding: 0 10px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .btn-primary.large {
        font-size: 1.1rem;
        padding: 16px 32px;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-note {
        font-size: 0.85rem;
        margin-top: 20px;
        padding: 0 20px;
        line-height: 1.4;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

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

.feature-card,
.pricing-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Login Page Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 120px 20px 40px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.login-header p {
    color: #6e6e73;
    font-size: 1rem;
}

.login-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 4px;
}

.btn-primary.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.form-links {
    text-align: center;
}

.form-links a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-links a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6b7280;
    font-size: 0.9rem;
}

.btn-social {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-social:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer p {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.5;
}

.login-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    border: 1px solid #fecaca;
}

.success-message {
    background: #f0fdf4;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    border: 1px solid #bbf7d0;
}

/* Responsive Design for Login */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-logo {
        height: 50px;
    }
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    position: relative;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for sidebar */
.dashboard-sidebar::-webkit-scrollbar {
    display: none;
}

/* Mobile Logo */
.mobile-logo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 120px;
    align-items: center;
    justify-content: center;
}

.mobile-logo-image {
    height: 110px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f8fafc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn svg {
    color: #374151;
    width: 20px;
    height: 20px;
}

/* Desktop only elements */
.desktop-only {
    display: block;
}

/* Sidebar Logo */
.sidebar-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.sidebar-logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sidebar-logo-image:hover {
    transform: scale(1.05);
}


.sidebar-nav {
    flex: 1;
    padding: 0 16px 20px 16px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-bottom: 6px;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.nav-item .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-item .nav-link:hover::before {
    opacity: 0.1;
}

.nav-item .nav-link:hover {
    color: #3b82f6;
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.nav-item.active .nav-link {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.nav-item.active .nav-link::before {
    opacity: 0;
}

.nav-item .nav-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-item .nav-link:hover svg {
    transform: scale(1.1);
}

.nav-item .nav-link span {
    position: relative;
    z-index: 1;
}

.sidebar-stats {
    padding: 12px 10px;
    background: #ffffff;
    margin: 0 16px 20px 16px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    background: transparent;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item:hover {
    background: #f9fafb;
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #dbeafe;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.stat-icon-heart,
.stat-icon-message,
.stat-icon-image,
.stat-icon-profile {
    background: #eff6ff;
    border-color: #dbeafe;
}

.stat-icon-heart svg path,
.stat-icon-message svg,
.stat-icon-image svg,
.stat-icon-profile svg {
    color: #3b82f6;
    fill: #3b82f6;
    stroke: #3b82f6;
}

.stat-item:hover .stat-icon {
    transform: scale(1.03);
    background: #dbeafe;
    border-color: #93c5fd;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1.2;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.75rem;
    color: #6e6e73;
    font-weight: 500;
    white-space: nowrap;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.01em;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Training Container */
.training-container {
    flex: 1;
    padding: 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #374151;
    margin: 0 0 8px 0;
    letter-spacing: -0.04em;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}

.dashboard-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}

.plan-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.plan-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.training-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.training-card:hover::before {
    opacity: 0.05;
}

.training-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.training-card.locked {
    background: #f8f9fa;
    border-color: #e9ecef;
    opacity: 0.7;
}

.training-card.locked:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

.training-icon {
    width: 160px;
    height: 160px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.training-card-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.training-card.locked .training-icon {
    background: #6c757d;
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.training-card:hover .training-icon {
    transform: scale(1.05);
    box-shadow: none;
}

.training-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.training-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.training-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #10b981;
    color: white;
    position: relative;
    z-index: 1;
}

.training-status.locked {
    background: #6c757d;
    color: white;
}

.training-btn {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.training-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.training-btn:active {
    transform: translateY(0);
}

.training-btn.locked {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.training-btn.locked:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.upgrade-btn {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    margin: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.chat-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 6px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.action-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.message {
    display: flex;
    gap: 16px;
    max-width: 85%;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.ai-message {
    align-self: flex-start;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.message-content {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    backdrop-filter: blur(10px);
}

.message-content::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #ffffff transparent transparent;
}

.user-message .message-content {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.user-message .message-content::before {
    left: auto;
    right: -8px;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #3b82f6;
}

.message-content p {
    margin: 0 0 12px 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.message-time {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Chat Input */
.chat-input-container {
    padding: 24px 32px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    position: relative;
}

.chat-input {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 28px;
    padding: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.chat-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 28px;
}

.chat-input:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.chat-input:focus-within::before {
    opacity: 0.05;
}

.chat-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 24px;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.chat-input input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.send-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
}

.send-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.send-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }
    
    .dashboard-main {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: static;
        order: 2;
    }
    
    .dashboard-main {
        margin-left: 0;
        order: 1;
    }
    
    .chat-container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .chat-header {
        padding: 15px 20px;
    }
    
    .chat-messages {
        padding: 20px;
    }
    
    .chat-input-container {
        padding: 15px 20px;
    }
}

/* Training Grid Responsive */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .training-container {
        padding: 20px;
    }
    
    .training-card {
        padding: 24px 18px;
    }
    
    .training-icon {
        width: 140px;
        height: 140px;
        margin-bottom: 16px;
    }
    
    .training-card h3 {
        font-size: 1.2rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .dashboard-title::after {
        width: 30px;
        height: 1.5px;
    }
    
    .plan-indicator {
        align-self: flex-end;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* Mobile Sidebar Styles */
@media (max-width: 768px) {
    .mobile-logo {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .dashboard-sidebar {
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        overflow: hidden;
        z-index: 1001;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
    }
    
    .dashboard-sidebar.open {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding-top: 120px;
    }
    
    .mobile-overlay {
        display: none;
    }
    
    .sidebar-nav {
        padding: 20px;
    }
    
    .sidebar-stats {
        margin: 0 20px 20px 20px;
    }
}

/* Simplified Footer for Dashboard */
.dashboard-layout + .footer .footer-content {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-layout + .footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dashboard-layout + .footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-layout + .footer .footer-brand p {
    color: #a1a1a6;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Partner Selection Styles */
.all-partners-container {
    position: relative;
}

.partner-selection-container {
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f8fafc;
}

.back-button-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.back-btn:hover {
    background: #e2e8f0;
    color: #374151;
    transform: translateX(-2px);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

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

.partner-flag {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.partner-flag-img {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    margin-bottom: 12px;
}

.profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.partner-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.partner-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.partner-btn:active {
    transform: translateY(0);
}


/* Responsive Design for Partner Selection */
@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .partner-card {
        padding: 24px 20px;
    }
    
    .partner-flag {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    .partner-flag-img {
        width: 40px;
        height: 30px;
        margin-bottom: 10px;
    }
    
    .partner-card h3 {
        font-size: 1.25rem;
    }
    
    .partner-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .partner-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Back Button Styles */
.back-button-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
}

/* American Girls Selection Styles */

.american-girls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.american-girl-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.american-girl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.american-girl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.american-girl-card:hover::before {
    opacity: 1;
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.american-girl-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.american-girl-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.partner-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .american-girls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .american-girl-card {
        padding: 24px 20px;
    }
    
    .profile-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .american-girl-card h3 {
        font-size: 1.25rem;
    }
    
    .american-girl-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .partner-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.girl-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 5px 0;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.girl-personality {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 5px 0 15px 0;
    font-weight: 400;
    max-height: 60px;
    overflow: hidden;
}

.girl-select-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: auto;
}

.girl-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Responsive Design for American Girls */
@media (max-width: 768px) {
    .american-girls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .american-girl-card {
        padding: 24px 20px;
    }
    
    .american-girl-card h3 {
        font-size: 1.25rem;
    }
    
    .american-girl-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .american-girl-card .partner-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Lesson Content Styles */
.lesson-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lesson-question {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.lesson-question h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #1d1d1f 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lesson-progress {
    color: #007aff;
    font-size: 1rem;
    font-weight: 600;
    background: #f0f8ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #e3f2fd;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.answer-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.answer-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;
}

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

.answer-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.answer-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.answer-btn.selected {
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.4);
}

.answer-btn.correct {
    background: linear-gradient(135deg, #34c759 0%, #28a745 100%);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
    animation: correctPulse 0.6s ease-in-out;
}

.answer-btn.incorrect {
    background: linear-gradient(135deg, #ff3b30 0%, #dc3545 100%);
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.4);
    animation: incorrectShake 0.6s ease-in-out;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes incorrectShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.answer-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.answer-btn:hover .answer-letter {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.answer-btn.selected .answer-letter {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.answer-btn.correct .answer-letter {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.answer-btn.incorrect .answer-letter {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.answer-text {
    flex: 1;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lesson-feedback {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lesson-feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #34c759, #ff3b30);
}

.feedback-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.feedback-content h3.correct {
    color: #34c759;
    text-shadow: 0 2px 4px rgba(52, 199, 89, 0.3);
}

.feedback-content h3.incorrect {
    color: #ff3b30;
    text-shadow: 0 2px 4px rgba(255, 59, 48, 0.3);
}

.feedback-content p {
    color: #6e6e73;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.next-question-btn {
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-question-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.4);
}

.next-question-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .lesson-content {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .lesson-question {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .lesson-question h2 {
        font-size: 1.5rem;
    }
    
    .answer-btn {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .answer-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 1rem;
    }
    
    .lesson-feedback {
        padding: 2rem;
    }
    
    .feedback-content h3 {
        font-size: 1.5rem;
    }
}
