/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0B0E14;
    --bg-secondary: #131722;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B3B8;
    --accent-color: #00F0FF;
    /* Cyber Blue */
    --accent-hover: #00B8C4;
    --border-color: #2A2E35;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    padding: 12px 30px;
    border-radius: 4px;
    /* Slightly sharp corners for tech feel */
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
}

.btn-primary-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-primary-outline:hover {
    background-color: var(--accent-color);
    color: #000;
}

/* Header & Nav */
header {
    background-color: rgba(11, 14, 20, 0.9);
    /* Glassmorphismish */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    /* Ensure container has height if needed, usually defined by padding/children but good for absolute centering context */
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo i {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px 0;
    /* Space for fixed header */
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step-card {
    flex: 1;
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.step-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step-card p {
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tag.python {
    background-color: rgba(55, 118, 171, 0.2);
    color: #3776AB;
}

.tag.linux {
    background-color: rgba(252, 214, 36, 0.2);
    color: #FCD624;
}

.tag.trading {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.tag.scraping {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.tag.api {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
}

.tag.monitoring {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
}


.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Who We Are */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-visual {
    font-size: 10rem;
    text-align: center;
    color: var(--border-color);
    opacity: 0.5;
}

/* References */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #fff;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Contact */
.contact-section {
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
}

.large-cta {
    font-size: 1.2rem;
    padding: 15px 40px;
    margin-top: 30px;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.credits {
    margin-top: 10px;
}

.credits a {
    color: var(--text-primary);
    font-weight: 700;
}

.credits a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-center {
        margin: 0 auto;
        /* Center brand if nav items hidden? Or keep left. Let's keep it centered for symmetry in design request */
        flex: 1;
        /* Take up space to allow centering */
        text-align: center;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}