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

:root {
    /* App Colors - Light Theme */
    --primary: #3D8D86;
    --primary-dark: #399494;
    --primary-light: #409C8E;
    --secondary: #409C8E;
    --tertiary: #93C344;
    --accent: #93C344;
    --dark: #162936;
    --dark-light: #475058;
    --light: #EBF4F6;
    --white: #ffffff;
    --gray: #475058;
    --success: #93C344;
    --error: #D32F2F;
    --gradient: linear-gradient(135deg, #3D8D86 0%, #409C8E 50%, #93C344 100%);
    --gradient-2: linear-gradient(135deg, #3D8D86 0%, #399494 100%);
    --shadow: 0 10px 30px rgba(22, 41, 54, 0.12);
    --shadow-lg: 0 20px 60px rgba(22, 41, 54, 0.15);
    
    /* Light theme (default) */
    --bg-color: #E4E4E4;
    --text-color: #162936;
    --card-bg: #EBF4F6;
    --card-variant: #E2F2C8;
    --border-color: rgba(22, 41, 54, 0.1);
}

body.dark-mode {
    /* App Colors - Dark Theme */
    --primary: #399494;
    --primary-dark: #3D8D86;
    --primary-light: #409C8E;
    --secondary: #409C8E;
    --tertiary: #93C344;
    --accent: #93C344;
    --dark: #162936;
    --dark-light: #475058;
    --light: #475058;
    --gray: #B4C2C7;
    --success: #93C344;
    --error: #EF9A9A;
    --gradient: linear-gradient(135deg, #162936 0%, #475058 40%, #525B64 100%);
    --gradient-2: linear-gradient(135deg, #399494 0%, #409C8E 100%);
    --shadow: 0 10px 30px rgba(22, 41, 54, 0.45);
    --shadow-lg: 0 20px 60px rgba(22, 41, 54, 0.55);
    
    /* Dark theme */
    --bg-color: #162936;
    --text-color: #E4E4E4;
    --card-bg: #475058;
    --card-variant: #525B64;
    --border-color: rgba(228, 228, 228, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

body.dark-mode .navbar {
    background: rgba(22, 41, 54, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.theme-toggle,
.lang-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover,
.lang-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

body.dark-mode .theme-toggle,
body.dark-mode .lang-toggle {
    background: var(--card-bg);
    color: var(--white);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.scanner-animation {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    animation: scan 2s infinite, scannerGlow 1s ease-in-out infinite;
}

@keyframes scannerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.6);
    }
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite, fadeInOut 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.2);
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light);
    transition: background-color 0.3s ease;
}

body.dark-mode .features {
    background: #162936;
}

body.dark-mode .download {
    background: #162936;
}

body.dark-mode .page-content {
    background: #162936;
}

body.dark-mode .contact-form {
    background: #475058;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #162936;
    border-color: #525B64;
    color: #E4E4E4;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

body:not(.dark-mode) .feature-card {
    background: var(--card-bg);
}

body.dark-mode .feature-card {
    background: var(--card-bg);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    animation: cardHover 0.3s ease;
}

@keyframes cardHover {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-10px) scale(1.02);
    }
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

body:not(.dark-mode) .download-card {
    background: var(--card-bg);
}

body.dark-mode .download-card {
    background: var(--card-bg);
}

.download-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    animation: downloadCardHover 0.3s ease;
}

@keyframes downloadCardHover {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-10px) scale(1.02);
    }
}

.download-card.android {
    border-top: 4px solid var(--success);
}

.download-card.windows {
    border-top: 4px solid var(--primary);
}

.download-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.download-card p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    color: var(--white);
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.download-servers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-download-server {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download-server:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-download-server i {
    font-size: 1.1rem;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.download-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.download-info i {
    color: var(--success);
    margin-left: 5px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    color: var(--white);
}

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

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.stat-label {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

body:not(.dark-mode) .footer {
    background: #162936;
}

body.dark-mode .footer {
    background: #162936;
    color: var(--white);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: socialFloat 3s ease-in-out infinite;
}

.social-link:nth-child(1) {
    animation-delay: 0s;
}

.social-link:nth-child(2) {
    animation-delay: 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px) scale(1.1);
    animation: socialPulse 0.6s ease;
}

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

@keyframes socialPulse {
    0%, 100% {
        transform: translateY(-3px) scale(1.1);
    }
    50% {
        transform: translateY(-5px) scale(1.15);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

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

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

/* Loading Animation */
body.loaded {
    animation: fadeIn 0.5s ease-in;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    body.dark-mode .nav-menu {
        background: var(--card-bg);
        border-top-color: var(--border-color);
    }

    .nav-menu .nav-link {
        color: var(--text-color);
        padding: 1rem;
        display: block;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: right;
    }

    [dir="ltr"] .nav-menu .nav-link {
        text-align: left;
    }

    body.dark-mode .nav-menu .nav-link {
        color: var(--text-color);
        border-bottom-color: var(--border-color);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary);
        color: var(--white);
        border-bottom-color: var(--primary);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .page-content > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .theme-toggle,
    .lang-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.page-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

.page-content ul {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.page-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.download-card:hover .download-icon {
    animation: pulse 1s infinite;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

/* Enhanced emotional design - more vibrant colors and animations */
.hero-background {
    background: linear-gradient(135deg, #3D8D86 0%, #409C8E 50%, #93C344 100%);
    animation: gradientShift 15s ease infinite, pulseBackground 8s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes pulseBackground {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

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

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

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

.feature-card:hover .feature-icon {
    animation: pulse 0.6s ease;
    transform: scale(1.1);
}

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

/* Enhanced button hover effects */
.btn-primary:hover {
    background: linear-gradient(135deg, #409C8E 0%, #93C344 100%);
    transform: translateY(-3px) scale(1.05);
    animation: buttonPulse 0.6s ease;
    box-shadow: 0 10px 30px rgba(61, 141, 134, 0.4);
}

@keyframes buttonPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(61, 141, 134, 0.4);
}

/* Glow effect on download cards */
.download-card:hover {
    box-shadow: 0 20px 60px rgba(61, 141, 134, 0.3);
    transform: translateY(-15px) scale(1.02);
}

.download-card.android:hover {
    box-shadow: 0 20px 60px rgba(147, 195, 68, 0.3);
}

.download-card.windows:hover {
    box-shadow: 0 20px 60px rgba(61, 141, 134, 0.3);
}

/* Enhanced phone mockup */
.phone-mockup {
    animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Enhanced emotional touches */
.hero-title {
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '✨';
    position: absolute;
    right: -0.5em;
    top: 0;
    animation: sparkle 2s ease-in-out infinite;
    font-size: 0.43em;
    line-height: 1;
    white-space: nowrap;
}

[dir="ltr"] .hero-title::before {
    right: auto;
    left: -0.5em;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Windows Download Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--error);
    background: rgba(211, 47, 47, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.download-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-step {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

body.dark-mode .download-step {
    background: var(--card-variant);
}

.download-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.step-content {
    padding-left: 0;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.step-actions {
    margin-bottom: 1.5rem;
}

.step-actions .download-servers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-actions .download-servers .btn {
    width: 100%;
    justify-content: center;
}

.download-servers-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.server-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.server-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    background: #E0E0E0 !important;
    color: #666666 !important;
    border: 2px solid #CCCCCC !important;
}

body.dark-mode .server-btn:disabled {
    background: var(--card-variant) !important;
    color: var(--gray) !important;
    border: 2px solid var(--border-color) !important;
}

.coming-soon {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.download-info-modal {
    text-align: center;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    margin-top: 1rem;
}

.download-info-modal p {
    margin: 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.dark-mode .download-info-modal {
    background: var(--card-variant);
}

.step-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.step-instructions {
    background: var(--light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

body.dark-mode .step-instructions {
    background: var(--card-bg);
}

.step-instructions h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-instructions ol {
    margin-left: 1.5rem;
    color: var(--gray);
    line-height: 2;
}

.step-instructions li {
    margin-bottom: 0.5rem;
}

.step-info {
    background: var(--light);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

body.dark-mode .step-info {
    background: var(--card-bg);
}

.step-info p {
    margin: 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-info i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .download-step {
        padding: 1.5rem;
    }
    
    .step-header h3 {
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

