    :root {

    /* Color Palette */

    --primary-color: #2979ff;
    /* Blue Accent similar to Flutter's Colors.blueAccent */
    --primary-glow: rgba(41, 121, 255, 0.4);
    --secondary-color: #f50057;

    /* Dark Theme */
    --bg-dark: #0a0a0c;
    --text-primary: #ffffff;
    --text-secondary: #9e9e9e;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --blur-amount: 16px;

    /* Metrics */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="light"] {
    --bg-dark: #f0f2f5;
    --text-primary: #1e1e1e;
    --text-secondary: #666666;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(200, 200, 200, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

    --primary-color: #2979ff;
    --primary-glow: rgba(41, 121, 255, 0.2);
    --secondary-color: #e91e63;
}

/* Light Theme Overrides */
[data-theme="light"] .title-gradient {
    background: linear-gradient(135deg, #1e1e1e 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(41, 121, 255, 0.1);
}

[data-theme="light"] .glass-badge {
    color: var(--text-primary);
    border-color: rgba(41, 121, 255, 0.3);
}

[data-theme="light"] .glass-badge i {
    color: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Animated Blobs */
.blob {
    position: fixed; /* بدل absolute */
    inset: 0;
    margin: auto;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
}

.blob-2 {
    bottom: 20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7e57c2, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.1);
    }
}

/* Base Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 32px;
}

.two-columns {
    grid-template-columns: 1fr 1fr;
}

.align-center {
    align-items: center;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 16px;
    font-weight: 400;
}

/* Glass Components */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), #b388ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    font-size: 1.2rem;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.btn-icon:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 24px;
}

.glass-badge i {
    color: #ffd54f;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
}

.btn small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn i {
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e88e5 100%);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #448aff 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(41, 121, 255, 0.05);
    /* very slightly tinted */
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(41, 121, 255, 0.15);
    border-color: rgba(41, 121, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 32px;
}

.version-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mockup UI */
.hero-mockup {
    perspective: 1200px;
    /* Enhanced depth */
}

.glass-mockup {
    background: rgba(20, 20, 25, 0.65);
    /* Keeps it dark but glass-like */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    height: 480px;
    transform: rotateY(-12deg) rotateX(6deg) scale(1.05);
    box-shadow: -30px 30px 60px rgba(0, 0, 0, 0.5), inset 0 2px 0 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Subtle inner glow for mockup */
.glass-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.glass-mockup:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.08);
    /* More dynamic hover */
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.6), inset 0 2px 0 0 rgba(255, 255, 255, 0.3);
}

.mockup-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.circles {
    display: flex;
    gap: 8px;
}

.circles i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.circles i:nth-child(2) {
    background: #ffbd2e;
}

.circles i:nth-child(3) {
    background: #27c93f;
}

.mockup-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skeleton-header {
    height: 30px;
    width: 40%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.skeleton-row {
    display: flex;
    gap: 16px;
}

.card {
    height: 120px;
    flex: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-list {
    flex: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

/* Features Section */
.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    text-align: center;
    padding: 40px 32px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(41, 121, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 25px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* What's New */
.version-badge {
    display: inline-block;
    background: rgba(245, 0, 87, 0.15);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 16px 0 32px;
    border: 1px solid rgba(245, 0, 87, 0.3);
}

.changelog {
    list-style: none;
}

.changelog li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.05rem;
    color: #d0d0d0;
}

.changelog li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.whats-new-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.decorative-card {
    width: 80%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.float-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Download Banner */
.glass-banner {
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.2) 0%, rgba(20, 20, 25, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 64px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.glass-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.glass-banner p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Footer */
.glass-footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-content,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .version-info {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whats-new-image {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    nav {
        display: none;
        /* Add hamburger menu for mobile if needed */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .download-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .glass-mockup {
        height: 350px;
    }

    .card {
        height: 80px;
    }

    .glass-banner {
        padding: 40px 24px;
    }

    .glass-banner h2 {
        font-size: 1.8rem;
    }

    .decorative-card {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .glass-mockup {
        height: 250px;
    }

    .mockup-body {
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .blob {
        display: none;
    }
    .btn-down-head {
        width:auto;
    }
    .hero-mockup {
        overflow: hidden;
    }

    .glass-mockup {
        transform: none !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}