/* RESET */
*,*::before,*::after{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

/* VARIABLES */
:root{
    --maxw:1200px;
}

html,
body {
    height:100%;
    min-height:100vh;
}

body{
    font-family:'Inter',sans-serif;
    color:#111827;

    min-height:100vh;
    overflow-x:hidden;
    position:relative;

    background:#fafafa;
}


/* HEADER */
header{
    padding:30px 20px 15px;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;

    position:relative;
    z-index:2;
}

#msg{
    font-size:14px;
    color:#64748b;
    text-align:center;
    max-width:700px;
    margin-bottom: 15px;
}

.align_center {
    text-align: center;
}

/* MAIN */
main{
    flex:1;
    width:100%;
    max-width:var(--maxw);

    margin:0 auto;

    padding:80px 24px;

    display:flex;
    flex-direction:column;

    background:none;
    border:none;
    box-shadow:none;
}

/* CARD SECTIONS */
.app-card{
    background:rgba(255,255,255,.5);
    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);
    border-radius:28px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

/* HEADINGS & TEXT */
h1,h2,h3,h4,h5,h6{
    font-weight:600;
    color:#000;
    margin-bottom:0.5em;
}

p{
    color:#333;
    font-size:15px;
    margin-bottom:1em;
}

/* NAV LINKS */
.links{
    display:grid;
    gap:16px;
}

.links_level_2 {
    gap:5px;
    padding: 4px 8px;   /* zmniejsz padding */
    line-height: 1.2;   /* mniejsza wysokość linii */
    font-size: 14px;    /* opcjonalnie mniejsza czcionka */        
}

/* LINKI GLOBALNIE */

a{
    color:#111827;
    text-decoration:none;
    transition:color .2s;
}

a:hover{
    color:#000;
}

/* BUTTONS */
button,
input[type="submit"]{
    background:
        linear-gradient(
            135deg,
            #6366f1,
            #8b5cf6
        );

    color:white;

    border:none;

    border-radius:14px;

    padding:14px 24px;

    font-weight:600;

    box-shadow:
        0 12px 30px rgba(99,102,241,.25);

    transition:.2s;
}


button:hover,
input[type="submit"]:hover{
    transform:translateY(-2px);

    box-shadow:
        0 16px 40px rgba(99,91,255,.35);
}

/* FORM ELEMENTS */
input,
textarea,
select{
    width:100%;

    padding:14px 18px;

    border-radius:14px;

    border:1px solid rgba(15,23,42,.08);

    background:white;

    font-size:15px;

    margin-bottom:12px;

    transition:.2s;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;

    border-color:#635bff;

    box-shadow:
        0 0 0 4px rgba(99,91,255,.12);
}

/* TABLE */
table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 8px 30px rgba(15,23,42,.05);
}

th{
    text-align:left;
    padding:12px;
    border-bottom:2px solid #eee;
}

td{
    padding:10px;
    border-bottom:1px solid #f2f2f2;
}

tr:hover{
    background:#fafafa;
}

/* STATUS */
.status_cancelled{ background:#ffe6e6; }
.status_ordered{ background:#e8ffe8; }
.status_ended{ background:#fff1d6; }

.light-grey-cell{ background:#b2d6f1; }

/* FOOTER */
footer{
    margin-top:auto;
    padding:25px;
    text-align:center;
    font-size:13px;
    color:#999;
}

/* INSTALL BUTTON */
#installBtn{
    display:none;
    margin-top:15px;
}

/* RESPONSIVE */
@media(max-width:900px){

    .hero h1{
        font-size:48px;
    }

    .hero p{
        font-size:18px;
    }
}

.important-text {
    color: #d32f2f; /* czerwony – często używany do oznaczania czegoś ważnego */
    font-weight: 600; /* lekko pogrubiony */
}

section{
    position:relative;
    overflow:hidden;

    display:grid;
    grid-template-columns:1fr 420px;
    gap:40px;
}

body::after{
    content:"";

    position:fixed;

    width:700px;
    height:700px;

    top:100px;
    right:-250px;

    border-radius:50%;

    background:#a855f7;

    opacity:.20;

    filter:blur(120px);

    z-index:-2;
}

body::before{
    content:"";

    position:fixed;

    width:700px;
    height:700px;

    top:-200px;
    left:-200px;

    border-radius:50%;

    background:#6366f1;

    opacity:.25;

    filter:blur(120px);

    z-index:-2;
}

.content{
    margin-top:24px;
}

.hero{
    text-align:left;
    margin-bottom:60px;
}

.hero h1{
    font-size:72px;
    font-weight:800;
    line-height:1;
    color:#111827;
    margin-bottom:16px;
}

.hero p{
    font-size:20px;
    color:#6b7280;
    max-width:none;
    margin:0;
}

.links,
.tutorial{
    background:rgba(255,255,255,.55);

    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);

    border-radius:28px;

    padding:28px;
}

.section-label{
    display:block;

    font-size:12px;
    letter-spacing:.12em;

    color:#6b7280;

    margin-bottom:24px;

    font-weight:600;
}

.gradient{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    z-index:0;
    pointer-events:none;
}

.gradient-1{
    width:700px;
    height:700px;
    background:#6366f1;
    opacity:.25;
    top:-200px;
    left:-200px;
}

.gradient-2{
    width:700px;
    height:700px;
    background:#a855f7;
    opacity:.20;
    top:100px;
    right:-250px;
}

header,
main,
footer{
    position:relative;
    z-index:1;
}

@media (max-width: 900px) {

    section{
        grid-template-columns: 1fr;
    }

    main{
        padding: 40px 16px;
    }

    .links,
    .tutorial{
        padding: 20px;
    }

    .hero h1{
        font-size: 48px;
    }

    .hero p{
        font-size: 18px;
    }
}

.service-card{
    padding:22px;

    border-radius:20px;

    border:1px solid #e5e7eb;

    background:rgba(255,255,255,.75);

    cursor:pointer;

    transition:.25s;
}

.service-card:hover{
    transform:translateY(-4px);

    border-color:#6366f1;

    box-shadow:
        0 10px 30px rgba(99,102,241,.12);
}

.service-card h3{
    margin-bottom:8px;
    font-size:1.17em; /* domyślny rozmiar h3 */
    font-weight:700;
    color:#111827;
}

.service-card p{
    color:#6b7280;
    margin-bottom:12px;
    font-size:16px;
}

.back-btn{
    display:inline-flex;
    width:fit-content;
    align-items:center;

    background:none;
    border:none;
    box-shadow:none;

    color:#6b7280;
    font-size:14px;
    font-weight:600;

    text-decoration:none;

    transition:.2s;
}

.back-btn:hover{
    color:#111827;
    transform:translateX(-3px);
}