@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;700&family=Share+Tech+Mono&display=swap');

:root {
    --primary-color: #00a8ff;
    --background-color: #0a0a0a;
    --text-color: #e0e0e0;
    --card-background: #1a1a1a;
    --border-color: #2a2a2a;
}

html {
    scroll-padding-top: 80px;
}

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

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
}

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

img {
    max-width: 100%;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    display: block;
}

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

.nav-links a {
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger span {
    width: 22px;
    height: 1.5px;
    background-color: #fff;
    transition: all 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.mobile-menu.active {
    max-height: 300px;
    opacity: 1;
}

.mobile-nav-link {
    padding: 1.2rem 5%;
    font-weight: 600;
    font-size: 1.05rem;
    color: #e0e0e0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mobile-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

main {
    padding: 0 5%;
}

section {
    padding: 5rem 0;
}

#hero {
    position: relative;
    text-align: center;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 0 6rem;
    background: radial-gradient(ellipse at center, rgba(0, 168, 255, 0.08) 0%, transparent 70%);
}

@media (max-width: 768px) {
    #hero {
        min-height: 90vh;
        padding: 10rem 0 8rem;
        background: radial-gradient(ellipse at center, rgba(0, 168, 255, 0.12) 0%, transparent 60%);
    }

    #hero::before {
        background-size: 40px 40px;
        opacity: 0.4;
    }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(0, 168, 255, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 168, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content .subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 1.3rem;
    color: #aaa;
    margin-bottom: 2rem;
    min-height: 2em;
}

#typing-effect::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

#services {
    padding: 6rem 0 5rem;
}

#services h2, #cta h2, #contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.service-cards {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--card-background);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card.visible, #cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 168, 255, 0.15);
    border-color: rgba(0, 168, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    line-height: 1.7;
    color: #b0b0b0;
}

#cta {
    text-align: center;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(0, 168, 255, 0.05) 100%);
    padding: 4rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    margin: 2rem 0;
}

#cta h2 {
    margin-bottom: 1.5rem;
}

#cta p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
}

#contact {
    padding: 6rem 0 5rem;
}

#contact .contact-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

#contact .contact-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

#contact .contact-links img {
    height: 35px;
    width: 35px;
}

#contact .contact-links a:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 168, 255, 0.1);
    border-color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 3rem 5% 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #888;
}

@media (min-width: 768px) {
    #hero {
        padding: 10rem 0 8rem;
        min-height: 85vh;
    }

    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .service-icon {
        font-size: 3.5rem;
    }
}

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

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.15;
        margin-bottom: 2rem;
        word-wrap: break-word;
    }

    .subtitle {
        font-size: 1.4rem;
        margin-bottom: 3rem;
        min-height: 2.5em;
    }


    section {
        padding: 4rem 0;
    }

    #services {
        padding: 4rem 0;
    }

    #contact {
        padding: 4rem 0;
    }

    .service-cards {
        gap: 1.5rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    #cta {
        padding: 3rem 1.5rem;
    }

    #contact .contact-links a {
        width: 60px;
        height: 60px;
    }

    #contact .contact-links img {
        height: 30px;
        width: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 80%;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 1.1rem;
    }
    
    header, main, footer {
        padding-left: 10%;
        padding-right: 10%;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .subtitle {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 700px;
    }

    #services, #contact {
        padding: 7rem 0 6rem;
    }

    #cta {
        padding: 5rem 3rem;
        margin: 3rem 0;
    }
}

