/* ===== CSS Variables for Theme Management ===== */
:root {
    /* Light Theme Colors */
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Cairo', 'Tajawal', 'Almarai', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: #334155;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    position: fixed;
    top: var(--spacing-md);
    left: var(--spacing-md);
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(120, 119, 198, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.theme-toggle:active {
    transform: scale(1.05) rotate(5deg);
}

.theme-toggle i {
    font-size: 1.4rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.theme-toggle:hover i {
    color: white;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== Main Container ===== */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

/* ===== Header ===== */
.header {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.company-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(120, 119, 198, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: logoFloat 6s ease-in-out infinite;
}

.company-logo:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(120, 119, 198, 0.5),
        0 0 80px rgba(255, 119, 198, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    filter: brightness(1.1) contrast(1.1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(120, 119, 198, 0.3) 0%, 
        rgba(255, 119, 198, 0.2) 30%, 
        transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    gap: var(--spacing-2xl);
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    animation: titleBlur 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(120, 119, 198, 0.3));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(120, 119, 198, 0.6));
    }
}

@keyframes titleBlur {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* ===== Countdown Section ===== */
.countdown-section {
    text-align: center;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.countdown-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.countdown-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.countdown-item {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.countdown-item::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.6s ease;
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    animation: numberPulse 2s ease-in-out infinite;
}

.countdown-item:nth-child(1) .countdown-number {
    animation-delay: 0s;
}

.countdown-item:nth-child(2) .countdown-number {
    animation-delay: 0.5s;
}

.countdown-item:nth-child(3) .countdown-number {
    animation-delay: 1s;
}

.countdown-item:nth-child(4) .countdown-number {
    animation-delay: 1.5s;
}

.countdown-item:hover .countdown-number {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(5deg);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(120, 119, 198, 0.6),
        0 0 60px rgba(255, 119, 198, 0.4);
    animation: numberGlow 0.5s ease-in-out infinite alternate;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

@keyframes numberGlow {
    0% {
        filter: brightness(1.2) drop-shadow(0 0 10px rgba(120, 119, 198, 0.5));
    }
    100% {
        filter: brightness(1.4) drop-shadow(0 0 20px rgba(255, 119, 198, 0.7));
    }
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.countdown-item:hover .countdown-label {
    color: var(--text-primary);
}

/* ===== Products Preview Section ===== */
.products-section {
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
}

.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Tajawal', sans-serif;
}

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

.product-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: productFloat 6s ease-in-out infinite;
}

.product-item:nth-child(odd) {
    animation-delay: -2s;
}

.product-item:nth-child(even) {
    animation-delay: -4s;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    opacity: 0;
}

.product-item:hover::before {
    opacity: 0.15;
}

.product-item:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.product-item:hover {
    transform: translateY(-15px) scale(1.05) rotate(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(120, 119, 198, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

@keyframes productFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(1deg);
    }
    66% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    animation: iconBreathe 4s ease-in-out infinite;
}

.product-item:nth-child(1) .product-icon {
    animation-delay: 0s;
}

.product-item:nth-child(2) .product-icon {
    animation-delay: 0.7s;
}

.product-item:nth-child(3) .product-icon {
    animation-delay: 1.4s;
}

.product-item:nth-child(4) .product-icon {
    animation-delay: 2.1s;
}

.product-item:nth-child(5) .product-icon {
    animation-delay: 2.8s;
}

.product-item:nth-child(6) .product-icon {
    animation-delay: 3.5s;
}

.product-item:hover .product-icon {
    color: var(--secondary-color);
    transform: scale(1.3) rotate(360deg);
    filter: 
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
        drop-shadow(0 0 30px rgba(120, 119, 198, 0.6))
        drop-shadow(0 0 45px rgba(255, 119, 198, 0.4));
    animation: iconSpin 1s ease-in-out infinite;
}

@keyframes iconBreathe {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

@keyframes iconSpin {
    0% {
        transform: scale(1.3) rotate(0deg);
    }
    50% {
        transform: scale(1.4) rotate(180deg);
    }
    100% {
        transform: scale(1.3) rotate(360deg);
    }
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Tajawal', sans-serif;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.newsletter-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.form-group input[type="email"] {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 0 30px rgba(37, 99, 235, 0.2);
    transform: scale(1.02);
}

.form-group input[type="email"]::placeholder {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.form-group input[type="email"]:focus::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.submit-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ===== Contact Section ===== */
.contact-section {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.contact-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.2rem;
}

/* ===== Social Media ===== */
.social-media {
    margin-top: var(--spacing-lg);
}

.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: white;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
}

.social-link:nth-child(1):hover { 
    background: linear-gradient(135deg, #1877f2, #42A5F5); 
    border-color: #1877f2;
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4), 0 0 30px rgba(24, 119, 242, 0.3);
}
.social-link:nth-child(2):hover { 
    background: linear-gradient(135deg, #1da1f2, #0D8BD9); 
    border-color: #1da1f2;
    box-shadow: 0 15px 35px rgba(29, 161, 242, 0.4), 0 0 30px rgba(29, 161, 242, 0.3);
}
.social-link:nth-child(3):hover { 
    background: linear-gradient(135deg, #e4405f, #FCAF45); 
    border-color: #e4405f;
    box-shadow: 0 15px 35px rgba(228, 64, 95, 0.4), 0 0 30px rgba(228, 64, 95, 0.3);
}
.social-link:nth-child(4):hover { 
    background: linear-gradient(135deg, #0077b5, #00A0DC); 
    border-color: #0077b5;
    box-shadow: 0 15px 35px rgba(0, 119, 181, 0.4), 0 0 30px rgba(0, 119, 181, 0.3);
}
.social-link:nth-child(5):hover { 
    background: linear-gradient(135deg, #ff0000, #FF6B6B); 
    border-color: #ff0000;
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4), 0 0 30px rgba(255, 0, 0, 0.3);
}

.social-link:active {
    transform: translateY(-5px) scale(1.1) rotate(2deg);
}

/* ===== Footer ===== */
.footer {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Parallax Background ===== */
.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
}

/* Background Layers */
.parallax-bg-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(120, 119, 198, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 119, 198, 0.15) 0%, transparent 60%);
    animation: slowDrift 40s ease-in-out infinite;
}

.parallax-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(255, 119, 198, 0.12) 0%, transparent 50%);
    animation: mediumDrift 25s ease-in-out infinite reverse;
}

.parallax-bg-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(120, 119, 198, 0.05) 0%, transparent 30%, rgba(255, 119, 198, 0.08) 70%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, rgba(120, 119, 198, 0.06) 40%, transparent 60%);
    animation: fastDrift 15s linear infinite;
}

/* Parallax Shapes */
.parallax-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    filter: blur(2px);
    box-shadow: 
        0 0 30px rgba(120, 119, 198, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation: shapeFloat1 20s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 20%;
    animation: shapeFloat2 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 70%;
    animation: shapeFloat3 18s ease-in-out infinite;
}

.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 25%;
    animation: shapeFloat4 22s ease-in-out infinite reverse;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 10%;
    animation: shapeFloat5 16s ease-in-out infinite;
}

.shape-6 {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    animation: shapeFloat6 28s ease-in-out infinite reverse;
}

/* Particle Effects */
.particle-field {
    position: relative;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; left: 35%; animation-delay: -1s; }
.particle:nth-child(3) { top: 45%; left: 55%; animation-delay: -2s; }
.particle:nth-child(4) { top: 65%; left: 75%; animation-delay: -3s; }
.particle:nth-child(5) { top: 80%; left: 25%; animation-delay: -4s; }
.particle:nth-child(6) { top: 30%; left: 85%; animation-delay: -5s; }
.particle:nth-child(7) { top: 50%; left: 5%; animation-delay: -6s; }
.particle:nth-child(8) { top: 75%; left: 65%; animation-delay: -7s; }
.particle:nth-child(9) { top: 20%; left: 45%; animation-delay: -1.5s; }
.particle:nth-child(10) { top: 90%; left: 80%; animation-delay: -2.5s; }

/* Animations */
@keyframes slowDrift {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(-20px) translateY(-30px) rotate(1deg); }
    50% { transform: translateX(15px) translateY(20px) rotate(-1deg); }
    75% { transform: translateX(-10px) translateY(35px) rotate(0.5deg); }
}

@keyframes mediumDrift {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    33% { transform: translateX(30px) translateY(-20px) scale(1.05); }
    66% { transform: translateX(-25px) translateY(25px) scale(0.95); }
}

@keyframes fastDrift {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(40px) translateY(-15px) rotate(90deg); }
    50% { transform: translateX(-30px) translateY(30px) rotate(180deg); }
    75% { transform: translateX(20px) translateY(-40px) rotate(270deg); }
    100% { transform: translateX(0) translateY(0) rotate(360deg); }
}

@keyframes shapeFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-30px) rotate(90deg) scale(1.1); }
    50% { transform: translateY(20px) rotate(180deg) scale(0.9); }
    75% { transform: translateY(-15px) rotate(270deg) scale(1.05); }
}

@keyframes shapeFloat2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(-25px) translateY(-20px) rotate(120deg); }
    66% { transform: translateX(30px) translateY(15px) rotate(240deg); }
}

@keyframes shapeFloat3 {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-40px) scale(1.2) rotate(180deg); }
}

@keyframes shapeFloat4 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(20px) rotate(90deg); }
    50% { transform: translateX(-15px) rotate(180deg); }
    75% { transform: translateX(25px) rotate(270deg); }
}

@keyframes shapeFloat5 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    20% { transform: translateY(-15px) translateX(10px) rotate(72deg); }
    40% { transform: translateY(-25px) translateX(-5px) rotate(144deg); }
    60% { transform: translateY(-10px) translateX(15px) rotate(216deg); }
    80% { transform: translateY(-30px) translateX(-10px) rotate(288deg); }
}

@keyframes shapeFloat6 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.15) rotate(120deg); }
    66% { transform: scale(0.85) rotate(240deg); }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% { 
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* ===== Animations ===== */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .theme-toggle {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
        width: 45px;
        height: 45px;
    }
    
    .header {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: var(--spacing-md) var(--spacing-sm);
        gap: var(--spacing-xl);
    }
    
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .countdown-item {
        padding: var(--spacing-md);
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        justify-content: center;
    }
    
    .contact-info {
        gap: var(--spacing-sm);
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }
    
    .countdown-item {
        padding: var(--spacing-sm);
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .theme-toggle,
    .background-animation,
    .social-media {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        box-shadow: none;
    }
}