/* =========================
   VARIABLES
========================= */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;

    --dark: #0f172a;
    --dark-2: #1e293b;

    --text: #475569;
    --light: #f8fafc;
    --white: #ffffff;

    --border: #e2e8f0;

    --radius: 18px;

    --shadow:
        0 15px 40px rgba(15, 23, 42, 0.08);
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================
   GENERAL
========================= */

.container {
    width: min(1150px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title > span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
}

.section-title h2 {
    color: var(--dark);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin: 12px 0 18px;
}

.section-title strong,
.small-title {
    color: var(--primary);
}

.section-title p {
    color: var(--text);
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.navbar {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 25px;
    color: var(--dark);

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 75px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(99, 102, 241, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        );
}

.hero-content {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;
}

.hero-tag {
    display: inline-flex;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 50px;

    background: #eef2ff;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 {
    color: var(--dark);

    font-size:
        clamp(42px, 6vw, 72px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-text > p {
    max-width: 580px;

    font-size: 18px;

    color: var(--text);

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 23px;

    border-radius: 10px;

    font-weight: 700;

    border: 2px solid transparent;

    cursor: pointer;

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        background 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: white;
    background: var(--primary);

    box-shadow:
        0 10px 25px
        rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    border-color: var(--border);
    color: var(--dark);
    background: white;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}


/* =========================
   CODE WINDOW
========================= */

.code-window {
    overflow: hidden;

    border-radius: 18px;

    background: #0f172a;

    box-shadow:
        0 30px 80px
        rgba(15, 23, 42, 0.22);

    transform: rotate(1deg);
}

.code-header {
    height: 48px;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 0 18px;

    color: #94a3b8;

    background: #1e293b;

    font-size: 12px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #64748b;
}

.code-body {
    padding: 30px;
}

.code-body pre {
    overflow: auto;

    font-size: 14px;

    color: #cbd5e1;

    line-height: 1.8;
}

.blue {
    color: #60a5fa;
}

.green {
    color: #4ade80;
}

.yellow {
    color: #facc15;
}

.purple {
    color: #c084fc;
}


/* =========================
   SERVICES
========================= */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    position: relative;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, 0.03);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.service-card.featured {
    border-color: var(--primary);

    box-shadow:
        0 15px 40px
        rgba(99, 102, 241, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: #eef2ff;

    color: var(--primary);

    font-size: 24px;

    margin-bottom: 25px;
}

.number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: #cbd5e1;

    font-weight: 800;
    font-size: 14px;
}

.service-card h3 {
    color: var(--dark);

    font-size: 23px;

    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 22px;
}

.service-card ul {
    display: grid;
    gap: 10px;

    margin-bottom: 28px;
}

.service-card li {
    font-size: 14px;
}

.service-card li::before {
    content: "✓";

    color: var(--primary);

    font-weight: bold;

    margin-right: 8px;
}

.service-card a {
    color: var(--primary);

    font-size: 14px;

    font-weight: 700;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: white;
}

.about-content {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 30px;
}

.about-icon {
    width: 75px;
    height: 75px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.15);

    font-size: 30px;
}

.small-title {
    display: block;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.about .small-title {
    color: rgba(255,255,255,0.8);
}

.about h2 {
    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.2;

    margin-bottom: 10px;
}

.about h2 span {
    color: #e0e7ff;
}

.about p {
    color: rgba(255,255,255,0.85);
}


/* =========================
   PORTFOLIO
========================= */

.portfolio {
    background: #f8fafc;
}

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project{
    overflow: hidden;

    background: white;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    transition: 0.3s;
}

.project:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.project-image {
    height: 220px;

    display: grid;
    place-items: center;

    font-size: 55px;

    color: white;
}

.web-project {
    background:
        linear-gradient(
            135deg,
            #6366f1,
            #8b5cf6
        );
}

.shop-project {
    background:
        linear-gradient(
            135deg,
            #0f172a,
            #334155
        );
}

.tech-project {
    background:
        linear-gradient(
            135deg,
            #0891b2,
            #0e7490
        );
}

.project-info {
    padding: 25px;
}

.project-info span {
    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;
}

.project-info h3 {
    color: var(--dark);

    font-size: 20px;

    margin: 7px 0;
}


/* =========================
   PROCESS
========================= */

.process-grid {
    display: flex;

    align-items: flex-start;

    justify-content: center;
}

.process-item {
    width: 220px;

    text-align: center;

    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-weight: 800;

    font-size: 13px;
}

.process-item > i {
    font-size: 25px;

    color: var(--primary);

    margin-bottom: 12px;
}

.process-item h3 {
    color: var(--dark);

    margin-bottom: 7px;
}

.process-item p {
    font-size: 14px;
}

.process-line {
    width: 60px;

    height: 2px;

    background: var(--border);

    margin-top: 24px;
}


/* =========================
   WHY
========================= */

.why {
    background: #f8fafc;
}

.why-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 80px;
}

.why h2 {
    color: var(--dark);

    font-size: clamp(32px, 5vw, 50px);

    line-height: 1.1;

    margin: 15px 0;
}

.why h2 strong {
    color: var(--primary);
}

.why > p {
    max-width: 550px;
}

.features {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin-top: 30px;
}

.features div {
    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;

    color: var(--dark);
}

.features i {
    color: var(--primary);
}

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.stat {
    padding: 35px 15px;

    text-align: center;

    background: white;

    border-radius: 15px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.stat strong {
    display: block;

    color: var(--primary);

    font-size: 38px;
}

.stat span {
    font-size: 12px;

    font-weight: 600;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: start;
}

.contact-info h2 {
    color: var(--dark);

    font-size: clamp(35px, 5vw, 55px);

    line-height: 1.1;

    margin: 15px 0;
}

.contact-info h2 strong {
    color: var(--primary);
}

.contact-method {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;
}

.contact-method > div:first-child {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #eef2ff;

    color: var(--primary);

    font-size: 20px;
}

.contact-method span,
.contact-method strong {
    display: block;
}

.contact-method span {
    font-size: 12px;
}

.contact-method strong {
    color: var(--dark);
}


/* FORM */

.contact-form {
    padding: 35px;

    background: #f8fafc;

    border-radius: var(--radius);

    border: 1px solid var(--border);
}

.contact-form h3 {
    color: var(--dark);

    font-size: 25px;

    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: var(--dark);

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: white;

    padding: 13px 15px;

    outline: none;

    color: var(--dark);

    transition: 0.3s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(99, 102, 241, 0.1);
}

.form-button {
    width: 100%;
}

.form-message {
    text-align: center;

    margin-top: 15px;

    font-size: 13px;

    font-weight: 600;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--dark);

    color: #94a3b8;
}

.footer-content {
    min-height: 180px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.footer .logo {
    color: white;
}

.footer p {
    margin-top: 8px;

    font-size: 13px;
}

.socials {
    display: flex;

    gap: 10px;
}

.socials a {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #1e293b;

    transition: 0.3s;
}

.socials a:hover {
    background: var(--primary);

    color: white;
}

.footer-bottom {
    padding: 20px;

    text-align: center;

    border-top: 1px solid #1e293b;

    font-size: 12px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25d366;

    color: white;

    font-size: 27px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,0.2);

    z-index: 999;

    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 80px 0;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: auto 1fr;
    }

    .about-content .btn {
        grid-column: 1 / -1;

        justify-self: start;
    }

    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .process-grid {
        flex-wrap: wrap;

        gap: 40px;
    }

    .process-line {
        display: none;
    }

}


@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 20px;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        background: white;

        box-shadow:
            0 15px 30px
            rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .about-icon {
        margin: auto;
    }

    .about-content .btn {
        justify-self: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 25px;

        padding: 40px 0;
    }

    .code-body {
        padding: 20px;
    }

    .code-body pre {
        font-size: 11px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .contact-form {
        padding: 25px;
    }

}