/*
 * SentinelPlayer Styles - Cleaned and Optimized Version
 * Author: Saifullah
 * Website: saifullah.ai
 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
    max-width: 100vw;
}

/* Prevent horizontal overflow */
* {
    max-width: 100%;
    box-sizing: border-box;
}

body[lang="ar"], body[lang="ur"], body[lang="fa"], body[lang="dv"] {
    direction: rtl;
}

body[lang="zh"] {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

body[lang="hi"] {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}


body[lang="ja"] {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

body[lang="ko"] {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
}

body[lang="th"] {
    font-family: 'Noto Sans Thai', 'Inter', sans-serif;
}

/* Steps grid - how it works section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    justify-items: center;
}

.steps .step:nth-child(4):nth-last-child(1) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .steps .step:nth-child(4):nth-last-child(1) {
        grid-column: span 1;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .steps .step:nth-child(4):nth-last-child(1) {
        grid-column: 2 / 3;
        max-width: none;
    }
}




/* Navigation left - logo area - now using display: contents below */

/* Logo Styling */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.navbar-logo {
    flex-shrink: 0;
    position: relative;
    z-index: 9998;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.navbar-logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Legacy SVG support if needed */
.nav-left svg {
    flex-shrink: 0;
    position: relative;
    z-index: 9998;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}


body[lang="te"] {
    font-family: 'Noto Sans Telugu', 'Inter', sans-serif;
}

body[lang="ta"] {
    font-family: 'Noto Sans Tamil', 'Inter', sans-serif;
}

body[lang="pa"] {
    font-family: 'Noto Sans Gurmukhi', 'Inter', sans-serif;
}

body[lang="bn"] {
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

body[lang="fa"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

body[lang="ur"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

body[lang="dv"] {
    font-family: 'Noto Sans Thaana', 'Inter', sans-serif;
}

body[lang="dz"] {
    font-family: 'Noto Sans Tibetan', 'Inter', sans-serif;
}

/* ===== LAYOUT & BASE STYLES ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* ===== HERO SECTION - REDESIGNED ===== */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    margin: 30px auto;
    padding: 60px 50px;
    border-radius: 32px;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

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

/* Trust Badge */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1.5px solid rgba(103, 126, 234, 0.3);
}

.trust-icon {
    font-size: 1.1em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.trust-text {
    font-size: 0.9em;
    font-weight: 600;
    color: #667eea;
    letter-spacing: 0.3px;
}

/* Hero Headline */
.hero-headline {
    margin: 0 0 25px 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-headline-main {
    font-size: 3.2em;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    display: block;
}

.hero-headline-sub {
    font-size: 3.8em;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: -0.03em;
}

/* Hero Description */
.hero-description {
    font-size: 1.2em;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 auto 35px;
    max-width: 650px;
    font-weight: 400;
}

/* Legacy hero styles for old h2/p tags if any exist elsewhere */
.hero h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-base {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

/* Primary download button */
.download-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.5em;
    letter-spacing: 2px;
    gap: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: #3730a3;
    color: #ffffff;
}

.download-btn:active {
    transform: translateY(-2px);
}

.support-plea {
    font-size: 1em;
    color: #666;
    margin-top: 20px;
    margin-bottom: 0;
}

.support-plea a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.support-plea a:hover {
    border-color: #667eea;
}

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    margin: -5px 20px 20px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
    position: relative;
}

.trust-item {
    font-size: 1em;
    font-weight: 600;
    color: #555;
    transition: color 0.3s ease;
}

.trust-item:hover {
    color: #764ba2;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 20px;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 4em;
    height: 4em;
    margin: 0 auto 20px auto;
    display: block;
    text-align: center;
    color: #667eea; /* Or any other suitable color */
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.feature-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.5;
}

.testimonials-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 40px 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Center single testimonial card when it's alone in a row */
.testimonial-card:last-child:nth-child(odd) {
    max-width: 400px;
    justify-self: center;
}

/* ===== RESPONSIVE STYLES ===== */
/* Reset centering when there are even number of cards or when screen is narrow */
@media (max-width: 768px) {
    .testimonial-card:last-child:nth-child(odd) {
        max-width: none;
        justify-self: stretch;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

.testimonial-text {
    font-size: 1.1em;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 1em;
    font-weight: 700;
    color: #667eea;
    text-align: right;
}

.how-it-works {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

/* Steps - how it works section - duplicate removed */

.step {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.step p {
    font-size: 1.1em;
    line-height: 1.4;
}

/* ===== FEATURES SECTION STYLES ===== */
.features-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #444;
    font-size: 0.95em;
}

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95), rgba(34, 34, 34, 0.95));
    color: white;
    margin: 20px;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 50px 40px 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-section:first-child {
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-logo-svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-logo-text {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
}

.footer-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 280px;
}

.footer-section h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
    display: inline-block;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-languages a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-languages a:hover {
    background: rgba(102, 126, 234, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-bottom-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-social {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== NAVIGATION COMPONENTS ===== */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.main-navbar .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px clamp(20px, 3vw, 40px);
    box-sizing: border-box;
}

.main-navbar .nav-left {
    display: contents;
}

.main-navbar .nav-center {
    display: contents;
}

.main-navbar .nav-right {
    display: contents;
}

.main-navbar .creative-language-selector {
    display: contents;
}

.main-navbar .nav-left svg {
    width: 40px;
    height: 40px;
}

.main-navbar .nav-center .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-navbar .nav-center .nav-link:hover {
    color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.main-navbar .nav-center .nav-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    color: #5a52d5;
}

.main-navbar .nav-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 10px 20px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    border: 1px solid transparent;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    gap: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-download-btn:hover {
    background: #3730a3;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1em;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-download-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    gap: 8px;
}

.mobile-download-btn:hover {
    background: #3730a3;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

 @media (max-width: 768px) {
    .main-navbar .nav-center {
        display: none;
    }
    
    .main-navbar .nav-right .language-selector {
        display: none;
    }
    
    .main-navbar .nav-download-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-container {
        padding: 10px 20px;
    }
    
    body {
        padding-top: 90px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    /* Improve mobile touch targets */
    .btn-base,
    .download-btn,
    .nav-download-btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 12px;
    }

    /* Mobile-optimized language selector */
    .language-panel {
        width: 95vw;
        max-width: 400px;
        max-height: 70vh;
    }

    .language-item {
        padding: 16px 20px;
        min-height: 60px;
    }

    /* Better mobile typography */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    h1, h2, h3 {
        line-height: 1.3;
    }
}

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

.nav-language-selector {
    margin-right: 15px;
}

.nav-language-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-language-selector select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-language-selector select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.mobile-navbar-language-selector {
    display: none;
}

.mobile-navbar-language-selector select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 80px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-navbar-language-selector select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.mobile-navbar-language-selector select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
    border-color: #667eea;
}

.mobile-language-selector {
    display: none;
}

.language-selector {
    display: none;
}

body > select,
main select:not(.nav-language-selector select):not(.mobile-navbar-language-selector select):not(.mobile-language-selector select) {
    display: none;
}

 @media (max-width: 768px) {
    .nav-language-selector {
        display: none;
    }
    
    .mobile-navbar-language-selector {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
    }
    
    .mobile-language-selector {
        display: none;
    }
    
    /* Ensure navbar container allows for centered positioning */
    .nav-container {
        position: relative;
    }
}

 @media (min-width: 769px) {
    .nav-language-selector {
        display: block;
    }
    
    .mobile-navbar-language-selector {
        display: none;
    }
    
    .mobile-language-selector {
        display: none;
    }
}

 @media (max-width: 768px) {
    .support-donation-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .support-donation-section > div {
        max-width: 100%;
    }
    
    .bmc-qr-code {
        width: 100px;
        height: 100px;
    }
}

a[href*="buymeacoffee"]:hover {
    background: #FFE066;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

 @media (max-width: 768px) {
    .container { 
        margin: 5px; 
        padding: 0;
    }
    
    .hero { 
        margin: 5px; 
        padding: 20px 15px; 
        border-radius: 15px;
    }
    
    .hero h2 { 
        font-size: 1.4em; 
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero p { 
        font-size: 0.95em; 
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .download-btn { 
        padding: 12px 20px; 
        font-size: 0.9em;
        letter-spacing: 1px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        box-sizing: border-box;
    }

    .trust-bar {
        flex-direction: column;
        gap: 10px;
        margin: -5px 5px 15px 5px;
        padding: 15px;
    }

    .trust-item {
        font-size: 0.9em;
    }
    
    .features { 
        grid-template-columns: 1fr; 
        gap: 15px;
        margin: 20px 5px;
    }
    
    .feature-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .feature-card h3 { 
        font-size: 1.3em; 
    }
    
    .feature-card p { 
        font-size: 0.95em; 
    }
    
    .feature-icon { 
        font-size: 2.5em; 
    }

    .testimonials-section {
        margin: 20px 5px;
        padding: 20px 15px;
    }

    .testimonials-section h2 {
        font-size: 1.6em;
    }
    
    /* How It Works Section */
    .how-it-works {
        margin: 10px;
        padding: 25px 16px;
        border-radius: 15px;
    }

    .how-it-works h2 {
        font-size: 1.6em !important;
        margin-bottom: 20px;
    }

    .how-it-works .intro-text {
        font-size: 0.95em !important;
        padding: 16px 20px;
    }
    
    .steps { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    
    .step {
        padding: 15px;
    }
    
    .step-number { 
        font-size: 2em; 
    }
    
    .step h3 { 
        font-size: 1.2em; 
    }
    
    .step p { 
        font-size: 0.9em; 
    }
    
    /* Mission Statement - Avatar Example */
    .mission-statement {
        margin: 10px;
        padding: 25px 16px;
        border-radius: 15px;
    }

    .mission-statement h2 {
        font-size: 1.4em !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .mission-statement p {
        font-size: 0.95em !important;
        line-height: 1.5;
    }

    .skip-segments {
        padding: 12px;
        margin: 15px 0;
    }

    .skip-segments li {
        font-size: 0.9em !important;
        padding: 6px 0;
    }

    /* Features Section */
    .features-section {
        margin: 10px;
        padding: 25px 16px;
    }

    .features-section h2 {
        font-size: 1.6em !important;
        margin-bottom: 25px;
    }

    /* Support Development Section */
    .support-section {
        margin: 10px;
        padding: 25px 16px;
        border-radius: 15px;
    }

    .support-section h2 {
        font-size: 1.5em !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .support-content {
        padding: 16px;
    }

    /* FAQ Section */
    .faq-section {
        margin: 10px;
        padding: 25px 16px;
    }

    .faq-section h2 {
        font-size: 1.6em !important;
        margin-bottom: 20px;
    }

    /* Contact Info */
    .contact-info-section {
        margin: 15px 10px;
        padding: 20px 16px;
    }

    .contact-info-section h3 {
        font-size: 1.3em !important;
        margin-bottom: 15px;
    }

    .contact-link {
        font-size: 0.95em !important;
        padding: 12px 16px;
        word-break: break-all;
    }
    
    .support-content { 
        padding: 20px 15px; 
        margin: 15px 0; 
    }
    
    .support-content h3 { 
        font-size: 1.4em; 
    }
    
    .support-content p { 
        font-size: 0.95em; 
    }
    
    .support-highlight-box {
        padding: 20px 15px;
    }

    .support-highlight-box h4 {
        font-size: 1.2em;
    }

    .support-highlight-box li {
        font-size: 0.95em;
    }
    
    .support-donation-section { 
        flex-direction: column; 
        gap: 20px; 
    }
    
    .donation-container { 
        padding: 15px; 
    }
    
    .bmc-qr-code { 
        width: 100px; 
        height: 100px; 
    }
    
    .donation-button-main { 
        font-size: 1.1em; 
        padding: 15px 30px; 
        width: 100%; 
        max-width: 280px; 
    }
    
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 10px; 
        margin-top: 20px; 
    }
    
    .contact-button { 
        font-size: 0.9em; 
        padding: 12px 15px; 
    }
        
    .inspiring-quote { 
        font-size: 1em; 
    }
    
    .footer { 
        margin: 10px; 
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 25px 20px 25px;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-section:first-child {
        order: -1;
    }
    
    .footer-languages {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 25px 25px;
    }
    
    .footer-bottom-content p { 
        font-size: 0.95em; 
    }
    
    /* Download Section Mobile */
    .download-section {
        margin: 5px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .download-section h2 {
        font-size: 2em;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .download-feature {
        font-size: 0.85em;
        padding: 10px 12px;
    }
    
    .download-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .meta-item {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    
    .download-btn-main {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    
    .download-note {
        font-size: 0.8em;
        padding: 12px;
    }
    
    /* Use Cases Section Mobile */
    .use-cases {
        margin: 5px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .use-cases h2 {
        font-size: 1.8em;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-case-card {
        padding: 25px 15px;
        min-height: auto;
        max-width: none;
    }
    
    .use-case-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }
    
    .use-case-card h3 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }
    
    .use-case-card p {
        font-size: 1em;
        line-height: 1.5;
    }

    /* FAQ Section Mobile */
    .faq-section {
        margin: 5px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .faq-section h2 {
        font-size: 1.8em;
    }
    
    .faq-question {
        font-size: 1em;
        padding: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .faq-answer p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    /* Overall layout adjustments */
    body {
        padding-top: 80px;
    }
    
    .container {
        margin: 2px;
        padding: 0;
    }
    
    /* Hero section */
    .hero { 
        margin: 5px;
        padding: 20px 10px;
        border-radius: 15px;
    }
    
    .hero h2 { 
        font-size: 1.4em; 
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero p { 
        font-size: 0.9em; 
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .download-btn { 
        font-size: 1em;
        padding: 12px 20px;
        width: 90%;
        max-width: 280px;
    }
    
    /* Features section mobile */
    .features {
        margin: 10px 5px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        margin: 0;
        padding: 20px 15px;
        border-radius: 15px;
        min-width: auto;
        max-width: 95%;
        flex: none;
        width: 100%;
    }
    
    .feature-card h3 { 
        font-size: 1.2em; 
        margin-bottom: 10px;
    }
    
    .feature-card p { 
        font-size: 0.9em; 
        line-height: 1.4;
    }
    
    .feature-icon { 
        width: 3em;
        height: 3em;
        margin-bottom: 15px;
    }
    
    /* Trust bar mobile */
    .trust-bar {
        margin: 5px;
        padding: 15px 10px;
        flex-direction: column;
        gap: 10px;
        border-radius: 15px;
    }
    
    .trust-item {
        font-size: 0.85em;
        text-align: center;
    }
    
    /* Technical specs mobile */
    .tech-specs {
        margin: 5px;
        padding: 20px 10px;
        border-radius: 15px;
    }
    
    .tech-specs h2 {
        font-size: 1.5em;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .spec-card {
        padding: 15px;
    }
    
    /* How It Works Section */
    .how-it-works {
        margin: 8px;
        padding: 20px 12px;
        border-radius: 12px;
    }

    .how-it-works h2 {
        font-size: 1.4em !important;
        margin-bottom: 16px;
    }

    .how-it-works .intro-text {
        font-size: 0.9em !important;
        padding: 14px 16px;
    }
    
    .steps {
        gap: 15px;
    }
    
    .step {
        padding: 15px;
    }
    
    /* Download Section Mobile */
    .download-section {
        margin: 5px;
        padding: 25px 10px;
        border-radius: 15px;
    }
    
    .download-section h2 {
        font-size: 1.8em;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .download-info h3 {
        font-size: 1.3em;
    }
    
    .download-info p {
        font-size: 1em;
    }
    
    .download-features {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .download-feature {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    
    .download-btn-main {
        font-size: 1.1em;
        padding: 15px 25px;
        width: 90%;
    }
    
    .download-meta {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .meta-item {
        font-size: 0.8em;
        padding: 8px 12px;
        text-align: center;
    }
    
    .download-note {
        font-size: 0.8em;
        padding: 12px;
    }
    
    /* Use Cases Section Mobile */
    .use-cases {
        margin: 5px;
        padding: 25px 10px;
        border-radius: 15px;
    }
    
    .use-cases h2 {
        font-size: 1.6em;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .use-case-card {
        padding: 20px 12px;
        min-height: auto;
        max-width: none;
    }
    
    .use-case-icon {
        font-size: 2.8em;
        margin-bottom: 12px;
    }
    
    .use-case-card h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .use-case-card p {
        font-size: 0.95em;
        line-height: 1.4;
    }

    /* FAQ Section Mobile */
    .faq-section {
        margin: 5px;
        padding: 20px 10px;
        border-radius: 15px;
    }
    
    .faq-section h2 {
        font-size: 1.5em;
    }
    
    .faq-item {
        margin-bottom: 12px;
        border-radius: 10px;
    }
    
    .faq-question {
        font-size: 0.95em;
        padding: 12px 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .faq-answer p {
        font-size: 0.85em;
        line-height: 1.5;
    }
    
    /* Mission Statement - Avatar Example */
    .mission-statement {
        margin: 8px;
        padding: 20px 12px;
        border-radius: 12px;
    }

    .mission-statement h2 {
        font-size: 1.2em !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .mission-statement p {
        font-size: 0.85em !important;
        line-height: 1.4;
    }

    .skip-segments {
        padding: 10px;
        margin: 12px 0;
    }

    .skip-segments li {
        font-size: 0.85em !important;
        padding: 5px 0;
    }

    /* Features Section */
    .features-section {
        margin: 8px;
        padding: 20px 12px;
    }

    .features-section h2 {
        font-size: 1.4em !important;
        margin-bottom: 20px;
    }

    /* Support Development Section */
    .support-section {
        margin: 8px;
        padding: 20px 12px;
        border-radius: 12px;
    }

    .support-section h2 {
        font-size: 1.3em !important;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .support-content {
        padding: 12px;
    }

    /* FAQ Section */
    .faq-section {
        margin: 8px;
        padding: 20px 12px;
    }

    .faq-section h2 {
        font-size: 1.4em !important;
        margin-bottom: 16px;
    }

    /* Contact Info */
    .contact-info-section {
        margin: 12px 8px;
        padding: 16px 12px;
    }

    .contact-info-section h3 {
        font-size: 1.1em !important;
        margin-bottom: 12px;
    }

    .contact-link {
        font-size: 0.85em !important;
        padding: 10px 12px;
        word-break: break-all;
    }
    
    .support-content {
        padding: 15px;
        margin: 15px 0;
    }
    
    .support-content h3 { 
        font-size: 1.3em; 
    }
    
    .support-content p { 
        font-size: 0.9em; 
    }
    
    
    .support-highlight-box {
        padding: 15px;
        margin: 20px 0;
    }
    
    .support-highlight-box h4 { 
        font-size: 1.2em; 
    }
    
    .support-highlight-box li { 
        font-size: 0.9em; 
    }
    
    .bmc-qr-code { 
        width: 80px; 
        height: 80px; 
    }
    
    .donation-button-main { 
        font-size: 1.1em; 
        padding: 15px 25px; 
        max-width: 250px; 
        width: 90%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .contact-button { 
        font-size: 0.9em; 
        padding: 12px 15px; 
    }
        
    .inspiring-quote { 
        font-size: 1em; 
    }
    
    /* Footer mobile */
    .footer {
        margin: 5px;
        border-radius: 15px;
    }
    
    .footer-content {
        padding: 30px 20px 15px 20px;
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 1em;
    }
    
    .footer-languages a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
    
    .footer-bottom {
        padding: 20px 20px;
    }
    
    .footer-bottom-content p {
        font-size: 0.9em;
    }
    
    .footer-social {
        font-size: 0.85em;
    }
}

.mission-statement {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.mission-statement h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.mission-statement p {
    font-size: 1.4em;
    color: #fff;
    margin: 25px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.support-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e6f0 100%);
    margin: 20px;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #667eea;
}

.support-section h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.support-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.support-content h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.support-content p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}


.support-highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.support-highlight-box h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.support-highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.support-highlight-box li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.support-highlight-box li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    top: 2px;
    color: #4ecdc4;
}

.mission-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.mission-box h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.mission-box ul {
    list-style: none;
    padding-left: 0;
}

.mission-box li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.mission-box li::before {
    content: '🌟';
    position: absolute;
    left: 0;
    top: 2px;
}

.vision-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.vision-box h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.vision-box ul {
    list-style: none;
    padding-left: 0;
}

.vision-box li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.vision-box li::before {
    content: '🔹';
    position: absolute;
    left: 0;
    top: 2px;
}


.support-donation-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.donation-container {
    text-align: center;
}

.bmc-qr-code {
    width: 140px;
    height: 140px;
    border-radius: 15px;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.donation-button-container {
    text-align: center;
}

/* Donation button in support section */
.donation-button-main {
    background: #dc2626;
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.4em;
    display: inline-block;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.donation-button-main:hover {
    background: #991b1b;
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced donation section styles */
.developer-trust-section {
    margin-bottom: 25px;
}

.value-proposition {
    text-align: center;
    font-size: 1.05em;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.professional-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-link-text {
    font-size: 0.95em;
    color: #666;
}

.support-section {
    padding: 40px 20px;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}


.donation-methods {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.donation-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.quick-amounts {
    text-align: center;
}

.quick-amounts-label {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.amount-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.amount-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 85px;
    position: relative;
}

.amount-btn:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 1);
}

.amount-btn.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: scale(1.05);
}

.amount-btn.featured::before {
    content: "⭐";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffd700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.amount-btn.featured:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
}

.amount-btn .amount {
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.amount-btn.featured .amount {
    color: white;
}

.amount-btn .description {
    font-size: 0.8em;
    color: #666;
    font-weight: 500;
}

.amount-btn.featured .description {
    color: rgba(255, 255, 255, 0.9);
}

.donation-button-enhanced {
    display: inline-block;
    transition: all 0.3s ease;
}

.donation-button-enhanced:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.1);
}

.bmc-button-img {
    height: 60px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 140px;
}

.trust-icon {
    font-size: 1.5em;
}

.trust-indicator span:last-child {
    font-size: 0.85em;
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .developer-profile {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .developer-photo {
        width: 70px;
        height: 70px;
    }

    .donation-methods {
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }

    .donation-options {
        width: 100%;
        max-width: 320px;
    }

    .amount-buttons {
        gap: 10px;
    }

    .amount-btn {
        min-width: 75px;
        padding: 12px 16px;
    }

    .amount-btn .amount {
        font-size: 1.2em;
    }

    .amount-btn .description {
        font-size: 0.75em;
    }

    .trust-indicators {
        gap: 15px;
    }

    .trust-indicator {
        min-width: 120px;
        padding: 12px 15px;
    }
}

/* CONVERSION OPTIMIZATION STYLES */

/* Enhanced Hero Section */
.hero-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

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

.hero-subtitle {
    margin: 20px 0;
}

.hero-subtitle p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px;
}

/* Hero Guarantee */
.hero-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #718096;
    padding: 0;
    border-radius: 0;
    font-weight: 400;
    border: none;
    font-size: 0.9em;
    margin-top: 20px;
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 700;
}

.guarantee-text {
    color: #718096;
}

/* Hero Footer */
.hero-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-creator {
    font-size: 0.9em;
    color: #a0aec0;
    margin: 0;
    font-weight: 400;
}

.creator-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.creator-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Hero Benefits Pills */
.hero-benefits {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 0 0 40px 0;
    flex-wrap: wrap;
}

.benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 0.95em;
    border: 1px solid rgba(103, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(103, 126, 234, 0.2);
    border-color: rgba(103, 126, 234, 0.4);
}

.benefit-icon {
    font-size: 1.2em;
    display: inline-block;
}

.benefit-text {
    color: #2d3748;
    font-size: 0.95em;
    white-space: nowrap;
}

.hero-cta-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Main CTA Button - Primary Action */
.hero-main-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 50px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 24px rgba(103, 126, 234, 0.35);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-main-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 ease;
}

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

.hero-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(103, 126, 234, 0.45);
}

.btn-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
    display: block;
}

.btn-text {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: block;
}

.btn-subtitle {
    font-size: 0.75em;
    opacity: 0.9;
    margin-top: 4px;
    font-weight: 500;
    display: block;
}

/* Secondary Buttons */
.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border: 1.5px solid rgba(103, 126, 234, 0.4);
}

.hero-secondary-btn:hover {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(103, 126, 234, 0.2);
}

.hero-tertiary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.5);
    color: #4a5568;
    border: 1.5px solid rgba(103, 126, 234, 0.3);
}

.hero-tertiary-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(103, 126, 234, 0.5);
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(103, 126, 234, 0.15);
}

.btn-icon-small {
    font-size: 1.1em;
}

/* Desktop: Group secondary buttons in a row */
.hero-secondary-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (min-width: 769px) {
    .hero-cta-container {
        gap: 15px;
    }

    .hero-main-btn {
        margin-bottom: 5px;
    }

    .hero-secondary-buttons {
        gap: 15px;
    }
}

.hero-urgency {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.95em;
    margin: 10px 0;
}

.hero-value-prop {
    margin-top: 25px;
}

.value-statement {
    font-style: italic;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.inline-support-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
}

/* Impact Stats */
.innovation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0 50px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2em;
    font-weight: 800;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #555;
    font-size: 0.9em;
    font-weight: 500;
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.vision-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.vision-card.featured {
    border-color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(255, 255, 255, 0.98));
}

.vision-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.vision-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.vision-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

.testimonial-footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
}

.testimonial-cta {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.testimonial-support-btn {
    font-size: 1.1em;
    padding: 15px 30px;
    background: #667eea;
    color: white;
    border: none;
}

.testimonial-support-btn:hover {
    background: #5a67d8;
    color: white;
    transform: translateY(-2px) scale(1.05);
}

/* Support Section Enhancements */
.vision-banner {
    background: linear-gradient(45deg, #7c3aed, #2563eb);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.vision-content {
    color: white;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vision-banner-icon {
    font-size: 1.3em;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes rocket {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.innovation-roadmap {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.innovation-roadmap h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    border-left: 4px solid #10b981;
    position: relative;
}

.roadmap-icon {
    font-size: 1.3em;
    color: #10b981;
}

.roadmap-text {
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
    flex-grow: 1;
}

.progress-bar {
    font-size: 0.8em;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #10b981;
}

/* Enhanced Donation Buttons */
.amount-btn .impact {
    font-size: 0.7em;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

.amount-btn.featured .impact {
    color: rgba(255, 255, 255, 0.8);
}

.social-proof {
    text-align: center;
    margin-top: 15px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9em;
}

/* Post-Download CTA */
.post-download-cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.cta-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.cta-text {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 700;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(51, 51, 51, 0.1);
}

/* Responsive optimizations */
@media (max-width: 768px) {
    /* Hero Section - Mobile */
    .hero {
        margin: 15px 10px;
        padding: 40px 25px;
        border-radius: 24px;
    }

    .hero::before {
        height: 3px;
    }

    /* Trust Badge */
    .hero-trust-badge {
        padding: 6px 16px;
        margin-bottom: 20px;
        font-size: 0.85em;
    }

    .trust-icon {
        font-size: 1em;
    }

    .trust-text {
        font-size: 0.8em;
    }

    /* Hero Headline */
    .hero-headline {
        margin-bottom: 20px;
        gap: 6px;
    }

    .hero-headline-main {
        font-size: 1.8em;
        line-height: 1.2;
    }

    .hero-headline-sub {
        font-size: 2.2em;
        line-height: 1.1;
    }

    /* Hero Description */
    .hero-description {
        font-size: 1em;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    /* Hero Benefits Pills */
    .hero-benefits {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 30px;
    }

    .benefit {
        width: 100%;
        max-width: none;
        padding: 12px 20px;
        justify-content: center;
    }

    .benefit-icon {
        font-size: 1.1em;
    }

    .benefit-text {
        font-size: 0.9em;
    }

    /* Hero CTA Container - Stack buttons vertically on mobile */
    .hero-cta-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 25px 0;
        padding: 0;
        align-items: stretch;
    }

    /* Hero secondary buttons container - stack vertically on mobile */
    .hero-secondary-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    /* Main download button - Full width on mobile */
    .hero-main-btn {
        width: 100% !important;
        max-width: none !important;
        padding: 18px 30px !important;
        margin: 0 !important;
        display: flex !important;
    }

    .btn-icon {
        font-size: 1.3em;
        margin-bottom: 3px;
    }

    .btn-text {
        font-size: 1em;
        line-height: 1.3;
        max-width: 100%;
    }

    .btn-subtitle {
        font-size: 0.7em;
        margin-top: 3px;
    }

    /* Secondary documentation button - Full width on mobile */
    .hero-secondary-btn {
        width: 100% !important;
        max-width: none !important;
        font-size: 0.95em !important;
        padding: 13px 20px !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center;
    }

    /* Tertiary shortcuts button - Full width on mobile */
    .hero-tertiary-btn {
        width: 100% !important;
        max-width: none !important;
        font-size: 0.95em !important;
        padding: 13px 20px !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center;
    }

    .btn-icon-small {
        font-size: 1em;
    }

    /* Hero Guarantee */
    .hero-guarantee {
        margin-top: 15px;
        font-size: 0.85em;
        flex-wrap: wrap;
        justify-content: center;
    }

    .guarantee-icon {
        width: 16px;
        height: 16px;
        font-size: 0.7em;
    }

    /* Hero Footer */
    .hero-footer {
        margin-top: 25px;
        padding-top: 20px;
    }

    .hero-creator {
        font-size: 0.85em;
    }

    .innovation-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .stat-number {
        font-size: 1.8em;
    }

    .urgency-content {
        flex-direction: column;
        gap: 5px;
    }

    .cta-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Hero Section - Extra Small Mobile */
    .hero {
        margin: 10px 8px;
        padding: 30px 20px;
        border-radius: 20px;
    }

    /* Hero Headline */
    .hero-headline-main {
        font-size: 1.5em;
    }

    .hero-headline-sub {
        font-size: 1.9em;
    }

    /* Hero Description */
    .hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* Hero Benefits */
    .benefit {
        font-size: 0.85em;
        padding: 10px 16px;
    }

    .benefit-icon {
        font-size: 1em;
    }

    .benefit-text {
        font-size: 0.85em;
    }

    /* Hero CTA Container */
    .hero-cta-container {
        padding: 0;
        gap: 10px;
        align-items: stretch;
        margin: 20px 0;
    }

    .hero-secondary-buttons {
        gap: 10px;
    }

    /* Main download button */
    .hero-main-btn {
        width: 100% !important;
        max-width: none !important;
        padding: 16px 25px !important;
        margin: 0 !important;
    }

    .btn-icon {
        font-size: 1.2em;
    }

    .btn-text {
        font-size: 1em;
    }

    .btn-subtitle {
        font-size: 0.65em;
    }

    /* Secondary buttons */
    .hero-secondary-btn {
        width: 100% !important;
        max-width: none !important;
        font-size: 0.9em !important;
        padding: 12px 18px !important;
        margin: 0 !important;
    }

    .hero-tertiary-btn {
        width: 100% !important;
        max-width: none !important;
        font-size: 0.9em !important;
        padding: 12px 18px !important;
        margin: 0 !important;
    }

    .btn-icon-small {
        font-size: 0.95em;
    }

    /* Hero Guarantee */
    .hero-guarantee {
        font-size: 0.8em;
    }

    .guarantee-icon {
        width: 15px;
        height: 15px;
        font-size: 0.65em;
    }

    /* Hero Footer */
    .hero-footer {
        margin-top: 20px;
        padding-top: 15px;
    }

    .hero-creator {
        font-size: 0.8em;
    }
}

.donation-note {
    font-size: 1em;
    color: #666;
    margin-top: 10px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.financial-support-note {
    font-size: 1em;
    color: #888;
    line-height: 1.6;
    font-style: italic;
    margin: 20px 0 30px 0;
}

.thank-you-section {
    background: linear-gradient(135deg, #ff9a9e20 0%, #fecfef20 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid rgba(255, 154, 158, 0.3);
}

.thank-you-section h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.thank-you-section p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.contact-button {
    background: #059669;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 1.1em;
    display: block;
    text-align: center;
}

.contact-button:hover {
    background: #047857;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.inspiring-quote {
    font-size: 1.3em;
    color: #555;
    margin-top: 40px;
    text-shadow: none;
    font-style: italic;
}

.hidden-seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
}


.tech-specs {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tech-specs h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

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

.spec-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

.spec-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.spec-card p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background: #f8fafc;
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
    color: #667eea;
}

.faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.faq-arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
    color: #667eea;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 20px;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    color: white;
}

.download-section h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.download-info h3 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.download-info p {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.download-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
}

.download-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-button-container {
    text-align: center;
}

.download-btn-main {
    background: #fff;
    color: #667eea;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-btn-main:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    color: #5a52d5;
}

.download-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.meta-item strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
}

.download-note {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Use Cases Section */
.use-cases {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.use-case-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 350px;
    width: 100%;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.use-case-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.use-case-card h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.use-case-card p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Video Tutorial Section */
.video-tutorial-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.video-tutorial-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.video-tutorial-section p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-description {
    margin-top: 30px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.video-description h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.video-description p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.tutorial-highlights li {
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    padding-left: 0;
}

/* Mobile Responsive for Video Tutorial */
@media (max-width: 768px) {
    .video-tutorial-section {
        margin: 40px 0;
        padding: 40px 20px;
    }
    
    .video-tutorial-section h2 {
        font-size: 2em;
    }
    
    .video-tutorial-section p {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    
    .video-container {
        padding: 0 10px;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
    
    .video-wrapper iframe {
        border-radius: 10px;
    }
    
    .video-description {
        margin-top: 20px;
        padding: 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .video-tutorial-section h2 {
        font-size: 1.8em;
    }
    
    .video-tutorial-section p {
        font-size: 1em;
    }
}

/* RTL Support for Video Tutorial */
body[dir="rtl"] .video-tutorial-section {
    text-align: center; /* Keep center alignment for video */
}

/* Creative Language Selector Styles */
.creative-language-selector {
    position: relative;
    margin-right: 0;
    margin: 0 auto;
}

.main-navbar .globe-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: 25px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 20px rgba(102, 126, 234, 0.3);
}

.globe-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 30px rgba(102, 126, 234, 0.5);
    color: #667eea;
}

.globe-button:active {
    transform: translateY(0);
}

.globe-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: globe-rotate 20s linear infinite;
    color: #667eea;
}

.globe-button:hover .globe-icon {
    color: #5a52d5;
}

@keyframes globe-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.current-language {
    font-size: 0.9em;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #667eea;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.globe-button:hover .current-language {
    color: #5a52d5;
}

.globe-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.2);
    animation: pulse-ring 4s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Language Panel */
.language-panel {
    position: fixed;
    top: 80px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    width: 500px;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px 25px 0 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    color: #333;
    margin: 0;
    right: auto;
    display: flex;
    flex-direction: column;
}

.language-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* ===== RTL LANGUAGE SUPPORT ===== */
/* Ensure language panel is always centered for all languages */
.language-panel, 
body[lang="ar"] .language-panel,
body[lang="ur"] .language-panel,
body[lang="fa"] .language-panel,
body[lang="dv"] .language-panel {
    margin-left: auto;
    margin-right: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
}

.language-panel.show, 
body[lang="ar"] .language-panel.show,
body[lang="ur"] .language-panel.show,
body[lang="fa"] .language-panel.show,
body[lang="dv"] .language-panel.show {
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Additional centering fixes for all language variations - consolidated with above */

.language-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    flex-shrink: 0;
    border-radius: 25px 25px 0 0;
}

.language-panel-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.close-panel {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    font-size: 20px;
    cursor: pointer;
    color: #667eea;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.close-panel:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #5a52d5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Language Search */
.language-search {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
}

.language-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.language-search input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Language Grid */
.language-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.language-grid::-webkit-scrollbar {
    width: 8px;
}

.language-grid::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
}

.language-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.language-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a52d5 0%, #6a4c93 100%);
    transform: scale(1.1);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.language-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.language-item.current {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateX(4px);
}

.language-item .flag {
    min-width: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-right: 12px;
}

.language-item .flag img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
}

/* Enhanced flag visibility */
@media (max-width: 768px) {
    .language-item .flag {
        font-size: 1.6em;
        min-width: 32px;
    }
}

/* Fallback for systems that don't support emoji flags */
.language-item .flag:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 15px;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    border-radius: 2px;
    margin-right: 8px;
    opacity: 0;
}

/* Show fallback only if emoji is not visible */
.language-item .flag:empty:before {
    opacity: 1;
}

/* Windows-specific emoji support enhancement */
@supports (-ms-ime-align: auto) {
    .language-item .flag {
        font-family: 'Segoe UI Emoji', 'Segoe UI Symbol', Arial, sans-serif;
        font-size: 2em;
    }
}

/* Chromium-based browsers emoji enhancement */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
    .language-item .flag {
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
        font-size: 1.9em;
        font-variation-settings: 'wght' 400;
    }
}

/* Additional flag visibility fixes */
.language-item .flag {
    word-break: keep-all;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.lang-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lang-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.lang-native {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.language-item.current .lang-name {
    color: #667eea;
}

.language-item.current .lang-native {
    color: #5a52d5;
}

/* Language Panel Footer */
.language-panel-footer {
    padding: 20px 30px 25px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 0;
    flex-shrink: 0;
}

.language-panel-footer p {
    margin: 0;
    font-size: 1em;
    color: #667eea;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* RTL Language Panel Fixes */
body[lang="ar"] .language-panel,
body[lang="ur"] .language-panel,
body[lang="fa"] .language-panel,
body[lang="dv"] .language-panel {
    direction: ltr;
    text-align: left;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    margin: 0 auto;
}

body[lang="ar"] .language-panel.show,
body[lang="ur"] .language-panel.show,
body[lang="fa"] .language-panel.show,
body[lang="dv"] .language-panel.show {
    transform: translateX(-50%) translateY(0) scale(1);
}

body[lang="ar"] .language-panel-header,
body[lang="ur"] .language-panel-header,
body[lang="fa"] .language-panel-header,
body[lang="dv"] .language-panel-header {
    direction: ltr;
    text-align: left;
}

body[lang="ar"] .language-search,
body[lang="ur"] .language-search,
body[lang="fa"] .language-search,
body[lang="dv"] .language-search {
    direction: ltr;
    text-align: left;
}

body[lang="ar"] .language-item,
body[lang="ur"] .language-item,
body[lang="fa"] .language-item,
body[lang="dv"] .language-item {
    direction: ltr;
    text-align: left;
}


/* Mobile Responsive */
/* Mobile responsive for navbar */
@media (max-width: 1200px) {
    .main-navbar .nav-container {
        max-width: 100%;
        padding: 15px 25px;
        gap: 15px;
    }

    .main-navbar .nav-center {
        gap: 18px;
    }

    .main-navbar .nav-right {
        gap: 18px;
        margin-left: 0;
    }

    .main-navbar .nav-center .nav-link {
        padding: 10px 20px;
        font-size: 0.9em;
        min-width: 80px;
    }
}

@media (max-width: 1024px) {
    .main-navbar .nav-container {
        padding: 15px 20px;
        gap: 12px;
    }

    .main-navbar .nav-center {
        gap: 15px;
    }

    .main-navbar .nav-right {
        gap: 15px;
        margin-left: 0;
    }

    .main-navbar .nav-center .nav-link {
        padding: 10px 18px;
        font-size: 0.85em;
        min-width: 75px;
    }
}

@media (max-width: 900px) {
    .main-navbar .nav-container {
        padding: 15px 15px;
        gap: 10px;
    }

    .main-navbar .nav-center {
        gap: 12px;
    }

    .main-navbar .nav-right {
        gap: 12px;
        margin-left: 0;
    }

    .main-navbar .nav-center .nav-link {
        padding: 8px 14px;
        font-size: 0.8em;
        min-width: 65px;
    }
}

@media (max-width: 768px) {
    .main-navbar .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .main-navbar .nav-left {
        flex: 0 0 auto;
    }

    .main-navbar .nav-center {
        display: none;
    }

    .main-navbar .nav-right {
        flex: 0 0 auto;
        gap: 12px;
        justify-content: flex-end;
    }
    
    .creative-language-selector {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
    }
    
    .globe-button {
        padding: 10px 14px;
        min-width: 100px;
        justify-content: center;
        text-align: center;
    }
    
    .language-panel {
        position: fixed;
        top: 70px;
        left: 50%;
        right: auto;
        bottom: 0;
        transform: translateX(-50%) scale(0.9);
        width: 85vw;
        height: calc(100vh - 70px);
        overflow: hidden;
        z-index: 1001;
        margin: 0;
    }
    
    .language-panel.show {
        transform: translateX(-50%) scale(1);
    }
    
    /* RTL Mobile Language Panel Override - 768px */
    body[lang="ar"] .language-panel,
    body[lang="ur"] .language-panel,
    body[lang="fa"] .language-panel,
    body[lang="dv"] .language-panel {
        position: fixed;
        top: 70px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) scale(0.9);
        width: 85vw;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 1001;
        direction: ltr;
        margin: 0;
    }
    
    body[lang="ar"] .language-panel.show,
    body[lang="ur"] .language-panel.show,
    body[lang="fa"] .language-panel.show,
    body[lang="dv"] .language-panel.show {
        transform: translateX(-50%) scale(1);
    }
    
    .current-language {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .globe-button {
        padding: 8px 12px;
        gap: 6px;
    }
    
    .globe-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .current-language {
        font-size: 0.75em;
    }
    
    .language-panel {
        position: fixed;
        top: 80px;
        left: 50%;
        right: auto;
        bottom: 0;
        transform: translateX(-50%);
        width: 90vw;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        z-index: 1001;
        margin: 0;
    }
    
    .language-panel-header h3 {
        font-size: 1.1em;
    }
    
    /* Enhanced mobile flag visibility */
    .language-item .flag {
        font-size: 1.4em;
        min-width: 28px;
        font-weight: bold;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        -webkit-text-stroke: 0.5px rgba(0,0,0,0.1);
    }
    
    /* Force emoji font for mobile */
    .language-item .flag {
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', sans-serif;
    }
    
    /* RTL Mobile Language Panel Override - 480px */
    body[lang="ar"] .language-panel,
    body[lang="ur"] .language-panel,
    body[lang="fa"] .language-panel,
    body[lang="dv"] .language-panel {
        position: fixed;
        top: 80px;
        left: 50%;
        right: auto;
        bottom: 0;
        transform: translateX(-50%);
        width: 90vw;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        z-index: 1001;
        direction: ltr;
        margin: 0;
    }
    
    body[lang="ar"] .language-panel.show,
    body[lang="ur"] .language-panel.show,
    body[lang="fa"] .language-panel.show,
    body[lang="dv"] .language-panel.show {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Animation for language items appearing */
.language-item {
    animation: slideInLanguage 0.3s ease-out;
}

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

/* Hide default nav-language-selector if it exists */
.nav-language-selector {
    display: none;
}

/* Blur body when language panel is open */
body.language-panel-open > *:not(.main-navbar):not(.creative-language-selector) {
    filter: blur(3px);
    transition: filter 0.3s ease;
}

body.language-panel-open {
    /* Remove overflow hidden to prevent screen shifting */
}

/* FINAL FIX: Arabic Mobile Language Panel - Alternative Positioning */
@media screen and (max-width: 768px) {
    body[lang="ar"] .language-panel,
    body[lang="ur"] .language-panel,
    body[lang="fa"] .language-panel,
    body[lang="dv"] .language-panel {
        position: fixed;
        top: 70px;
        left: 50%;
        right: auto;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        transform: translateX(-50%);
        width: 85vw;
        max-width: 85vw;
        height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        z-index: 1001;
        direction: ltr;
        margin: 0;
    }
    
    body[lang="ar"] .language-panel.show,
    body[lang="ur"] .language-panel.show,
    body[lang="fa"] .language-panel.show,
    body[lang="dv"] .language-panel.show {
        transform: translateX(-50%) scale(1);
    }
}

@media screen and (max-width: 480px) {
    body[lang="ar"] .language-panel,
    body[lang="ur"] .language-panel,
    body[lang="fa"] .language-panel,
    body[lang="dv"] .language-panel {
        position: fixed;
        top: 80px;
        left: 50%;
        right: auto;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 90vw;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        z-index: 1001;
        direction: ltr;
        margin: 0;
    }
    
    body[lang="ar"] .language-panel.show,
    body[lang="ur"] .language-panel.show,
    body[lang="fa"] .language-panel.show,
    body[lang="dv"] .language-panel.show {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Portfolio Link Styling */
.portfolio-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-link:hover {
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    -webkit-text-fill-color: #667eea;
}

.portfolio-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.portfolio-link:hover::after {
    width: 100%;
}

.portfolio-cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 1.1em;
}

.portfolio-cta .portfolio-link {
    font-size: 1.1em;
    font-weight: 700;
}

.footer .portfolio-link {
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-weight: 600;
}

.footer .portfolio-link:hover {
    -webkit-text-fill-color: #ffd700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.privacy-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 40px 0;
}

.privacy-header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-subtitle {
    font-size: 1.3em;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 300;
}

.last-updated {
    font-size: 1em;
    opacity: 0.8;
    font-weight: 300;
}

.privacy-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    color: #667eea;
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.privacy-section p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-section ul li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.privacy-section ul li strong {
    color: #667eea;
    font-weight: 600;
}

.privacy-summary {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #667eea;
    margin-top: 20px;
}

.privacy-summary p {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.privacy-summary ul li {
    color: #2e7d32;
    font-weight: 500;
}

/* Privacy Policy Links in Footer */
.footer a[href="privacy-policy.html"] {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer a[href="privacy-policy.html"]:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-decoration: none;
}

/* Responsive Design for Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-page {
        padding-top: 60px;
    }
    
    .privacy-header h1 {
        font-size: 2.5em;
    }
    
    .privacy-content {
        padding: 30px 20px;
        margin: 0 15px 30px 15px;
    }
    
    .privacy-section h2 {
        font-size: 1.8em;
    }
    
    .privacy-section p,
    .privacy-section ul li {
        font-size: 1em;
    }
}

/* Privacy Policy Link Styling */
.privacy-section a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-section a:hover {
    color: #764ba2;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
}

.privacy-section a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.9em;
    opacity: 0.7;
}

/* ========================================
   ULTRA-MODERN DONATION SECTION
   Advanced Glassmorphism + 3D Effects + Particle Animations
   ======================================== */

/* Donation Section Container with Advanced Effects */
.donation-section {
    position: relative;
    background: linear-gradient(135deg,
        rgba(15, 20, 50, 0.85) 0%,
        rgba(25, 30, 70, 0.90) 25%,
        rgba(20, 25, 60, 0.88) 50%,
        rgba(30, 35, 75, 0.87) 75%,
        rgba(15, 20, 50, 0.85) 100%);
    background-size: 400% 400%;
    animation: donationGradientShift 8s ease infinite;

    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    border: 2px solid;
    border-image: linear-gradient(45deg,
        rgba(255, 255, 255, 0.6),
        rgba(102, 126, 234, 0.8),
        rgba(255, 89, 137, 0.8),
        rgba(255, 255, 255, 0.6)) 1;

    border-radius: 32px;
    padding: 50px 40px;
    margin: 50px 0;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(102, 126, 234, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);

    transform: translateZ(0);
    perspective: 1000px;
    overflow: hidden;
}

/* Animated Background Particles */
.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(255, 89, 137, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 40% 90%, rgba(255, 175, 64, 0.1) 0%, transparent 70%);
    animation: particleFloat 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Floating Geometric Elements */
.donation-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(255, 89, 137, 0.2));
    border-radius: 50% 30% 70% 40%;
    animation: geometricFloat 20s ease-in-out infinite;
    filter: blur(1px);
    z-index: 1;
}

/* Section Title with Advanced Typography */
.donation-section h3 {
    position: relative;
    z-index: 10;
    color: #ffffff;
    background: linear-gradient(135deg,
        #ffffff 0%,
        #e0e8ff 25%,
        #ffeaa7 50%,
        #fdcb6e 75%,
        #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleGradientShift 6s ease infinite;

    font-size: clamp(1.8em, 4vw, 2.5em);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;

    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

    transform: translateZ(20px);
}

/* International Banking Section */
.bank-details {
    position: relative;
    background: linear-gradient(145deg,
        rgba(20, 25, 60, 0.85) 0%,
        rgba(15, 20, 50, 0.90) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 35px;
    margin: 30px 0;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);

    transform: translateZ(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bank-details:hover {
    transform: translateZ(20px) translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 25px rgba(102, 126, 234, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.bank-details h4 {
    color: #ffffff;
    background: linear-gradient(90deg, #ffffff, #e0e8ff, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bankTitleShimmer 3s ease infinite;

    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Bank Information Grid */
.bank-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.bank-field {
    position: relative;
    background: linear-gradient(135deg,
        rgba(30, 35, 75, 0.85) 0%,
        rgba(20, 25, 60, 0.90) 100%);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 4px solid #667eea;

    border-radius: 16px;
    padding: 18px 22px;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 500;

    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
}

.bank-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transition: left 0.6s ease;
}

.bank-field:hover::before {
    left: 100%;
}

.bank-field:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.bank-field strong {
    color: #ffd700;
    background: linear-gradient(90deg, #ffd700, #ffeb3b, #ffd700);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: fieldLabelGlow 2s ease infinite;
    margin-right: 12px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile Banking Section */
.mobile-banking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    perspective: 1000px;
}

/* Mobile Bank Items with 3D Effects */
.mobile-bank-item {
    position: relative;
    background: linear-gradient(145deg,
        rgba(25, 30, 70, 0.85) 0%,
        rgba(15, 20, 50, 0.90) 50%,
        rgba(20, 25, 60, 0.88) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 2px solid transparent;
    border-radius: 28px;
    padding: 35px 25px;
    text-align: center;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);

    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Dynamic Border Animation */
.mobile-bank-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        #667eea, #ff5989, #ffaf40, #667eea);
    background-size: 400% 400%;
    border-radius: 30px;
    z-index: -1;
    animation: borderPulse 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-bank-item:hover::before {
    opacity: 1;
}

/* Hover Effects with 3D Transform */
.mobile-bank-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(102, 126, 234, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.15);
}

/* Bank Header Styling */
.mobile-bank-header {
    margin-bottom: 25px;
    transform: translateZ(10px);
}

.mobile-bank-header h4 {
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, #e0e8ff, #ffeaa7);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bankNameShift 4s ease infinite;

    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Account Number with Glow Effect */
.account-number {
    position: relative;
    color: #000;
    background: linear-gradient(135deg, #ffd700, #ffaf40, #ffd700);
    background-size: 200% 200%;
    animation: goldShimmer 3s ease infinite;

    font-size: 1.3em;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 8px;

    box-shadow:
        0 8px 20px rgba(255, 215, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);

    transition: all 0.3s ease;
    cursor: pointer;
    user-select: all;
}

.account-number:hover {
    transform: scale(1.1);
    box-shadow:
        0 12px 30px rgba(255, 215, 0, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* QR Container with Advanced Animations */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateZ(15px);
}

/* QR Code with Holographic Effect */
.mobile-qr {
    position: relative;
    max-width: 220px;
    max-height: 220px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 15px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 4px 8px rgba(255, 255, 255, 0.8);

    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

/* Holographic Border Effect */
.mobile-qr::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        #667eea, #ff5989, #ffaf40, #667eea, #764ba2);
    background-size: 500% 500%;
    border-radius: 23px;
    z-index: -1;
    animation: holoShift 6s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-qr:hover::before {
    opacity: 1;
}

.mobile-qr:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.15);
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.5));
}

/* QR Instruction with Glow */
.qr-instruction {
    color: #ffffff;
    background: linear-gradient(90deg, #ffffff, #e0e8ff, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: instructionGlow 4s ease infinite;

    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

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

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

@keyframes geometricFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -30px) rotate(90deg); }
    50% { transform: translate(20px, -40px) rotate(180deg); }
    75% { transform: translate(-30px, 20px) rotate(270deg); }
}

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

@keyframes bankTitleShimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

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

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

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

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

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

@keyframes instructionGlow {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

@media (max-width: 768px) {
    .donation-section {
        padding: 30px 20px;
        margin: 30px 0;
        border-radius: 24px;
    }

    .donation-section h3 {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .bank-details {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .bank-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bank-field {
        padding: 15px 18px;
        font-size: 1em;
        border-radius: 12px;
    }

    .mobile-banking-options {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .mobile-bank-item {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .mobile-bank-item:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .mobile-bank-header h4 {
        font-size: 1.5em;
    }

    .account-number {
        font-size: 1.1em;
        padding: 10px 20px;
    }

    .mobile-qr {
        max-width: 180px;
        max-height: 180px;
        padding: 12px;
        border-radius: 16px;
    }

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

    .qr-instruction {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .donation-section {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .donation-section h3 {
        font-size: 1.4em;
    }

    .bank-details {
        padding: 20px 15px;
    }

    .bank-field {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .mobile-bank-item {
        padding: 20px 15px;
    }

    .mobile-qr {
        max-width: 160px;
        max-height: 160px;
        padding: 10px;
    }

    .account-number {
        font-size: 1em;
        padding: 8px 16px;
    }
}

/* Footer Navigation Styling */
.footer-bottom-content p a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-bottom-content p a:hover {
    color: #4f46e5;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.footer-bottom-content p a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-bottom-content p a:hover:before {
    width: 80%;
}

/* Footer navigation separators styling */
.footer-bottom-content p {
    color: #8892b0;
    font-size: 16px;
    line-height: 1.6;
}

/* Override default link styles for navigation links specifically */
.footer-bottom-content p a[href="#hero"],
.footer-bottom-content p a[href="#features"],
.footer-bottom-content p a[href="#support"],
.footer-bottom-content p a[href="privacy-policy.html"] {
    color: #667eea;
    text-decoration: none;
}

.footer-bottom-content p a[href="#hero"]:hover,
.footer-bottom-content p a[href="#features"]:hover,
.footer-bottom-content p a[href="#support"]:hover,
.footer-bottom-content p a[href="privacy-policy.html"]:hover {
    color: #4f46e5;
    text-decoration: none;
}

/* Urgent Support Appeal Styling */
.urgent-support-appeal {
    background: linear-gradient(135deg,
        rgba(255, 107, 107, 0.1) 0%,
        rgba(255, 159, 67, 0.1) 100%);
    border: 2px solid #ff6b6b;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    animation: urgentPulse 3s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { border-color: #ff6b6b; box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.3); }
    50% { border-color: #ff9f43; box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
}

.appeal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.appeal-icon {
    font-size: 2.5em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.appeal-header h3 {
    color: #e74c3c;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.appeal-message p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2em;
    font-weight: 800;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.stat-label {
    font-size: 0.9em;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appeal-cta {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    margin: 20px 0 0 0;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Responsive urgent appeal */
@media (max-width: 768px) {
    .urgent-support-appeal {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .appeal-header h3 {
        font-size: 1.5em;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .stat-number {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .appeal-header {
        flex-direction: column;
        gap: 10px;
    }

    .appeal-icon {
        font-size: 2em;
    }

    .appeal-header h3 {
        font-size: 1.3em;
    }

    .impact-stats {
        padding: 15px;
    }
}

/* Footer Navigation Styling for Language Pages (simpler structure) */
.footer > p a,
footer.footer > p > a,
footer p a[href="#hero"],
footer p a[href="#features"],
footer p a[href="#how-it-works"],
footer p a[href="#support"],
footer p a[href="privacy-policy.html"] {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    background: none;
    border: none;
}

.footer > p a:hover,
footer.footer > p > a:hover,
footer p a[href="#hero"]:hover,
footer p a[href="#features"]:hover,
footer p a[href="#how-it-works"]:hover,
footer p a[href="#support"]:hover,
footer p a[href="privacy-policy.html"]:hover {
    color: #4f46e5;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.footer > p a:before,
footer.footer > p > a:before,
footer p a[href="#hero"]:before,
footer p a[href="#features"]:before,
footer p a[href="#how-it-works"]:before,
footer p a[href="#support"]:before,
footer p a[href="privacy-policy.html"]:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer > p a:hover:before,
footer.footer > p > a:hover:before,
footer p a[href="#hero"]:hover:before,
footer p a[href="#features"]:hover:before,
footer p a[href="#how-it-works"]:hover:before,
footer p a[href="#support"]:hover:before,
footer p a[href="privacy-policy.html"]:hover:before {
    width: 80%;
}

/* Specific targeting for language page navigation links */
.footer > p a[href="#hero"],
.footer > p a[href="#features"],
.footer > p a[href="#how-it-works"],
.footer > p a[href="#support"],
.footer > p a[href="privacy-policy.html"] {
    color: #667eea;
    text-decoration: none;
}

.footer > p a[href="#hero"]:hover,
.footer > p a[href="#features"]:hover,
.footer > p a[href="#how-it-works"]:hover,
.footer > p a[href="#support"]:hover,
.footer > p a[href="privacy-policy.html"]:hover {
    color: #4f46e5;
    text-decoration: none;
}

/* Responsive footer navigation */
@media (max-width: 768px) {
    .footer {
        margin: 10px;
        border-radius: 15px;
    }

    .footer-bottom {
        padding: 20px 15px;
    }

    .footer-bottom-content {
        gap: 20px;
    }

    .footer-bottom-content p {
        font-size: 0.9em;
        line-height: 1.8;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .footer-bottom-content p a,
    .footer > p a {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        border-radius: 8px;
        background: rgba(102, 126, 234, 0.1);
        white-space: nowrap;
    }

    /* Hide the separator pipes on mobile */
    .footer-bottom-content p:last-child {
        font-size: 0;
    }

    .footer-bottom-content p:last-child a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-bottom-content p,
    .footer > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .footer-bottom-content p a,
    .footer > p a {
        padding: 12px 16px;
        font-size: 15px;
        min-height: 48px;
        margin: 6px 4px;
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(102, 126, 234, 0.15);
        font-weight: 500;
    }

    /* Stack footer links vertically on very small screens */
    .footer-bottom-content p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-bottom-content p a {
        width: 90%;
        max-width: 280px;
        text-align: center;
    }
}

/* ===== BANK TRANSFER INSTRUCTIONS STYLING ===== */

/* Bank Transfer Instructions Styling - Enhanced Contrast */
.transfer-instructions {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.transfer-instructions h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.transfer-instructions ol {
    counter-reset: transfer-counter;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.transfer-instructions ol li {
    counter-increment: transfer-counter;
    position: relative;
    padding: 12px 0 12px 50px;
    margin-bottom: 8px;
    color: #1b5e20;
    line-height: 1.5;
    border-bottom: 1px solid rgba(27, 94, 32, 0.2);
    font-weight: 600;
}

.transfer-instructions ol li::before {
    content: counter(transfer-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.transfer-instructions ol li:last-child {
    border-bottom: none;
}

.transfer-note {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    margin-top: 15px;
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.transfer-note strong {
    color: #ffd700;
    font-weight: bold;
}

/* Bank Details Styling - Enhanced Contrast */
.bank-info-detailed {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.bank-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bank-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.detail-item {
    color: #ffffff;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 5px;
}

.detail-item strong {
    color: #ffd700;
    margin-right: 10px;
    font-weight: bold;
}

.bank-address {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
    line-height: 1.5;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-address strong {
    color: #ffd700;
    font-weight: bold;
}

.correspondent-banks {
    margin: 25px 0;
}

.correspondent-banks h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.correspondent-bank {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    margin: 12px 0;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    color: #ffffff;
    line-height: 1.4;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.correspondent-bank:hover {
    background: rgba(0, 0, 0, 0.7);
    border-left-color: #ffd700;
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.correspondent-bank strong {
    color: #ffd700;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Support Options Layout - Enhanced Contrast */
.support-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
}

.support-method {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.support-method h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile Banking Compact Styling - Enhanced Contrast */
.mobile-banking-compact {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-banking-compact p {
    color: #ffffff;
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
}

.mobile-banking-compact strong {
    color: #ffd700;
    font-weight: bold;
}

/* Responsive Design for Bank Details */
@media (max-width: 768px) {
    .bank-details-grid {
        grid-template-columns: 1fr;
    }

    .transfer-instructions ol li {
        padding-left: 45px;
    }

    .transfer-instructions ol li::before {
        width: 28px;
        height: 28px;
        font-size: 0.8em;
    }

    .correspondent-bank {
        padding: 12px;
        font-size: 0.95em;
    }

    .support-options {
        gap: 20px;
    }

    .support-method {
        padding: 20px;
    }
}


/* Contact and Support inline CSS moved here */
.faq-contact-links {
    margin: 1rem 0;
}

.faq-contact-links a {
    color: #667eea;
}


.contact-link:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.contact-info-section p {
    color: rgba(255,255,255,0.9);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Avatar Example Styling */
.avatar-example {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-example p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.skip-segments {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    list-style: none;
}

.skip-segments li {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skip-segments li:last-child {
    border-bottom: none;
}

/* ===== HOW IT WORKS - NEW SIMPLIFIED SECTION STYLES ===== */

/* Intro text styling */
.how-it-works .intro-text {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 10px;
    font-size: 1.15em;
    line-height: 1.7;
    color: #444;
}

/* Step content enhancements */
.step ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 15px auto;
    max-width: 90%;
}

.step ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.step ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
}

.step strong {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Real-world example section */
.real-example {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.real-example h3 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.real-example p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    color: #555;
}

/* Comparison boxes */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.comparison-box {
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.comparison-box h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-box ul {
    list-style: none;
    padding: 0;
}

.comparison-box li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
    line-height: 1.5;
}

.without {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 159, 67, 0.1) 100%);
    border: 2px solid #ff6b6b;
}

.without h4 {
    color: #ff6b6b;
}

.without li:before {
    content: '❌';
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.with {
    background: linear-gradient(135deg, rgba(76, 209, 55, 0.1) 0%, rgba(72, 187, 120, 0.1) 100%);
    border: 2px solid #4cd137;
}

.with h4 {
    color: #4cd137;
}

.with li:before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Bonus features grid */
.bonus-features {
    margin: 40px 0;
}

.bonus-features h3 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.bonus-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    text-align: center;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.bonus-item h4 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: white;
}

.bonus-item p {
    font-size: 1em;
    line-height: 1.5;
    opacity: 0.95;
}

/* Why parents love it section */
.why-parents-love {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    padding: 35px;
    margin: 40px 0;
}

.why-parents-love h3 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.why-parents-love blockquote {
    background: white;
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-style: italic;
    color: #555;
    font-size: 1.05em;
    line-height: 1.6;
}

.why-parents-love blockquote:before {
    content: '"';
    font-size: 2em;
    color: #667eea;
    opacity: 0.3;
}

/* Call-to-action box */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.cta-box h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

.cta-box p {
    font-size: 1.2em;
    margin-bottom: 10px;
    opacity: 0.95;
}

.cta-box .download-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    margin-top: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-box .download-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness for new sections */
@media (max-width: 768px) {
    .how-it-works .intro-text {
        font-size: 1em;
        padding: 15px 20px;
        margin: 20px 0;
    }

    .real-example {
        padding: 20px;
        margin: 30px 0;
    }

    .real-example h3 {
        font-size: 1.4em;
    }

    .real-example p {
        font-size: 1em;
    }

    .comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-box {
        padding: 20px;
    }

    .comparison-box h4 {
        font-size: 1.2em;
    }

    .comparison-box li {
        font-size: 0.95em;
    }

    .bonus-features h3 {
        font-size: 1.4em;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bonus-item {
        padding: 20px;
    }

    .bonus-item h4 {
        font-size: 1.1em;
    }

    .why-parents-love {
        padding: 25px 20px;
    }

    .why-parents-love h3 {
        font-size: 1.4em;
    }

    .why-parents-love blockquote {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .cta-box {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .cta-box h3 {
        font-size: 1.5em;
    }

    .cta-box p {
        font-size: 1em;
    }

    .cta-box .download-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .comparison {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== HIGHLIGHT PULSE ANIMATION ===== */
/* For auto-expanded support section when clicking "Support future features" */
@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0.4);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 30px 15px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }
    75% {
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0.4);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
    }
}

/* ===== DONATION SECTION - SENIOR-FRIENDLY LIGHT DESIGN ===== */

/* Support Method Container - Light Background */
.support-method {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.support-method h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 700;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 10px;
}

/* Transfer Instructions - Light Green */
.transfer-instructions {
    background: #e8f5e9;
    border-left: 5px solid #4CAF50;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #a5d6a7;
}

.transfer-instructions h4 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 700;
}

.simple-steps {
    margin-left: 25px;
    color: #1b5e20;
    line-height: 2;
    font-size: 1.05em;
}

.simple-steps li {
    margin-bottom: 12px;
    padding-left: 10px;
    color: #1b5e20;
    font-weight: 600;
}

/* ============================================
   DOCUMENTATION MODAL STYLES
   ============================================ */

.doc-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px 20px; /* Top padding to avoid navbar */
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

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

.doc-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    width: 95%;
    max-width: 1200px;
    max-height: calc(100vh - 120px); /* Account for top padding and spacing */
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    margin: auto; /* Center vertically and horizontally */
}

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

.doc-modal-header {
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    padding: 24px 32px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.doc-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.doc-header-actions {
    display: flex;
    gap: 12px;
}

.doc-action-btn {
    background: white;
    color: #8a2be2;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.doc-action-btn:hover {
    background: #f0e6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.doc-close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.doc-modal-body {
    padding: 40px;
    overflow-y: auto;
    color: #e0e0e0;
    line-height: 1.8;
}

.doc-modal-body::-webkit-scrollbar {
    width: 12px;
}

.doc-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.doc-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8a2be2 0%, #9370db 100%);
    border-radius: 10px;
}

.doc-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9370db 0%, #8a2be2 100%);
}

.doc-toc {
    background: rgba(138, 43, 226, 0.1);
    border-left: 4px solid #8a2be2;
    padding: 24px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.doc-toc h3 {
    color: #8a2be2;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4em;
}

.doc-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.doc-toc li {
    margin: 0;
}

.doc-toc a {
    color: #b8a3ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}

.doc-toc a:hover {
    color: white;
    background: rgba(138, 43, 226, 0.2);
    padding-left: 20px;
}

.doc-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section h3 {
    color: #8a2be2;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.doc-section h4 {
    color: #9370db;
    font-size: 1.3em;
    margin-top: 28px;
    margin-bottom: 16px;
}

.doc-section p {
    margin: 16px 0;
    color: #d0d0d0;
}

.doc-section ul, .doc-section ol {
    margin: 16px 0;
    padding-left: 28px;
    color: #d0d0d0;
}

.doc-section li {
    margin: 10px 0;
    line-height: 1.8;
}

.doc-section strong {
    color: #8a2be2;
    font-weight: 600;
}

.doc-section code {
    background: rgba(138, 43, 226, 0.15);
    color: #b8a3ff;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
}

.feature-detail {
    background: rgba(138, 43, 226, 0.08);
    border-left: 4px solid #8a2be2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.feature-detail h5 {
    color: #8a2be2;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15em;
}

.shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.shortcuts-table thead {
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
}

.shortcuts-table th {
    padding: 16px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1.05em;
}

.shortcuts-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d0d0d0;
}

.shortcuts-table tr:last-child td {
    border-bottom: none;
}

.shortcuts-table tr:hover {
    background: rgba(138, 43, 226, 0.1);
}

.shortcuts-table td:first-child {
    color: #b8a3ff;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.use-case-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(147, 112, 219, 0.05) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.use-case-box h5 {
    color: #8a2be2;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.tip-highlight {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
    padding: 16px;
    margin: 20px 0;
    border-radius: 6px;
}

.tip-highlight strong {
    color: #ffd700;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #8a2be2;
    width: 40%;
}

.specs-table td:last-child {
    color: #d0d0d0;
}

/* Print Styles for Documentation */
@media print {
    .doc-modal {
        display: block !important;
        position: static;
        background: white;
        padding: 0;
    }

    .doc-modal-content {
        max-width: 100%;
        max-height: none;
        box-shadow: none;
        background: white;
        border: none;
    }

    .doc-modal-header {
        background: #8a2be2;
        page-break-after: avoid;
    }

    .doc-header-actions {
        display: none;
    }

    .doc-modal-body {
        color: #000;
        padding: 20px;
    }

    .doc-section {
        page-break-inside: avoid;
    }

    .doc-section h3 {
        color: #8a2be2;
        page-break-after: avoid;
    }

    .shortcuts-table,
    .specs-table {
        page-break-inside: avoid;
    }

    .shortcuts-table thead {
        background: #8a2be2;
    }

    .doc-toc {
        background: #f5f0ff;
        border-color: #8a2be2;
    }

    .feature-detail,
    .use-case-box {
        background: #f9f9f9;
        border-color: #8a2be2;
        page-break-inside: avoid;
    }

    .tip-highlight {
        background: #fffef0;
        border-color: #ffd700;
        page-break-inside: avoid;
    }

    a {
        color: #8a2be2;
        text-decoration: none;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .doc-modal {
        padding: 90px 15px 15px 15px; /* Adjust for mobile navbar */
    }

    .doc-modal-content {
        width: 100%;
        max-height: calc(100vh - 110px);
        border-radius: 12px;
    }

    .doc-modal-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .doc-modal-header h2 {
        font-size: 1.4em;
    }

    .doc-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .doc-action-btn {
        padding: 8px 12px;
        font-size: 0.85em;
        flex: 1;
    }

    .doc-close-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3em;
    }

    .doc-modal-body {
        padding: 24px 20px;
    }

    .doc-toc ul {
        grid-template-columns: 1fr;
    }

    .doc-section h3 {
        font-size: 1.3em;
    }

    .doc-section h4 {
        font-size: 1.15em;
    }

    .shortcuts-table {
        font-size: 0.9em;
    }

    .shortcuts-table th,
    .shortcuts-table td {
        padding: 10px;
    }

    .use-case-box,
    .feature-detail {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .doc-modal-header h2 {
        font-size: 1.2em;
    }

    .doc-action-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }

    .doc-modal-body {
        padding: 20px 16px;
    }

    .shortcuts-table {
        font-size: 0.85em;
    }

    .shortcuts-table th,
    .shortcuts-table td {
        padding: 8px;
    }
}
