:root {
    --neon-blue: #0ff;
    --neon-blue-dark: #0cc;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --dark-card: #111128;
    --text-light: #f0f8ff;
    --text-gray: #a0a0c0;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn:hover {
    background: var(--neon-blue);
    color: var(--darker-bg);
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.nav-links a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px var(--neon-blue);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
#hero {
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--neon-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { text-shadow: 0 0 10px var(--neon-blue); }
    50% { text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue); }
    100% { text-shadow: 0 0 10px var(--neon-blue); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
}

/* Services Section */
#services {
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* About Section */
#about {
    background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    align-items: center;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--neon-blue);
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.about-visual {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.cyber-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(30deg);
    width: 200px;
    height: 200px;
    animation: rotate 15s infinite linear;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg); }
    to { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-blue);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon-blue);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1) inset;
}

.front { transform: translateZ(100px); }
.back { transform: translateZ(-100px) rotateY(180deg); }
.top { transform: translateY(-100px) rotateX(90deg); }
.bottom { transform: translateY(100px) rotateX(-90deg); }
.left { transform: translateX(-100px) rotateY(-90deg); }
.right { transform: translateX(100px) rotateY(90deg); }

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--neon-blue);
    opacity: 0.6;
    animation: float 5s infinite ease-in-out;
}

.floating-icon:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 70%; left: 80%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 40%; left: 10%; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 20%; left: 70%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 80%; left: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.tools-section {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-shadow: 0 0 10px var(--neon-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.tools-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.tool-item {
    flex: 0 0 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tool-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tool-logo:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.3);
}

.tool-logo i {
    font-size: 50px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.tool-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--dark-card);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--neon-blue);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--neon-blue);
    color: var(--darker-bg);
    box-shadow: 0 0 20px var(--neon-blue);
}

.carousel-btn.prev {
    left: -70px;
}

.carousel-btn.next {
    right: -70px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--dark-card);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

@media (max-width: 1100px) {
    .tool-item {
        flex: 0 0 33.333%;
    }
    
    .carousel-btn.prev {
        left: -30px;
    }
    
    .carousel-btn.next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .tool-item {
        flex: 0 0 50%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .tool-item {
        flex: 0 0 100%;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* Contact Section */
#contact {
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--neon-blue);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.contact-form {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(5, 5, 16, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #04040c;
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-links:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    color: var(--text-light);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        height: 300px;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}