/* Global Variables */
:root {
    --primary: #00e5ff;
    --primary-dark: #00b8d4;
    --secondary: #0a192f;
    --secondary-light: #112240;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --bg-dark: #020c1b;
    --bg-card: #0d1b2a;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    color: #e6f1ff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background: var(--primary);
    color: var(--bg-dark);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.logo-y { color: #fff; }
.logo-net { color: var(--primary); }

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    position: relative;
}

.hero-bg-anim {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections Global */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 100px 50px;
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 50px;
    background: var(--bg-dark);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--text-main);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px;
}

.experience-badge {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 80%);
    border: 2px dashed rgba(0, 229, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: spin-slow 30s linear infinite;
    position: relative;
}

.experience-badge::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50%;
}

.experience-badge span {
    animation: spin-reverse 30s linear infinite;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.experience-badge .years {
    font-size: 6rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.experience-badge .text {
    font-size: 1.3rem;
    color: var(--text-main);
    text-align: center;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* Banner */
.banner {
    padding: 80px 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner p {
    color: var(--primary);
}

/* Works Section */
.works {
    padding: 100px 50px;
    background: var(--bg-dark);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    height: 300px;
    background-color: var(--secondary-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Subtle tech mesh pattern for work cards */
.bg-mesh {
    background-image: 
        linear-gradient(rgba(13, 27, 42, 0.8), rgba(2, 12, 27, 0.95)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 0h40v40H0z" fill="none"/><path d="M0 20h40M20 0v40" stroke="%2300e5ff" stroke-width="0.5" opacity="0.2"/></svg>');
    background-size: cover, 40px 40px;
    background-position: center;
}

.work-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(5px);
    transform: translateY(45%);
    transition: var(--transition);
}

.work-card:hover .work-content {
    transform: translateY(0);
    background: rgba(2, 12, 27, 0.98);
    border-top: 1px solid var(--primary);
}

.work-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.work-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0;
    transition: var(--transition);
    transition-delay: 0.1s;
}

.work-card:hover .work-content p {
    opacity: 1;
}

/* Contact */
.contact {
    padding: 100px 50px;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: var(--secondary-light);
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-form {
    flex: 1.5;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 40px 50px;
    text-align: center;
    background: var(--secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

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

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background: var(--secondary-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger { display: block; z-index: 1001; }

    .hero h1 { font-size: 2.8rem; }
    
    .contact-container { flex-direction: column; }
    
    .navbar { padding: 20px; }
    .hero, .services, .contact { padding-left: 20px; padding-right: 20px; }
}

/* Burger Animation */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* WhatsApp Float Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite ease-in-out;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

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