/* Global Styles */
:root {
    --primary-color: #0fe0ff;
    --secondary-color: #7b2dff;
    --accent-color: #ff2d95;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --light-text: #e0e0ff;
    --card-bg: rgba(20, 20, 40, 0.7);
    --glass-effect: rgba(255, 255, 255, 0.05);
    --neon-shadow: 0 0 10px rgba(15, 224, 255, 0.7);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="none" stroke="rgba(15, 224, 255, 0.03)" stroke-width="0.5" x="25" y="25" width="50" height="50" transform="rotate(45 50 50)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section {
    padding: 5rem 0;
    position: relative;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: -1;
}

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

a:hover {
    color: var(--accent-color);
}

button {
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    border: none;
    outline: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.logo-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: rgba(224, 224, 255, 0.7);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(224, 224, 255, 0.9);
}

.search-box {
    display: flex;
    max-width: 500px;
    margin-bottom: 2rem;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(15, 224, 255, 0.3);
    border-radius: 50px 0 0 50px;
    color: var(--light-text);
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.3);
}

.search-box button {
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: translateX(3px);
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.tech-circle {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(15, 224, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(123, 45, 255, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.tech-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 45, 149, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.tech-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 224, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 224, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

/* Categories Section */
.categories {
    text-align: center;
    position: relative;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 1rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border: 1px solid rgba(15, 224, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.5);
    transform: translateY(-3px);
}

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

.tool-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(15, 224, 255, 0.3);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 224, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    border: 1px solid rgba(15, 224, 255, 0.3);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tool-card p {
    color: rgba(224, 224, 255, 0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tool-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: rgba(15, 224, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 224, 255, 0.3);
    align-self: flex-start;
}

.tool-link:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.5);
}

.tool-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* About Section */
.about {
    text-align: center;
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(10, 15, 30, 0), rgba(10, 15, 30, 0.5), rgba(10, 15, 30, 0));
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(15, 224, 255, 0.03) 0%, transparent 20%),
                     radial-gradient(circle at 90% 80%, rgba(123, 45, 255, 0.03) 0%, transparent 20%),
                     radial-gradient(circle at 50% 50%, rgba(255, 45, 149, 0.03) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.about h2 {
    margin-bottom: 4rem;
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 1.5rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, rgba(15, 224, 255, 0.3), rgba(123, 45, 255, 0.7), rgba(255, 45, 149, 0.3));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(123, 45, 255, 0.5);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: rgba(224, 224, 255, 0.9);
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.about-text p:hover {
    transform: translateY(-5px);
    color: rgba(255, 255, 255, 1);
}

.about-text p::before,
.about-text p::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, rgba(15, 224, 255, 0), rgba(15, 224, 255, 0.5), rgba(15, 224, 255, 0));
    top: 0;
    transition: all 0.3s ease;
}

.about-text p::before {
    left: 0;
}

.about-text p::after {
    right: 0;
}

.about-text p:hover::before,
.about-text p:hover::after {
    background: linear-gradient(to bottom, rgba(123, 45, 255, 0), rgba(123, 45, 255, 0.7), rgba(123, 45, 255, 0));
    height: 100%;
}

.about-visual {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.tech-hexagon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 280px;
    background: rgba(15, 224, 255, 0.05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid rgba(15, 224, 255, 0.3);
    animation: pulse 4s ease-in-out infinite alternate;
    box-shadow: 0 0 30px rgba(15, 224, 255, 0.2);
}

.tech-hexagon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 210px;
    background: transparent;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid rgba(123, 45, 255, 0.3);
    animation: pulse 4s ease-in-out infinite alternate 1s;
    box-shadow: 0 0 20px rgba(123, 45, 255, 0.2);
}

.tech-hexagon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 140px;
    background: transparent;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid rgba(255, 45, 149, 0.3);
    animation: pulse 4s ease-in-out infinite alternate 2s;
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.2);
}

/* Contact Section */
.contact {
    text-align: center;
    position: relative;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(15, 224, 255, 0.3);
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.5);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: rgba(5, 5, 16, 0.8);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

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

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light-text);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 224, 255, 0.3);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.5);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(224, 224, 255, 0.6);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes rotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .tech-circle {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        margin-bottom: 3rem;
    }
    
    .search-box {
        margin: 0 auto 2rem;
    }
    
    .hero-visual {
        position: relative;
        width: 100%;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1.5rem;
        align-items: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
}