/* ========================= */
/* GLOBAL */
/* ========================= */

body {
    margin: 0;
    padding: 0;
    background-color: #0B0F14;
    color: #E5E7EB;
    font-family: Arial, sans-serif;
}

:root {
    --accent: #3b82f6;
    --accent2: #22c55e;
    --muted: #9ca3af;

    --border: rgba(55,65,81,0.5);
    --radius-md: 12px;
    --radius-lg: 18px;

    --shadow-card: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.3);

    --transition: 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ========================= */
/* NAVIGATION */
/* ========================= */

/* ========================= */
/* NAVIGATION */
/* ========================= */

.nav {
    width: 100%;
    background-color: #1a1f29;
    border-bottom: 1px solid #2a3240;
}

.nav-inner {
    max-width: 1200px;      /* ograniczenie szerokości */
    margin: 0 auto;         /* centrowanie */
    padding: 14px 30px;     /* odstępy */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 45px;
    height: 45px;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
}

.brand {
    font-size: 16px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    position: relative;
    color: #6b6b6b;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent2));
    border-radius: 999px;
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* MOBILE NAV */
@media (max-width: 800px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent2));
    border-radius: 999px;
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* MOBILE NAV */
@media (max-width: 800px) {
    .nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* ========================= */
/* BADGE */
/* ========================= */

.badge {
    background-color: #3e3e81;
    width: fit-content;
    padding: 6px 14px;
    margin: 20px;
    border-radius: 12px;
    font-size: 14px;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    align-items: center;
}

.hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title span {
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--muted);
    max-width: 550px;
    margin-bottom: 25px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--accent), var(--accent2));
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #3b3b3b;
    color: #E5E7EB;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(59,130,246,0.25);
}

/* HERO RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-meta {
        justify-content: center;
    }
}

/* ========================= */
/* HERO MOCKUP */
/* ========================= */

.hero-device-card {
    position: relative;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #1f2937 0, #020617 55%);
    padding: 22px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: var(--shadow-card);
}

.hero-device-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 11px;
    color: var(--muted);
}

.hero-device-dots {
    display: flex;
    gap: 5px;
}

.hero-device-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4b5563;
}

.hero-device-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: center;
}

.hero-laptop {
    border-radius: 16px;
    background: linear-gradient(145deg, #020617, #111827);
    border: 1px solid rgba(55,65,81,0.9);
    padding: 16px;
}

.hero-laptop-screen {
    border-radius: 10px;
    background: radial-gradient(circle at top, #1d4ed8 0, #020617 60%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kod-img {
    width: 100%;
    height: 100%;
}

.hero-laptop-base {
    margin-top: 8px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, #4b5563, #9ca3af);
}

.hero-phone {
    border-radius: 18px;
    background: linear-gradient(145deg, #020617, #111827);
    border: 1px solid rgba(55,65,81,0.9);
    padding: 10px;
    width: 120px;
    justify-self: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.hero-phone-screen {
    border-radius: 12px;
    background: radial-gradient(circle at top, #4f46e5 0, #020617 60%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-tag {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15,23,42,0.95);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--muted);
    border: 1px solid rgba(55,65,81,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* MOCKUP RESPONSIVE */
@media (max-width: 900px) {
    .hero-device-main {
        grid-template-columns: 1fr 1fr;
    }

    .hero-phone {
        width: 90px;
    }

    .hero-laptop-screen,
    .hero-phone-screen {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .hero-device-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-floating-tag {
        display: none;
    }
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, #111827 0, #020617 70%);
    border: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 22px 55px rgba(15,23,42,0.9);
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(59,130,246,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-text {
    font-size: 13px;
    color: var(--muted);
}

/* SERVICES RESPONSIVE */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* PROJECTS */
/* ========================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, #111827 0, #020617 70%);
    border: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 22px 55px rgba(15,23,42,0.9);
}

.project-thumb {
    border-radius: 10px;
    background: linear-gradient(135deg, #1f2937, #020617);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.project-meta {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.project-title {
    font-size: 14px;
    font-weight: 600;
}

/* PROJECTS RESPONSIVE */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* SECTIONS */
/* ========================= */

section {
    padding: 10px 0 40px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.section-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 14px;
    color: var(--muted);
    max-width: 520px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
    border-top: 1px solid rgba(31,41,55,0.9);
    padding: 22px 0 26px;
    background: radial-gradient(circle at top, #020617 0, #000 70%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 26px;
    font-size: 13px;
}

.footer-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e5e7eb;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--muted);
}

.footer-bottom {
    margin-top: 18px;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* FOOTER RESPONSIVE */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-bottom {
    justify-content: center;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.footer-bottom {
    justify-content: center;
}   
.footer-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e5e7eb;
}
footer-text {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
/* ===== FIXY ===== */

img {
    max-width: 100%;
    height: auto;
}

/* NAV FIX */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HERO MOBILE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

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

    .btn {
        width: 100%;
    }
}

/* DEVICE IMG FIX */
.hero-laptop-screen img,
.hero-phone-screen img {
    object-fit: cover;
}

/* FOOTER */
.footer-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-text {
    text-align: center;
    margin-bottom: 10px;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}
/* ========================= */
/* GLOBAL SMOOTH */
/* ========================= */

* {
    transition: all 0.25s ease;
}

/* ========================= */
/* NAV LINK – glow underline */
/* ========================= */

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #22c55e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================= */
/* BUTTONS – premium hover */
/* ========================= */

.btn {
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

/* gradient glow */
.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(59,130,246,0.4),
                0 0 20px rgba(34,197,94,0.3);
}

/* shimmer effect */
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
}

.btn:hover::before {
    left: 100%;
    transition: 0.6s;
}

/* ========================= */
/* SERVICE CARDS – glass hover */
/* ========================= */

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59,130,246,0.6);
}

/* glow border */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(59,130,246,0.3), transparent);
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: shine 1.2s linear;
}

/* ========================= */
/* PROJECT CARDS – tilt effect */
/* ========================= */

.project-card {
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-4deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* ========================= */
/* HERO DEVICE – floating */
/* ========================= */

.hero-device-card {
    transition: transform 0.4s ease;
}

.hero-device-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
}

/* ========================= */
/* ICON BOUNCE */
/* ========================= */

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(6deg);
}

/* ========================= */
/* DOT pulse */
/* ========================= */

.dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

/* ========================= */
/* SHINE animation */
/* ========================= */

@keyframes shine {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}