/* =========================
   PODSTAWOWE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #061a3a;
    --navy-light: #0a2a58;

    --blue: #0878f9;
    --blue-dark: #0564d5;
    --blue-light: #e8f3ff;

    --white: #ffffff;
    --background: #f6f9fd;

    --text: #14213d;
    --muted: #65748b;

    --border: #dce6f2;

    --shadow:
        0 15px 40px rgba(9, 39, 79, 0.08);

    --shadow-large:
        0 25px 70px rgba(9, 39, 79, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, 88%);
    margin: 0 auto;
}


/* =========================
   PRZYCISKI
========================= */

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border: 2px solid var(--blue);
    border-radius: 9px;

    background: var(--blue);
    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.button:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(8, 120, 249, 0.22);
}

.button-outline {
    background: transparent;
    color: var(--blue);
}

.button-outline:hover {
    color: white;
}


/* =========================
   MENU
========================= */

.header {
    height: 80px;

    display: flex;
    align-items: center;

    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid #edf1f6;

    backdrop-filter:
        blur(15px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    gap: 12px;
}

.logo img {
    width: 54px;
    height: 54px;

    object-fit: contain;

    /* pomaga usunąć wizualnie białe tło logo */
    mix-blend-mode: multiply;
}

.logo-text {
    display: flex;
    flex-direction: column;

    color: var(--navy);
}

.logo-text strong {
    font-size: 22px;
    line-height: 1;
}

.logo-text span {
    margin-top: 4px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 30px;

    font-size: 14px;
    font-weight: 600;
}

.navigation > a:not(.button) {
    transition: color 0.2s;
}

.navigation > a:not(.button):hover {
    color: var(--blue);
}

.nav-button {
    min-height: 44px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 35%,
            rgba(8, 120, 249, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f2f8ff
        );
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}

.hero-badge {
    display: inline-block;

    margin-bottom: 20px;

    padding: 7px 13px;

    border:
        1px solid #abd4ff;

    border-radius: 100px;

    background:
        var(--blue-light);

    color:
        var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.hero h1 {
    max-width: 720px;

    margin-bottom: 25px;

    color: var(--navy);

    font-size:
        clamp(43px, 5vw, 67px);

    line-height: 1.04;

    letter-spacing: -2.5px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-content > p {
    max-width: 610px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}


/* =========================
   HERO - LOGO
========================= */

.hero-visual {
    min-height: 430px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;
}

.background-code {
    position: absolute;

    top: 30px;
    right: -10px;

    z-index: -3;

    color:
        rgba(8, 120, 249, 0.08);

    font-size: 150px;
    font-weight: 900;
}


/* NIEBIESKIE KSZTAŁTY */

.blue-shape {
    position: absolute;

    border-radius: 45px;

    background:
        linear-gradient(
            135deg,
            #06458f,
            #0785ff
        );

    box-shadow:
        0 30px 70px rgba(8, 120, 249, 0.2);
}

.blue-shape-one {
    width: 82%;
    height: 82%;

    z-index: -2;

    transform:
        rotate(7deg);
}

.blue-shape-two {
    width: 72%;
    height: 72%;

    z-index: -1;

    opacity: 0.35;

    transform:
        rotate(-9deg)
        translate(15px, -5px);
}


/* GŁÓWNA KARTA Z LOGO */

.hero-logo-card {
    width: 80%;

    position: relative;

    z-index: 5;

    padding:
        45px 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,0.9);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(244,249,255,0.95)
        );

    box-shadow:
        0 30px 70px rgba(0, 36, 90, 0.22),
        0 0 50px rgba(255,255,255,0.45);

    transform:
        rotate(-2deg);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-logo-card:hover {
    transform:
        rotate(0deg)
        scale(1.025);

    box-shadow:
        0 35px 80px rgba(0, 36, 90, 0.27),
        0 0 60px rgba(255,255,255,0.55);
}


/* NAJWAŻNIEJSZA ZMIANA */

.hero-logo-card img {
    width: 100%;

    max-width: 360px;

    height: auto;

    display: block;

    object-fit: contain;

    /*
       Dzięki multiply białe / bardzo jasne
       tło JPG dużo lepiej wtapia się w kartę.
    */
    mix-blend-mode: multiply;

    transform:
        scale(1.08);

    filter:
        contrast(1.06)
        saturate(1.08);
}


/* =========================
   SEKCJE
========================= */

section {
    padding: 95px 0;
}

.section-label {
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-title {
    color: var(--navy);

    font-size:
        clamp(33px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1.3px;
}

.section-title span {
    color: var(--blue);
}

.section-description {
    max-width: 700px;

    margin-top: 15px;
    margin-bottom: 45px;

    color: var(--muted);

    font-size: 17px;
}


/* =========================
   O NAS
========================= */

.about {
    background: white;
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-description {
    color: var(--muted);

    font-size: 17px;
}

.advantages {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    margin-top: 60px;
}

.advantage {
    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: white;

    transition: 0.25s;
}

.advantage:hover {
    transform: translateY(-6px);

    box-shadow:
        var(--shadow);
}

.advantage-number {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 10px;

    background:
        var(--blue-light);

    color:
        var(--blue);

    font-weight: 800;
}

.advantage h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 19px;
}

.advantage p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================
   REALIZACJE
========================= */

.portfolio {
    background: #f8fbff;
}

.projects {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow:
        var(--shadow);

    transition: 0.25s;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        var(--shadow-large);
}

.project-preview {
    height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;
}

.restaurant-preview {
    background:
        linear-gradient(
            135deg,
            #17110c,
            #8d5c2c
        );
}

.company-preview {
    background:
        linear-gradient(
            135deg,
            #d9ebff,
            #579bdf
        );
}

.shop-preview {
    background:
        linear-gradient(
            135deg,
            #222936,
            #6e7684
        );
}


/* MINI PRZEGLĄDARKA */

.fake-browser {
    width: 100%;

    overflow: hidden;

    border-radius: 8px;

    background: white;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.2);

    transform:
        perspective(700px)
        rotateX(2deg)
        rotateY(-3deg);
}

.browser-top {
    height: 25px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 10px;

    background: #eef2f6;
}

.browser-top span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #aab4c2;
}

.browser-content {
    height: 150px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.browser-content small {
    margin-bottom: 4px;

    font-size: 7px;

    letter-spacing: 2px;
}

.browser-content strong {
    font-size: 25px;
}

.browser-content p {
    margin-top: 3px;

    font-size: 9px;
}

.browser-content button {
    margin-top: 10px;

    padding: 5px 12px;

    border: 0;
    border-radius: 4px;

    font-size: 7px;

    cursor: pointer;
}

.restaurant-site {
    color: white;

    background:
        linear-gradient(
            135deg,
            #100c09,
            #5b3519
        );
}

.restaurant-site button {
    background: #c78538;
    color: white;
}

.company-site {
    color: var(--navy);

    background:
        #eaf4ff;
}

.company-site button {
    background: var(--navy);
    color: white;
}

.shop-site {
    color: white;

    background:
        #202631;
}

.shop-site button {
    background: white;
    color: #202631;
}

.project-info {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 22px;
}

.project-info h3 {
    margin-bottom: 4px;

    color: var(--navy);

    font-size: 19px;
}

.project-info p {
    color: var(--muted);

    font-size: 13px;
}

.project-arrow {
    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--blue-light);

    color:
        var(--blue);

    font-size: 20px;
}


/* =========================
   CENNIK
========================= */

.pricing-section {
    background: white;
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    align-items: stretch;
}

.price-card {
    position: relative;

    display: flex;

    flex-direction: column;

    padding: 35px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow:
        var(--shadow);
}

.price-card.featured {
    border:
        2px solid var(--blue);

    transform:
        translateY(-8px);

    box-shadow:
        0 25px 55px
        rgba(8, 120, 249, 0.15);
}

.popular {
    position: absolute;

    top: -15px;
    left: 50%;

    padding: 6px 17px;

    border-radius: 100px;

    background: var(--blue);

    color: white;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    white-space: nowrap;

    transform:
        translateX(-50%);
}

.price-card h3 {
    color: var(--navy);

    font-size: 25px;
}

.price-description {
    min-height: 52px;

    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}

.price {
    display: flex;

    align-items: baseline;

    gap: 8px;

    margin: 25px 0;
}

.price small {
    color: var(--muted);
}

.price strong {
    color: var(--navy);

    font-size: 37px;

    line-height: 1;
}

.price-card ul {
    flex: 1;

    margin-bottom: 30px;

    list-style: none;
}

.price-card li {
    position: relative;

    margin: 12px 0;

    padding-left: 25px;

    color: #475569;

    font-size: 14px;
}

.price-card li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--blue);

    font-weight: 900;
}

.full-button {
    width: 100%;
}

.pricing-note {
    margin-top: 35px;

    text-align: center;

    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            #061a3a,
            #073d7d
        );

    color: white;
}

.cta-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-small {
    margin-bottom: 7px;

    color: #75b8ff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.cta h2 {
    max-width: 650px;

    font-size:
        clamp(31px, 4vw, 45px);

    line-height: 1.1;
}

.cta h2 span {
    color: #58aaff;
}

.cta-button {
    background: white;

    border-color: white;

    color: var(--navy);
}

.cta-button:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: white;
}


/* =========================
   KONTAKT
========================= */

.contact {
    background: #f8fbff;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.contact-content > p:not(.section-label) {
    max-width: 520px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 16px;
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;
}

.contact-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--blue);

    color: white;

    font-size: 20px;
    font-weight: 800;
}

.contact-item small {
    display: block;

    margin-bottom: 2px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.contact-item a {
    color: var(--navy);

    font-weight: 700;
}

.contact-item a:hover {
    color: var(--blue);
}


/* FORMULARZ */

.contact-form {
    padding: 38px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow:
        var(--shadow);
}

.contact-form h3 {
    color: var(--navy);

    font-size: 25px;
}

.contact-form > p {
    margin: 5px 0 25px;

    color: var(--muted);

    font-size: 13px;
}

.contact-form label {
    display: block;

    margin-bottom: 6px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    margin-bottom: 17px;

    padding: 14px 15px;

    outline: none;

    border:
        1px solid #d7e0eb;

    border-radius: 8px;

    background: #fbfdff;

    color: var(--text);

    transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(8, 120, 249, 0.1);
}

.contact-form textarea {
    min-height: 140px;

    resize: vertical;
}

.form-button {
    width: 100%;
}


/* =========================
   STOPKA
========================= */

footer {
    padding: 32px 0;

    background: var(--navy);

    color: white;
}

.footer-grid {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-brand img {
    width: 45px;
    height: 45px;

    object-fit: contain;

    border-radius: 7px;

    mix-blend-mode: screen;
}

.footer-brand div {
    display: flex;

    flex-direction: column;
}

.footer-brand strong {
    font-size: 17px;
}

.footer-brand span {
    color: #8fa7c5;

    font-size: 8px;

    letter-spacing: 1.5px;
}

footer p,
footer > div > a {
    color: #9eb0c9;

    font-size: 12px;
}

footer a:hover {
    color: white;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .navigation {
        gap: 16px;
    }

    .navigation > a:not(.button) {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;

        max-width: 650px;

        width: 100%;

        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .advantages {
        grid-template-columns: 1fr;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .project-preview {
        height: 320px;
    }

    .fake-browser {
        max-width: 500px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;

        max-width: 600px;

        margin: 0 auto;
    }

    .price-card.featured {
        margin-top: 15px;

        transform: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}


/* =========================
   TELEFON
========================= */

@media (max-width: 650px) {

    .header {
        height: 70px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .nav-button {
        min-height: 40px;

        padding: 0 14px;

        font-size: 12px;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        min-height: auto;

        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.8px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-logo-card {
        width: 82%;

        padding: 30px;
    }

    .hero-logo-card img {
        max-width: 280px;
    }

    .blue-shape-one {
        width: 85%;
        height: 75%;
    }

    .blue-shape-two {
        width: 75%;
        height: 70%;
    }

    .background-code {
        font-size: 100px;
    }

    .project-preview {
        height: 240px;

        padding: 20px;
    }

    .price-card {
        padding: 28px 24px;
    }

    .cta-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-button {
        width: 100%;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================
   MAŁE TELEFONY
========================= */

@media (max-width: 420px) {

    .logo-text {
        display: none;
    }

    .hero h1 {
        font-size: 37px;
    }

    .section-title {
        font-size: 32px;
    }

    .contact-item a {
        font-size: 13px;
    }

}