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

:root {
    /* Futuristic Dark Theme Colors */
    --primary-color: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.5);
    --secondary-color: #7b2ff7;
    --accent-color: #ff006e;
    --bg-dark: #0a0e27;
    --bg-darker: #050816;
    --bg-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border-glow: rgba(123, 47, 247, 0.3);
    --success-color: #00ff88;
    
    /* Shadows and Effects */
    --shadow-neon: 0 0 20px var(--primary-glow);
    --shadow-purple: 0 0 20px rgba(123, 47, 247, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cyber: linear-gradient(135deg, #00f0ff 0%, #7b2ff7 50%, #ff006e 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-darker);
    background-image: 
        radial-gradient(at 0% 0%, rgba(123, 47, 247, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 240, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 110, 0.1) 0px, transparent 50%);
    min-height: 100vh;
}

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

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 240, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(123, 47, 247, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 0, 110, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(0, 255, 136, 0.3), transparent);
    background-size: 200% 200%;
    animation: particles 20s ease infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes particles {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 30px var(--primary-glow);
}

.tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient-dark);
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-cyber);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-neon);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px var(--primary-glow), 0 0 80px var(--primary-glow);
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-cyber);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: var(--shadow-neon);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--primary-glow),
        inset 0 0 40px rgba(0, 240, 255, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Featured Product Section */
.featured-product {
    padding: 6rem 0;
    background: var(--bg-darker);
    position: relative;
}

.product-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    box-shadow: var(--shadow-card);
}

.product-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.feature-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--success-color));
}

.product-note {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 240, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    color: var(--text-secondary);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
}

/* Technology Section */
.technology {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 15px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    border-radius: 50%;
}

.tech-item:hover::before {
    width: 200%;
    height: 200%;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px var(--primary-glow);
    color: white;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.contact-content {
    max-width: 1000px;
    margin: 2rem auto 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.contact-item:hover::before {
    transform: translateX(100%);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-glow);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.contact-form-container {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-card);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(123, 47, 247, 0.3);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 6rem;
}

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

.footer-left h3 {
    font-size: 1.5rem;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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

    .product-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .services,
    .featured-product,
    .technology,
    .contact {
        padding: 4rem 0;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .product-content,
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Loading Animation */
.service-card,
.contact-item,
.tech-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}