/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    scroll-margin-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-white {
    color: #ffffff;
}

.logo-green {
    color: #00ff00;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #00ff00;
}

.cta-desktop {
    display: none;
}

@media (min-width: 768px) {
    .cta-desktop {
        display: block;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: #00ff00;
    color: #000000;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #00cc00;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(8px);
    padding: 0.5rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: #00ff00;
    background-color: #111111;
}

.mobile-cta {
    margin-top: 1rem;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #000000, #1a1a1a, #000000);
}

.animated-blobs {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 3s ease-in-out infinite;
}

.blob-1 {
    top: 25%;
    left: 25%;
    background-color: #00ff00;
}

.blob-2 {
    bottom: 25%;
    right: 25%;
    background-color: #00cc00;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-title-white {
    color: #ffffff;
}

.hero-title-green {
    color: #00ff00;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 1.875rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #00ff00;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.btn-large {
    padding: 1rem 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: #00ff00;
    color: #000000;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 6rem;
}

@media (min-width: 768px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

@media (min-width: 640px) {
    .stat-label {
        font-size: 1rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #00ff00;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
}

.wheel {
    width: 4px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 2px;
}

/* About Section */
.about {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #000000, #0a0a0a, #000000);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-description {
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.75;
}

.highlight {
    color: #00ff00;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background-color: rgba(17, 17, 17, 0.5);
    border: 1px solid #1f1f1f;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #00ff00;
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: #00ff00;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Services Section */
.services {
    position: relative;
    padding: 6rem 0;
    background-color: #000000;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(to bottom, #1a1a1a, #000000);
    border: 1px solid #1f1f1f;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    border-color: #00ff00;
}

.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: #1f1f1f;
    transition: color 0.3s ease;
}

.service-card:hover .service-number {
    color: #171717;
}

.service-icon {
    width: 40px;
    height: 40px;
    color: #00ff00;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-description {
    color: #9ca3af;
    line-height: 1.75;
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #00ff00;
    transition: width 0.3s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

/* Portfolio Section */
.portfolio {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #000000, #0a0a0a, #000000);
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .portfolio-list {
        gap: 6rem;
    }
}

.portfolio-item {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .portfolio-item {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.portfolio-item-reverse {
    direction: ltr;
}

@media (min-width: 1024px) {
    .portfolio-image-right {
        order: 2;
    }
    
    .portfolio-content-left {
        order: 1;
    }
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    height: 400px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-image:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-label {
    color: #00ff00;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .portfolio-title {
        font-size: 2.25rem;
    }
}

.portfolio-description {
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-buttons .btn-primary {
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .portfolio-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .portfolio-buttons .btn-primary {
        width: fit-content;
    }
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background-color: #1a1a1a;
    border: 1px solid #1f1f1f;
    color: #00ff00;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.btn-icon-small {
    width: 18px;
    height: 18px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 6rem 0;
    background-color: #000000;
}

.contact-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(17, 17, 17, 0.5);
    border: 1px solid #1f1f1f;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: #00ff00;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #00ff00;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text {
    color: #9ca3af;
}

.contact-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #00ff00;
}

.map-container {
    position: relative;
    height: 256px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.map-iframe {
    filter: grayscale(100%);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: 1px solid #1f1f1f;
    border-radius: 0.5rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00ff00;
}

.form-textarea {
    resize: none;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    position: relative;
    background-color: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-main {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-main {
        grid-column: span 1;
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border: 1px solid #1f1f1f;
    border-radius: 0.5rem;
    color: #9ca3af;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #00ff00;
    border-color: #00ff00;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #00ff00;
}

.footer-text {
    color: #9ca3af;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
    }
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: -200px;
    right: 2rem;
    background-color: #1a1a1a;
    border: 1px solid #00ff00;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: bottom 0.3s ease;
    max-width: 400px;
}

.toast.show {
    bottom: 2rem;
}

.toast-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: #00ff00;
    flex-shrink: 0;
}

.toast-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Utility Classes */
.hidden {
    display: none;
}