:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --accent: #10b981;
    --dark: #070b18;
    --dark-light: #111827;
    --white: #ffffff;
    --text-light: #a7b0c0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15), transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.1), transparent 30%),
        var(--dark);
    color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    min-height: 78px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(7, 11, 24, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-right: 7px;

    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;

    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: #dbe3f0;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.nav-button,
.primary-button {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.nav-button:hover,
.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.4);
}

.hero {
    position: relative;

    min-height: 100vh;
    padding: 145px 7% 70px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;

    overflow: hidden;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    margin-bottom: 22px;
    padding: 9px 16px;

    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 100px;

    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;

    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.02;
    letter-spacing: -4px;
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 650px;
    margin-top: 26px;

    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 34px;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.secondary-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;

    margin-top: 48px;
}

.hero-features div {
    display: flex;
    flex-direction: column;
}

.hero-features strong {
    font-size: 1.2rem;
}

.hero-features span {
    margin-top: 5px;
    color: #7f8a9c;
    font-size: 0.78rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.browser-card {
    width: min(100%, 570px);
    padding: 13px;

    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.48),
        0 0 70px rgba(37, 99, 235, 0.16);

    backdrop-filter: blur(18px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    animation: floatCard 5s ease-in-out infinite;
}

.browser-top {
    height: 42px;
    padding-left: 9px;

    display: flex;
    align-items: center;
    gap: 7px;
}

.browser-top span {
    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: #475569;
}

.browser-top span:first-child {
    background: #fb7185;
}

.browser-top span:nth-child(2) {
    background: #facc15;
}

.browser-top span:nth-child(3) {
    background: #4ade80;
}

.browser-content {
    min-height: 410px;
    padding: 24px;

    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2), transparent 28%),
        #0b1120;

    border-radius: 16px;
}

.mini-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 11px;

    font-size: 0.85rem;
    font-weight: 800;
}

.mini-links {
    display: flex;
    gap: 10px;
}

.mini-links span {
    display: block;
    width: 38px;
    height: 6px;

    background: #263248;
    border-radius: 10px;
}

.mini-hero {
    padding: 62px 0 42px;
    text-align: center;
}

.mini-hero p {
    color: var(--primary-light);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mini-hero h2 {
    max-width: 390px;
    margin: 14px auto 22px;

    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.mini-hero button {
    padding: 11px 20px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: var(--white);

    font-family: inherit;
    font-weight: 600;
}

.mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-cards div {
    min-height: 95px;

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.18),
            rgba(255, 255, 255, 0.03)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
}

.hero-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
}

.glow-one {
    top: 10%;
    left: -180px;
    background: var(--primary);
}

.glow-two {
    right: -160px;
    bottom: 0;
    background: var(--accent);
}

@keyframes floatCard {
    0%,
    100% {
        transform:
            perspective(1000px)
            rotateY(-5deg)
            rotateX(3deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1000px)
            rotateY(-5deg)
            rotateX(3deg)
            translateY(-14px);
    }
}

@media (max-width: 950px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 135px;
        text-align: center;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .browser-card {
        transform: none;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0 5%;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding-right: 5%;
        padding-left: 5%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-features {
        gap: 20px;
    }

    .browser-content {
        min-height: 340px;
        padding: 18px;
    }

    .mini-cards {
        grid-template-columns: 1fr;
    }

    .mini-cards div:nth-child(2),
    .mini-cards div:nth-child(3) {
        display: none;
    }
}
.services {
    position: relative;
    padding: 110px 7%;

    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(37, 99, 235, 0.1),
            transparent 25%
        ),
        #090e1c;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 15px;

    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 100px;

    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: transparent;
    background: linear-gradient(
        90deg,
        var(--primary-light),
        var(--accent)
    );

    background-clip: text;
    -webkit-background-clip: text;
}

.section-heading > p:last-child {
    max-width: 670px;
    margin: 22px auto 0;

    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.services-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    min-height: 330px;
    padding: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;

    width: 170px;
    height: 170px;

    background: rgba(37, 99, 235, 0.16);
    border-radius: 50%;
    filter: blur(45px);

    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);

    border-color: rgba(96, 165, 250, 0.4);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(37, 99, 235, 0.08);
}

.service-card:hover::before {
    transform: scale(1.3);
}

.service-number {
    position: absolute;
    top: 22px;
    right: 24px;

    color: rgba(255, 255, 255, 0.15);
    font-size: 1.5rem;
    font-weight: 700;
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.24),
        rgba(16, 185, 129, 0.14)
    );

    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 16px;

    font-size: 1.55rem;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.91rem;
    line-height: 1.8;
}

.service-card a {
    position: absolute;
    left: 32px;
    bottom: 30px;

    color: #93c5fd;
    font-size: 0.88rem;
    font-weight: 600;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.service-card a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services {
        padding: 85px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 310px;
    }
}
/* =========================
   PORTFOLIO
========================= */

.portfolio {
    padding: 100px 7%;
    background: #07101f;
}

.portfolio .section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.portfolio .section-heading span {
    color: #4da3ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.portfolio .section-heading h2 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 56px);
    margin: 12px 0 16px;
}

.portfolio .section-heading p {
    color: #aab6d3;
    line-height: 1.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-card {
    background: #10192b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(77, 163, 255, 0.5);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #0b1424;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-content {
    padding: 28px;
}

.portfolio-category {
    display: inline-block;
    color: #4da3ff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 14px;
}

.portfolio-content p {
    color: #aab6d3;
    line-height: 1.7;
    margin-bottom: 22px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.portfolio-tech span {
    padding: 7px 12px;
    border-radius: 50px;
    background: rgba(77, 163, 255, 0.1);
    color: #77baff;
    font-size: 12px;
}

.portfolio-button {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.portfolio-button:hover {
    color: #4da3ff;
}

.portfolio-placeholder {
    height: 230px;
    background:
        linear-gradient(
            135deg,
            rgba(55, 104, 255, 0.18),
            rgba(22, 200, 170, 0.12)
        );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.portfolio-placeholder span {
    font-size: 55px;
    line-height: 1;
}

.portfolio-placeholder p {
    margin-top: 10px;
    color: #aab6d3;
}

@media (max-width: 950px) {

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .portfolio {
        padding: 75px 6%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   CONTACT
========================= */

.contact {
    padding: 100px 7%;
    background: #091426;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.contact-label {
    color: #4da3ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-info h2 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 55px);
    line-height: 1.1;
    margin: 15px 0 20px;
}

.contact-info p {
    color: #aab6d3;
    line-height: 1.8;
    max-width: 520px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.contact-details a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: #4da3ff;
}

.contact-form {
    background: #10192b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;

    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    background: #091426;
    color: #ffffff;

    font-family: inherit;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #4da3ff;
}

.contact-form button {
    border: none;
    border-radius: 12px;

    padding: 16px;

    background: linear-gradient(
        135deg,
        #2f6cff,
        #5748f5
    );

    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;

    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

@media (max-width: 800px) {

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 650px) {

    .contact {
        padding: 75px 6%;
    }

    .contact-form {
        padding: 25px;
    }

}