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

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: 'Assistant', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #7c3aed);
}

/* Text selection */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    50% { 
        opacity: 0.7;
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    transition: all 0.5s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.header.scrolled .logo-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-icon svg {
    color: white;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: #1f2937;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    transform: scale(1.05);
}

.header.scrolled .nav-link {
    color: #4b5563;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #7c3aed 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 25%;
    right: 25%;
    width: 384px;
    height: 384px;
    background: rgba(59, 130, 246, 0.2);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 25%;
    left: 25%;
    width: 320px;
    height: 320px;
    background: rgba(139, 92, 246, 0.2);
    animation-delay: 2s;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 256px;
    height: 256px;
    background: rgba(6, 182, 212, 0.15);
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 32px;
}

.hero-badge span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 32px;
}

.hero-title-text {
    display: block;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #bfdbfe;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.6);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-title.white {
    color: white;
}

.section-description {
    font-size: 20px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-description.light {
    color: #bfdbfe;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 96px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
    transform-origin: center;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.feature-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 16px;
    border-radius: 16px;
    width: fit-content;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 16px;
}

.feature-line {
    width: 48px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    margin-top: 24px;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-line {
    width: 80px;
}

.about-highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    color: white;
}

.highlight-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.highlight-text {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Impact Section */
.impact {
    padding: 96px 0;
    background: linear-gradient(135deg, #f9fafb 0%, rgba(239, 246, 255, 0.3) 50%, rgba(245, 243, 255, 0.3) 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.impact-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
    transform-origin: center;
}

.impact-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    padding: 16px;
    border-radius: 16px;
    width: fit-content;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.impact-card:hover .impact-icon {
    transform: scale(1.1);
}

.impact-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.impact-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.impact-icon.red {
    background: linear-gradient(135deg, #ef4444, #ec4899);
    color: white;
}

.impact-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    color: white;
}

.impact-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
}

.impact-icon.teal {
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
    color: white;
}

.impact-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.impact-description {
    color: #6b7280;
    line-height: 1.6;
}

.impact-line {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin-top: 24px;
    transition: width 0.3s ease;
}

.impact-card:hover .impact-line {
    width: 80px;
}

.impact-line.blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.impact-line.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.impact-line.red {
    background: linear-gradient(135deg, #ef4444, #ec4899);
}

.impact-line.orange {
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.impact-line.purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.impact-line.teal {
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
}

.impact-highlight {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Future Section */
.future {
    position: relative;
    padding: 96px 0;
    color: white;
}

.future-bg {
    position: absolute;
    inset: 0;
}

.future-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #7c3aed 100%);
}

.future-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .future-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.future-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    transform-origin: center;
}

.future-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.future-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.future-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 16px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.future-card:hover .future-icon {
    transform: scale(1.1);
}

.future-text {
    flex: 1;
}

.future-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.future-description {
    color: #bfdbfe;
    line-height: 1.6;
    margin-bottom: 16px;
}

.future-stat {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 14px;
    font-weight: 600;
    color: #bfdbfe;
}

.future-preparation {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    backdrop-filter: blur(8px);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.preparation-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.preparation-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .preparation-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step:nth-child(1) .step-number {
    color: #60a5fa;
}

.step:nth-child(2) .step-number {
    color: #a78bfa;
}

.step:nth-child(3) .step-number {
    color: #22d3ee;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: #bfdbfe;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 64px 0;
}

.footer-content {
    text-align: center;
}

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

.footer-logo-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 12px;
    border-radius: 12px;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 700;
}

.footer-description {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-message {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #374151;
    margin-bottom: 32px;
}

.message-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.message-text {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.6;
}

.footer-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9ca3af;
    margin-bottom: 32px;
}

.footer-heart svg {
    color: #ef4444;
    fill: #ef4444;
}

.footer-copyright {
    padding-top: 32px;
    border-top: 1px solid #374151;
}

.footer-copyright p {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        display: none;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .about,
    .impact,
    .future {
        padding: 64px 0;
    }
    
    .feature-card,
    .impact-card,
    .future-card {
        padding: 24px;
    }
    
    .about-highlight,
    .impact-highlight,
    .future-preparation {
        padding: 32px 24px;
    }
    
    .future-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer {
        padding: 48px 0;
    }
    
    .footer-message {
        padding: 24px;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, .feature-card, .impact-card, .future-card {
    transition: all 0.3s ease;
}

/* Performance optimizations */
.hero-shapes,
.shape {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}