/* Root Variables - Dark Theme with Blue Accent */
:root {
    --color-primary: #0d6efd;
    --color-primary-dark: #0a58ca;
    --color-secondary: #00d4ff;
    --color-accent: #6ea8fe;
    --color-bg-dark: #0a0a0a;
    --color-bg-medium: #1a1a1a;
    --color-bg-light: #2a2a2a;
    --color-text-primary: #f8f9fa;
    --color-text-secondary: #c4c4c4;
    --color-text-muted: #888;
    --gradient-primary: linear-gradient(135deg, #0a58ca 0%, #0d6efd 50%, #6ea8fe 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0d6efd 100%);
    --shadow-lg: 0 20px 60px rgba(13, 110, 253, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 110, 253, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    padding: 8px 20px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.3);
    color: var(--color-accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    background: rgba(13, 110, 253, 0.2);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 20px 60px;
    background: radial-gradient(ellipse at center, rgba(13, 110, 253, 0.15) 0%, rgba(10, 10, 10, 1) 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    margin: auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 40px rgba(13, 110, 253, 0.5);
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 30px;
    color: var(--color-secondary);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(13, 110, 253, 0.5);
}

.cta-button {
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--color-bg-dark);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 80px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Items */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.feature-item.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.feature-item:hover .feature-image::before {
    opacity: 1;
}

.feature-item:hover .feature-image {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(13, 110, 253, 0.4);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-text {
    padding: 20px;
}

.feature-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--color-accent);
    position: relative;
    padding-bottom: 15px;
}

.feature-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Alternating Layout */
.feature-item:nth-child(even) {
    direction: rtl;
}

.feature-item:nth-child(even) > * {
    direction: ltr;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.1) 0%, rgba(10, 10, 10, 1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(13, 110, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button.primary {
    padding: 18px 50px;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    border: none;
}

.cta-button.secondary {
    padding: 18px 50px;
    font-size: 1.2rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

/* Footer */
.footer {
    background: var(--color-bg-medium);
    padding: 40px 20px;
    border-top: 1px solid rgba(13, 110, 253, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.3));
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer-tagline {
    color: var(--color-secondary) !important;
    font-style: italic;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .feature-item:nth-child(even) {
        direction: ltr;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 600px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .features {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        text-align: center;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

a, button, .feature-image, .feature-image img {
    transition: all 0.3s ease;
}