/* ========================================
   AWWWARDS THEME - Award-Winning Design
   Premium, modern, sophisticated
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Color Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-accent: #ffffff;
    --accent-color: #00ff88;
    --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00ff88 100%);
}

/* Typography - Modern & Bold */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title {
    color: var(--text-primary);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Alternating Section Backgrounds with Animations */
section:nth-child(odd) {
    background: rgba(10, 10, 10, 0.4);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

section:nth-child(even) {
    background: rgba(26, 26, 26, 0.4);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 136, 0.05) 50%,
            transparent 100%);
    animation: slideGradient 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideGradient {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(50%);
    }
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo a {
    color: var(--text-primary);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.mobile-menu-toggle span {
    background: var(--text-primary);
}

.cta-nav {
    background: var(--accent-gradient);
    color: white;
    border-radius: 2rem;
}

/* Theme Switcher */
.theme-switcher-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (hover: hover) {
    .theme-switcher-btn:hover {
        border-color: var(--accent-color);
        box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
    }
}

/* Theme Modal */
.theme-modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.theme-modal h2 {
    color: var(--text-primary);
}

.theme-modal-desc {
    color: var(--text-secondary);
}

.theme-modal-close {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-radius: 50%;
}

@media (hover: hover) {
    .theme-modal-close:hover {
        background: var(--accent-color);
    }
}

.theme-option {
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

@media (hover: hover) {

    .theme-option:hover,
    .theme-option.active {
        border-color: var(--accent-color);
        box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
    }
}

.theme-option h3 {
    color: var(--text-primary);
}

.theme-option p {
    color: var(--text-secondary);
}

/* Theme Previews with actual content */
.theme-preview-dark-elegance {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid #00ff88;
    position: relative;
    overflow: hidden;
}

.theme-preview-dark-elegance::before {
    content: 'DARK ELEGANCE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
    color: #00ff88;
    letter-spacing: 0.05em;
}

.theme-preview-fluid {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    border: 2px solid #ff6b6b;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.theme-preview-fluid::before {
    content: 'FLUID';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: white;
}

.theme-preview-minimal {
    background: #ffffff;
    border: 2px solid #0066ff;
    position: relative;
    overflow: hidden;
}

.theme-preview-minimal::before {
    content: 'MINIMAL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #0066ff;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero-headline {
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-primary {
    background: var(--accent-gradient);
    color: #0a0a0a;
    border-radius: 3rem;
    box-shadow: 0 4px 24px rgba(0, 255, 136, 0.4);
    font-weight: 700;
}

@media (hover: hover) {
    .cta-primary:hover {
        background: linear-gradient(135deg, #00dd77 0%, #00dd77 100%);
        box-shadow: 0 8px 40px rgba(0, 255, 136, 0.6);
        transform: translateY(-2px);
    }
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border-radius: 3rem;
}

@media (hover: hover) {
    .cta-secondary:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--text-primary);
    }
}

.badge {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 2rem;
    color: var(--accent-color);
}

/* Problem Cards */
.problem-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

@media (hover: hover) {
    .problem-card:hover {
        border-color: rgba(0, 255, 136, 0.5);
        box-shadow: 0 12px 48px rgba(0, 255, 136, 0.2);
    }
}

/* Service Cards */
.service-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (hover: hover) {
    .service-card:hover {
        border-color: rgba(0, 255, 136, 0.5);
        box-shadow: 0 12px 48px rgba(0, 255, 136, 0.2);
    }
}

.case-study,
.differentiator {
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 0.75rem;
}

/* Process Timeline */
.process-step {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-number {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
}

.guarantee-box {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-color);
    border-radius: 1.5rem;
    box-shadow: 0 12px 48px rgba(0, 255, 136, 0.3);
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* FAQ */
.faq-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.faq-question {
    background: transparent;
    color: var(--text-primary);
}

@media (hover: hover) {
    .faq-question:hover {
        background: rgba(0, 255, 136, 0.05);
    }
}

.faq-question[aria-expanded="true"] {
    background: rgba(0, 255, 136, 0.1);
    color: var(--text-primary);
}

/* Contact Form */
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.error-message {
    color: #ef4444;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    border-radius: 1rem;
    color: #22c55e;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .footer a:hover {
        color: var(--text-primary);
    }
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Images */
.hero-image img,
.solution-image img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Smooth gradients and effects */
section {
    position: relative;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Premium typography */
.section-subtitle,
.hero-subheadline {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Links */
a {
    color: var(--accent-color);
}

@media (hover: hover) {
    a:hover {
        color: #00ff88;
    }
}

/* Ensure all text is readable on dark backgrounds */
section:nth-child(even) p,
section:nth-child(even) h1,
section:nth-child(even) h2,
section:nth-child(even) h3,
section:nth-child(even) li {
    color: var(--text-primary);
}

section:nth-child(even) .section-subtitle,
section:nth-child(even) .hero-subheadline {
    color: var(--text-secondary);
}