* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1419;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ===== HEADER ===== */
header {
    background-color: #1a1f2e;
    padding: 1.2rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #00ff96;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00ff96;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 10px rgba(0, 255, 150, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav li {
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    display: inline-block;
    padding: 0.35rem 0;
}

nav a:hover,
nav li:hover > a {
    color: #00ff96;
}

nav li::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff96;
    transition: width 0.3s ease;
}

nav li:hover::after {
    width: 100%;
}

/* ===== MAIN CONTAINER ===== */
main {
    position: relative;
}

.tech-circulos {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    gap: 1.5rem;
    opacity: 0.1;
    z-index: -1;
}

.circulo {
    width: 80px;
    height: 80px;
    border: 2px solid #00ff96;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.circulo:nth-child(2) {
    animation-delay: 0.5s;
}

.circulo:nth-child(3) {
    animation-delay: 1s;
}

.circulo:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: slideDown 0.8s ease;
    line-height: 1.2;
}

.hero > p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTON ===== */
button {
    background-color: #00ff96;
    color: #0f1419;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    background-color: #00e085;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 150, 0.2);
}

button:active {
    transform: translateY(-1px);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 5rem 5%;
    background-color: #16181d;
}

.services-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #1a1f2e;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #2a2f3e;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 150, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    border-color: #00ff96;
    transform: translateY(-8px);
    background-color: #202737;
}

.service-card:hover::before {
    left: 100%;
}

.service-card.active {
    border-color: #00ff96;
    background-color: #202737;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 5%;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background-color: #1a1f2e;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid #2a2f3e;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item:hover {
    border-color: #00ff96;
    transform: translateY(-8px);
}

.contact-item h3 {
    color: #00ff96;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: #a0a0a0;
    font-size: 1.15rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-item a {
    color: #00ff96;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #00e085;
    text-decoration: underline;
}

/* ===== BUDGET SECTION ===== */
.budget-section {
    padding: 5rem 5%;
    background-color: #16181d;
}

.budget-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.budget-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #1a1f2e;
    border: 1px solid #2a2f3e;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6a6a6a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff96;
    background-color: #202737;
    box-shadow: 0 0 10px rgba(0, 255, 150, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1f2e;
    border-top: 1px solid #00ff96;
    padding: 3rem 5%;
    color: #a0a0a0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #a0a0a0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #00ff96;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2a2f3e;
    padding-top: 2rem;
    color: #6a6a6a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    nav li {
        padding: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero > p {
        font-size: 1rem;
    }

    .tech-circulos {
        position: relative;
        right: auto;
        transform: none;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .circulo {
        width: 50px;
        height: 50px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .budget-form {
        max-width: 100%;
    }

    .services-section,
    .contact-section,
    .budget-section {
        padding: 3rem 5%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 3%;
    }

    .logo {
        font-size: 1.3rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav li {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .services-section h2,
    .contact-section h2,
    .budget-section h2 {
        font-size: 1.8rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }
}