```css
/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, #172033, #0f172a 60%);
    color: #fff;
}

/* ================= BACKGROUND GLOW ================= */

body::before {
    content: "";
    position: fixed;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.15), transparent 60%);
    top: -20vw;
    left: -20vw;
    animation: floatGlow 12s infinite alternate ease-in-out;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(200px,150px); }
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER ================= */

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(18px);
    z-index: 1000;
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo img {
    height: 140px;
    transition: 0.3s ease;
}

.main-header.shrink .logo img {
    height: 90px;
}

/* ================= NAV ================= */

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    color: #38bdf8;
}

.nav-btn {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #000;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    padding-top: 190px;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(10,15,30,0.5), rgba(10,15,30,0.6)),
        url("images/pozadi.jpg") center/cover no-repeat fixed;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ffffff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    color: #cbd5e1;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(56,189,248,0.5);
}

/* ================= SEKCE ================= */

.sluzby,
.portfolio,
.kontakt {
    padding: 110px 0;
}

h2 {
    margin-bottom: 60px;
    text-align: center;
    font-size: 38px;
}

/* ================= GRID ================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

/* ================= KARTA ================= */

.karta {
    background: rgba(30,41,59,0.8);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
    position: relative;
}

.karta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(56,189,248,0.2), transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

.karta:hover::before {
    opacity: 1;
}

.karta:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(56,189,248,0.25);
}

/* ================= PORTFOLIO ================= */

.portfolio-card {
    max-width: 750px;
    margin: auto;
    background: rgba(30,41,59,0.9);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.portfolio-card:hover {
    box-shadow: 0 0 30px rgba(56,189,248,0.35);
}

.portfolio-card img {
    width: 100%;
}

/* ================= PRICING ================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.price-card {
    background: rgba(30,41,59,0.85);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(56,189,248,0.35);
}

.price {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
    color: #38bdf8;
}

.price-card ul {
    list-style: none;
    margin-top: 15px;
}

.price-card ul li {
    margin: 8px 0;
    color: #cbd5e1;
}

.highlight {
    border: 1px solid #38bdf8;
}

/* ================= CONTACT ================= */

.contact-info {
    text-align:center;
    margin-bottom:20px;
}

.success-box{
background:#0f172a;
border:1px solid rgba(56,189,248,0.4);
padding:25px;
border-radius:12px;
text-align:center;
margin-bottom:30px;
}

/* ================= FORM ================= */

.form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(30,41,59,0.9);
    color: #fff;
}

.form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg,#38bdf8,#0ea5e9);
    border: none;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

.header-flex {
flex-direction: column;
gap: 10px;
padding: 12px 0;
}

.logo img {
height: 70px;
}

nav {
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}

nav a {
margin-left: 0;
font-size: 14px;
}

.hero {
padding-top: 130px;
min-height: 85vh;
background-attachment: scroll;
}

.hero h1 {
font-size: 32px;
line-height: 1.2;
}

.subtitle {
font-size: 16px;
padding: 0 10px;
}

.grid {
grid-template-columns: 1fr;
gap: 18px;
}

.portfolio-card img {
max-height: 280px;
object-fit: cover;
}

.form {
padding: 0 10px;
}

}

/* ================= FOOTER ================= */

footer {
padding: 40px 0;
text-align: center;
border-top: 1px solid rgba(255,255,255,0.05);
color: #94a3b8;
}