/* Root Variables */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-color: #000000;
    --bg-secondary: #111111;
    --border-color: #333333;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Logo at Top */
.logo-top {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    animation: fadeInDown 0.8s ease-out;
}

.logo-top img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
    opacity: 0.3;
}

@supports (-webkit-overflow-scrolling: touch) {
    /* iOS Safari specific video handling */
    #bg-video {
        width: 100%;
        height: 100%;
    }
}

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

/* Content Wrapper - Centered Layout */
.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 100%;
    width: 100%;
}

/* Text Content - Centered */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-bottom: 3rem;
    direction: rtl;
    text-align: center;
}

.heading {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(185deg, #e1e1e1, #0d0808 91.97%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.subheading {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 2;
    text-align: center;
}

/* CTA Section */
.cta-section {
    margin-bottom: 3rem;
    direction: rtl;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    background: #f0f0f0;
}

.whatsapp-btn svg {
    fill: #25D366;
    width: 24px;
    height: 24px;
}


/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.social-link:hover svg {
    fill: #000000;
    stroke: #000000;
}


/* Footer */
.footer {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.kijoo-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: rtl;
}

.credit-text {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.kijoo-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.kijoo-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.kijoo-logo {
    height: 20px;
    width: auto;
}

.copyright {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.7;
}

/* Background Overlay */
.bg-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        padding: 2rem;
    }

    .text-content {
        max-width: 90%;
        padding: 2rem;
    }

    .logo-top {
        top: 2rem;
    }

    .logo-top img {
        max-width: 180px;
    }

    .whatsapp-btn {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 768px) {
    .heading {
        font-size: 2.5rem;
    }

    .subheading {
        font-size: 1rem;
    }

    .logo-top img {
        max-width: 150px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .text-content {
        padding: 1.5rem;
    }

    .kijoo-logo {
        height: 18px;
    }

    .credit-text {
        font-size: 0.8125rem;
    }

    .copyright {
        font-size: 0.6875rem;
    }

    /* Video background mobile optimization - 0.5x scale */
    #bg-video {
        transform: translate(-50%, -50%) scale(0.5);
        min-width: 200%;
        min-height: 200%;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 2rem;
    }

    .subheading {
        font-size: 0.9375rem;
    }

    .logo-top {
        top: 1.5rem;
    }

    .logo-top img {
        max-width: 130px;
    }

    .whatsapp-btn {
        font-size: 0.9375rem;
        padding: 0.75rem 1.5rem;
    }

    .content-wrapper {
        padding: 7rem 1rem 1rem;
    }

    /* Video background small mobile optimization - 0.5x scale */
    #bg-video {
        transform: translate(-50%, -50%) scale(0.5);
        min-width: 200%;
        min-height: 200%;
    }

    .video-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .bg-gradient-1,
    .bg-gradient-2,
    .bg-gradient-3 {
        display: none;
    }
}

