* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --primary-dark: #00d4e6;
    --secondary-color: #b026ff;
    --accent-neon: #ff00ff;
    --text-dark: #e0e0e0;
    --text-light: #a0a0a0;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #1a1a2e;
    --border-color: #2a2a3e;
    --gradient: linear-gradient(135deg, #00f0ff 0%, #b026ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 240, 255, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 240, 255, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 240, 255, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 240, 255, 0.4);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-purple: 0 0 20px rgba(176, 38, 255, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.2);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    border-bottom: 1px solid rgba(0, 240, 255, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 1.25rem;
}

.logo-text {
    color: #ffffff;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0f 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.15) 0%, transparent 50%);
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 240, 255, 0.03) 2px, rgba(0, 240, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(176, 38, 255, 0.03) 2px, rgba(176, 38, 255, 0.03) 4px);
    pointer-events: none;
    opacity: 0.5;
}

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

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--glow-cyan);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-block {
    width: 100%;
}

.hero-image {
    position: relative;
    height: 500px;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--glow-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
    border-color: var(--primary-color);
}

.floating-card svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.card-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.card-2 {
    top: 150px;
    right: 100px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 100px;
    left: 100px;
    animation-delay: 2s;
}


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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

.services {
    padding: 80px 0;
    background: var(--bg-darker);
}

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

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan);
    border-color: var(--primary-color);
    background: rgba(26, 26, 46, 0.8);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon svg {
    stroke: var(--primary-color);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3));
}

.service-card:hover .service-icon svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.about {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-cta {
    margin-top: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

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

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    background: rgba(26, 26, 46, 0.8);
}

.tech-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-card:hover .tech-icon {
    background: rgba(0, 240, 255, 0.1);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.tech-card:hover .tech-name {
    color: var(--primary-color);
}

.contact {
    padding: 80px 0;
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateX(5px);
}

.info-icon {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.info-icon svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-darker);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background: var(--bg-darker);
    color: var(--text-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
