/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Black & White Palette */
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-700: #404040;
    --gray-800: #262626;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 6rem 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--black);
}

.nav-links a.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    transform: translate(2px, -2px);
    box-shadow: -2px 2px 0 var(--black);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--black);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    transform: translate(4px, -4px);
    box-shadow: -4px 4px 0 var(--black);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translate(4px, -4px);
    box-shadow: -4px 4px 0 var(--black);
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 10rem 2rem 6rem;
    position: relative;
    background: var(--white);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto 4rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.artistic-text {
    position: relative;
    display: inline-block;
}

.artistic-text::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: var(--black);
    z-index: -1;
    transform: skewY(-2deg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== SECTIONS ==================== */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border: 3px solid var(--black);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translate(6px, -6px);
    box-shadow: -6px 6px 0 var(--black);
}

.service-card.featured {
    background: var(--black);
    color: var(--white);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--black);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--black);
}

.service-card.featured .featured-badge {
    background: var(--white);
    color: var(--black);
}

.service-robot {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.service-card:hover .service-robot {
    animation: bounce 0.6s ease-in-out;
}

.service-card.featured .service-robot {
    filter: invert(1);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.service-card.featured p {
    color: var(--gray-200);
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--gray-700);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.service-card.featured .service-features li {
    color: var(--gray-200);
}

.service-features li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card.featured .service-features li::before {
    color: var(--white);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==================== EXPERTISE ==================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--white);
    padding: 2.5rem;
    border: 3px solid var(--black);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translate(4px, -4px);
    box-shadow: -4px 4px 0 var(--black);
}

.tech-category h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--black);
}

.tech-category p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ==================== CONTACT ==================== */
.contact {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.contact-info p {
    color: var(--gray-700);
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-item a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--black);
}

.contact-item a:hover {
    border-bottom: 4px solid var(--black);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border: 3px solid var(--black);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 2px solid var(--black);
    color: var(--black);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-width: 3px;
}

.form-group textarea {
    resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 2rem;
    border-top: 3px solid var(--black);
}

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

.footer .logo {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-300);
    margin-top: 0.5rem;
}

.footer-copyright p {
    color: var(--gray-300);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .service-robot {
        width: 60px;
        height: 60px;
    }
}