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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Desktop Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 12px 24px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.cta-header {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.cta-header::after {
    content: '↗';
    font-size: 16px;
    font-weight: 900;
}

.cta-header:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 1000;
    padding: 15px 20px;
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 16px;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px 30px;
}

.mobile-overlay.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.mobile-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #8B5CF6;
    padding-left: 20px;
}

.mobile-cta {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-cta::after {
    content: '↗';
    font-size: 20px;
}

.mobile-menu-btn.active {
    background: rgba(139, 92, 246, 0.8);
}

.mobile-menu-btn.active::before {
    content: '✕';
    font-size: 20px;
}

.mobile-menu-btn:not(.active)::before {
    content: '☰';
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.hero-content .highlight {
    background: linear-gradient(135deg, #8B5CF6, #A855F7, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-container {
    position: relative;
    display: inline-block;
    min-width: 400px;
    height: 1.2em;
    overflow: visible;
}

.carousel-word {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
    width: auto;
}

.carousel-word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content p {
    font-size: 1.25rem;
    color: #888888;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::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.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.cta-secondary {
    color: #ffffff;
    padding: 18px 36px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-secondary:hover {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
}

/* Stats Cards */
.stats-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::after {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #888888;
    line-height: 1.7;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* About Section */
.about {
    position: relative;
    padding: 120px 0;
    background: #0a0a0a;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: aboutGlow 8s ease-in-out infinite;
}

@keyframes aboutGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
}

/* Features Section - Card Stack Style */
.features {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

/* Geometric Wave Animation */
.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: 
        linear-gradient(45deg, 
            transparent 40%, 
            rgba(139, 92, 246, 0.05) 50%, 
            transparent 60%),
        linear-gradient(-45deg, 
            transparent 40%, 
            rgba(168, 85, 247, 0.08) 50%, 
            transparent 60%);
    animation: geometricWave 40s linear infinite;
    z-index: 1;
}

@keyframes geometricWave {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Matrix Grid Background */
.features-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.05;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.02);
    }
}

/* Floating Geometric Shapes */
.features-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.geometric-shape {
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.3);
    animation: floatShape 12s ease-in-out infinite;
}

.shape-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-square {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid rgba(168, 85, 247, 0.2);
    border-radius: 0;
    top: 30%;
    right: 30%;
    animation-delay: 8s;
    animation-duration: 14s;
}

.shape-diamond {
    width: 35px;
    height: 35px;
    transform: rotate(45deg);
    top: 70%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.shape-hexagon {
    width: 50px;
    height: 28px;
    background: rgba(192, 132, 252, 0.1);
    border: none;
    position: relative;
    top: 15%;
    right: 10%;
    animation-delay: 6s;
}

.shape-hexagon::before,
.shape-hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
}

.shape-hexagon::before {
    bottom: 100%;
    border-bottom: 14px solid rgba(192, 132, 252, 0.1);
}

.shape-hexagon::after {
    top: 100%;
    border-top: 14px solid rgba(192, 132, 252, 0.1);
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.2);
        opacity: 0.4;
    }
}

.features-stack {
    max-width: 900px;
    margin: 80px auto 0;
    position: relative;
    z-index: 2;
}

.stack-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(15, 15, 15, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 25px;
    padding: 60px 50px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

.stack-card:hover {
    transform: translateX(20px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.8);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(15, 15, 15, 0.95));
}

.stack-number {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.stack-content {
    margin-left: 60px;
}

.stack-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.stack-content p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.contact-container {
    display: block;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contact-details a:hover {
    color: #8B5CF6;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #A855F7);
    border-radius: 1px;
}

.footer-section p,
.footer-section a {
    color: #888888;
    text-decoration: none;
    line-height: 1.8;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    display: block;
    position: relative;
    padding-left: 0;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: #8B5CF6;
    transition: all 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-section a:hover {
    color: #8B5CF6;
    padding-left: 20px;
}

.footer-section:first-child p {
    color: #aaaaaa;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 30px;
    text-align: center;
    color: #666666;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent);
    animation: footerLineGlow 3s ease-in-out infinite;
}

@keyframes footerLineGlow {
    0%, 100% {
        width: 100px;
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }
    50% {
        width: 200px;
        opacity: 1;
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    }
}

/* Particle Effect for Hero */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; animation-delay: 1s; }
.particle:nth-child(3) { left: 25%; animation-delay: 2s; }
.particle:nth-child(4) { left: 35%; animation-delay: 3s; }
.particle:nth-child(5) { left: 45%; animation-delay: 4s; }
.particle:nth-child(6) { left: 55%; animation-delay: 5s; }
.particle:nth-child(7) { left: 65%; animation-delay: 6s; }
.particle:nth-child(8) { left: 75%; animation-delay: 7s; }
.particle:nth-child(9) { left: 85%; animation-delay: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        justify-items: center;
    }
    
    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .stats-container {
        max-width: 500px;
        margin: 20px auto 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .features-stack {
        max-width: 700px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .features .container {
        padding: 0 30px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
        width: 100%;
    }
    
    .carousel-container {
        min-width: 100%;
        width: 100%;
        text-align: center;
        margin: 0 auto;
        display: block;
        position: relative;
    }
    
    .carousel-word {
        position: absolute;
        left: 0;
        right: 0;
        transform: translateY(20px);
        text-align: center;
        width: 100%;
    }
    
    .carousel-word.active {
        transform: translateY(0);
    }
    
    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 400px;
        margin: 20px auto 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .stack-card {
        padding: 30px 20px;
    }
    
    .stack-content {
        margin-left: 40px;
    }
    
    .stack-number {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .stats-container {
        gap: 12px;
        max-width: 350px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features .container {
        padding: 0 35px;
    }
}       
/* Customers Section */
.customers {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.customers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    font-family: 'Inter', sans-serif;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.customers-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(20px);
}

.customers-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: slideLeft 20s linear infinite;
    gap: 80px;
    padding: 0 40px;
}

.customer-logo {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: grayscale(100%);
}

.customer-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.customer-logo img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

/* Logo Placeholders - ersetzt durch echte Logos */
.logo-placeholder {
    width: 120px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Gradient overlays for smooth edge effect */
.customers-slider::before,
.customers-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.customers-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 1), transparent);
}

.customers-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 1), transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .customers-track {
        gap: 60px;
        animation-duration: 15s;
    }
    
    .customer-logo {
        padding: 0 15px;
    }
    
    .logo-placeholder {
        width: 100px;
        height: 50px;
        font-size: 12px;
    }
}

/* --- iOS/Viewport & WebKit Fixes (Overrides) --- */

/* 100vh -> 100svh: stabiler auf iOS bei ein-/ausblendbarer Browser-UI */
.hero { min-height: 100svh; }

/* Overlay soll echte Gerätehöhe nutzen */
.mobile-overlay { height: 100dvh; }

/* WebKit-Prefix für Glas-/Blur-Flächen */
header,
.mobile-header,
.mobile-overlay,
.stat-card,
.service-card,
.customers-slider {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px); /* belasse das unprefixed */
}

/* Optional: Tap-Highlight entfernen (iOS UX) */
* { -webkit-tap-highlight-color: transparent; }
/* --- About Section --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
  }
  
  .section-head {
    text-align: center;
    margin-bottom: var(--space-3xl);
  }
  
  .section-title {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
  }
  
  .section-subtitle {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 900px) {
    .about-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .about-card {
    background: var(--bg-elevated, rgba(255,255,255,0.06));
    border-radius: 1rem;
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,0.12));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  
  .about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl, 0 20px 45px rgba(0,0,0,0.18));
  }
  
  .about-card h3 {
    margin: 0 0 var(--space-md);
    font-size: 1.125rem;
  }
  
  .about-list {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: .5rem;
  }
  
  .about-list li {
    line-height: 1.5;
  }
  
  .about-cta {
    margin-top: var(--space-2xl);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Button primitives (falls schon vorhanden, nutzt diese Klassen) */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.1rem;
    border-radius: .75rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
  }
  
  .btn-primary {
    background: var(--accent, #6c5ce7);
    color: #fff;
  }
  
  .btn-primary:hover { filter: brightness(1.05); }
  
  .btn-ghost {
    background: transparent;
    border-color: var(--border, rgba(255,255,255,0.16));
    color: var(--text-primary, #fff);
  }
  
  .btn-ghost:hover {
    border-color: var(--accent, #6c5ce7);
  }
  