/* --- ZMIENNE I SETUP --- */
:root {
    --color-primary: #1e88e5;
    --color-primary-light: #64b5f6;
    --color-accent: #880e4f;
    --color-accent-light: #c2185b;
    --bg-dark: #050a14;
    --text-main: #ffffff;
    --text-muted: #c2cad6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    --font-main: 'Outfit', sans-serif;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TŁO AURORA --- */
.background-aurora {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1; overflow: hidden; background: var(--bg-dark);
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(90px);
    opacity: 0.35; animation: float 25s infinite alternate;
}
.blob-1 { width: 700px; height: 700px; background: var(--color-primary); top: -200px; left: -100px; }
.blob-2 { width: 600px; height: 600px; background: var(--color-accent); bottom: -150px; right: -150px; animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; background: #5b21b6; top: 40%; left: 30%; opacity: 0.15; filter: blur(70px); }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 60px) scale(1.1); } }

/* --- UI ELEMENTS --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 30px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-size: 0.95rem; border: none; text-decoration: none;
    letter-spacing: 0.02em;
    margin: 2px 0;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--color-primary); background: rgba(30, 136, 229, 0.1); }
.glow-effect:hover { box-shadow: 0 0 25px rgba(30, 136, 229, 0.6); transform: translateY(-2px); }
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); }
.text-gradient { background: linear-gradient(135deg, #4fc3f7, #ffffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 25px 0;
    transition: all 0.4s ease; background: transparent; border-bottom: 1px solid transparent;
}
header.scrolled {
    background: rgba(5, 10, 20, 0.95); backdrop-filter: blur(20px);
    padding: 15px 0; border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { height: 80px; width: auto; filter: brightness(1.1) drop-shadow(0 0 10px rgba(255,255,255,0.1)); transition: 0.3s; }
header.scrolled .brand-logo { height: 64px; }

.desktop-nav ul { display: flex; gap: 30px; list-style: none; }
.desktop-nav li { position: relative; }
.desktop-nav a { color: var(--text-muted); font-weight: 500; text-decoration: none; position: relative; }
.desktop-nav a:hover { color: var(--text-main); }
.has-dropdown > a:after {
    content: "▾"; font-size: 0.75rem; margin-left: 6px; color: var(--text-muted);
}
.dropdown {
    position: absolute; top: 110%; left: 0; min-width: 190px;
    padding: 12px; display: none; flex-direction: column; gap: 10px;
    background: rgba(10, 14, 26, 0.95); border: 1px solid var(--glass-border);
    border-radius: 14px; z-index: 10;
}
.dropdown a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.dropdown a:hover { color: white; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }

.header-actions { display: flex; gap: 15px; align-items: center; }
.icon-btn {
    color: var(--text-main); width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    transition: var(--transition); position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,0.15); color: var(--color-primary-light); }
.cart-count {
    position: absolute; top: -2px; right: -2px; background: var(--color-accent);
    color: white; font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Lang Switch */
.lang-switch { display: flex; align-items: center; gap: 5px; color: var(--text-muted); margin-right: 10px; font-size: 0.9rem; }
.lang-btn { background: none; border: none; color: inherit; cursor: pointer; font-weight: 500; }
.lang-btn.active { color: white; font-weight: 700; }

/* Mobile Toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: white; }

/* --- HERO (FULL SCREEN) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px; /* Korekta na header */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
}

.badge-new {
    display: inline-block; padding: 6px 16px; background: rgba(30, 136, 229, 0.15);
    border: 1px solid rgba(30, 136, 229, 0.3); border-radius: 50px; color: var(--color-primary-light);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; text-transform: uppercase;
}
.hero-section h1 { font-size: 4.5rem; line-height: 1.1; font-weight: 700; margin-bottom: 24px; }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px auto; }

/* Domain Search */
.domain-search-wrapper { max-width: 700px; margin: 0 auto 50px; }
.domain-form {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); padding: 8px;
    border-radius: 60px; border: 1px solid var(--glass-border); display: flex; gap: 10px;
}
.input-group { flex: 1; display: flex; align-items: center; padding-left: 20px; }
.search-icon { display: flex; align-items: center; color: var(--text-muted); margin-right: 10px; }
.search-icon svg { width: 18px; height: 18px; }
.domain-form input { width: 100%; background: transparent; border: none; color: white; font-size: 1.1rem; outline: none; }
.hero-note { margin-top: 14px; color: var(--text-muted); font-size: 0.95rem; }

/* --- STATS ROW --- */
.stats-row {
    display: flex; justify-content: center; gap: 60px;
    border-top: 1px solid var(--glass-border); padding-top: 40px;
    max-width: 800px; margin: 0 auto;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 700; color: var(--text-main); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; }

/* --- FEATURES --- */
.features-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card { padding: 32px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); }
.icon-box {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); color: var(--text-main);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box.blue, .icon-box.red, .icon-box.purple { background: rgba(255,255,255,0.06); color: var(--text-main); border: 1px solid var(--glass-border); }

/* --- PRICING --- */
.pricing-section { padding: 80px 0; }
.pricing-toggle-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 30px; }
.toggle-label { font-size: 1rem; color: var(--text-muted); transition: 0.3s; }
.toggle-label.active { color: white; font-weight: 600; }

/* NAPRAWIONY SWITCH CSS */
.switch { position: relative; display: inline-block; width: 60px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1); border: 1px solid var(--glass-border); transition: .4s;
    border-radius: 34px; /* Zaokrąglenie kontenera */
}
.slider:before {
    position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 3px;
    background-color: var(--color-primary); transition: .4s;
    border-radius: 50%; /* TO NAPRAWIA "KWADRAT" W ŚRODKU - TERAZ JEST KOŁO */
}
input:checked + .slider:before { transform: translateX(28px); background-color: var(--color-accent); }

.pricing-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { padding: 40px 30px; display: flex; flex-direction: column; }
.pricing-card.popular {
    background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--color-primary); transform: scale(1.05); z-index: 2;
}
.popular-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--color-primary); color: white; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
}
.price-box { margin: 25px 0; }
.amount { font-size: 3.5rem; font-weight: 700; line-height: 1; }
.currency { color: var(--text-muted); margin-left: 5px; }
.features-list { margin-bottom: 30px; flex-grow: 1; list-style: none; }
.features-list li { margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; }
.features-list li:before { content: "✓"; color: var(--color-primary-light); margin-right: 10px; font-weight: bold; }
.full-width { width: 100%; }

/* --- HOW IT WORKS --- */
.how-it-works-section { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.step-card { padding: 40px 30px; text-align: center; position: relative; transition: var(--transition); }
.step-card:hover { transform: translateY(-5px); border-color: var(--color-primary); }
.step-number {
    font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.03);
    position: absolute; top: 10px; right: 20px; line-height: 1;
}
.step-icon { margin-bottom: 20px; display: inline-flex; align-items: center; justify-content: center; }
.step-icon svg { width: 34px; height: 34px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- DEVELOPER SECTION --- */
.developer-section { padding: 80px 0; }
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dev-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.tech-item h4 { color: white; margin-bottom: 5px; }
.tech-item p { color: var(--text-muted); font-size: 0.9rem; }

.terminal-window {
    background: #0f172a; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1); overflow: hidden; font-family: 'Courier New', monospace;
}
.terminal-header { background: rgba(255,255,255,0.05); padding: 12px 15px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.terminal-body { padding: 20px; color: #e2e8f0; font-size: 0.9rem; }
.prompt { color: var(--color-primary-light); margin-right: 8px; font-weight: bold; }
.output { color: #94a3b8; margin-bottom: 5px; }
.output.success { color: #4ade80; }
.cursor { display: inline-block; width: 2px; height: 16px; background: #e2e8f0; animation: blink 1s infinite; vertical-align: middle; margin-left: 6px; }
@keyframes blink { 50% { opacity: 0; } }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--glass-border); padding-top: 80px; background: rgba(0,0,0,0.3); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(1.2); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-links h4 { color: white; margin-bottom: 24px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-primary-light); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 30px 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .pricing-wrapper { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .dev-grid { grid-template-columns: 1fr; }
    .hero-section h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }
    .lang-switch { display: none; }
    .brand-logo { height: 64px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; display: flex; flex-direction: column; }
    .hero-section { padding-top: 150px; }
    .hero-section h1 { font-size: 2.2rem; }
    .stats-row { flex-direction: column; gap: 20px; }
}
/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 10, 20, 0.98);
    z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }
.mobile-menu-overlay .mobile-nav {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; width: 90%; max-width: 320px;
}
.mobile-nav-list {
    list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-list li { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list > li > a {
    display: block; padding: 14px 20px; font-size: 1.15rem; font-weight: 500; color: var(--text-main);
    text-decoration: none; border-radius: 14px; transition: background 0.2s, color 0.2s;
}
.mobile-nav-list > li > a:hover { background: rgba(255,255,255,0.08); color: var(--color-primary-light); }
.mobile-nav-list .sub-menu {
    list-style: none; margin: 0; padding: 8px 0 8px 16px; border-left: 2px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 2px;
}
.mobile-nav-list .sub-menu li { list-style: none; }
.mobile-nav-list .sub-menu a {
    display: block; padding: 10px 12px; font-size: 1rem; color: var(--text-muted); text-decoration: none;
    border-radius: 10px; transition: background 0.2s, color 0.2s; text-align: left;
}
.mobile-nav-list .sub-menu a:hover { color: var(--color-primary-light); background: rgba(255,255,255,0.05); }
.mobile-nav-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); width: 100%; margin: 8px 0; }
.mobile-menu-overlay .mobile-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.mobile-menu-overlay .mobile-actions .btn { width: 100%; justify-content: center; }
.mobile-submenu { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.mobile-subtitle { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }


/* --- SUBPAGES + COMPONENTS --- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(30, 136, 229, 0.15);
    border: 1px solid rgba(30, 136, 229, 0.3);
    color: var(--color-primary-light); font-weight: 600; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.text-link { color: var(--color-primary-light); text-decoration: none; font-weight: 600; margin-top: 12px; display: inline-block; }
.text-link:hover { color: white; }
.link-inline { color: var(--color-primary-light); text-decoration: none; font-weight: 600; }
.link-inline:hover { color: white; }
.muted { color: var(--text-muted); }

.page-hero { padding: 160px 0 80px; }
.page-hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.page-hero-content { max-width: 650px; }
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; word-break: break-word; }
.breadcrumbs a { color: var(--color-primary-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-title { font-size: 3.2rem; line-height: 1.1; margin-bottom: 16px; }
.page-subtitle { color: var(--text-muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.metric { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); }
.metric strong { display: block; font-size: 1rem; }
.metric span { color: var(--text-muted); font-size: 0.85rem; }
.hero-card { padding: 28px; }
.plan-price { font-size: 2.4rem; font-weight: 700; margin: 6px 0 14px; }
.hero-card .features-list { margin-top: 10px; }

.section { padding: 70px 0; }
.section-header.left { text-align: left; margin-bottom: 40px; }
.section-header.left h2 { font-size: 2.1rem; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.info-card { padding: 26px; }
.info-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

.list-check { list-style: none; }
.list-check li { margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; }
.list-check li:before { content: "✓"; color: var(--color-primary-light); margin-right: 10px; font-weight: bold; }

.spec-table { display: grid; gap: 12px; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(255,255,255,0.02); }
.spec-row span { color: var(--text-muted); }
.spec-row strong { color: var(--text-main); }

.compare-table { overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); padding: 14px 16px; border-bottom: 1px solid var(--glass-border); }
.compare-row.compare-head { background: rgba(255,255,255,0.04); font-weight: 600; }
.compare-row:last-child { border-bottom: none; }
.compare-row span { color: var(--text-muted); }

.faq-grid { display: grid; gap: 16px; }
.faq-item { padding: 22px; }
.faq-item h4 { margin-bottom: 8px; }

.steps-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; }
.step-pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--glass-border); color: var(--text-muted); font-weight: 500; }
.step-pill.active { color: white; border-color: var(--color-primary); background: rgba(30, 136, 229, 0.15); }
.step-pill.done { color: var(--color-primary-light); border-color: rgba(30, 136, 229, 0.5); }

.cart-grid { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 30px; align-items: start; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px; }
.item-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text-main); }
.item-icon svg { width: 28px; height: 28px; }
.item-meta h4 { margin-bottom: 6px; }
.item-meta p { color: var(--text-muted); font-size: 0.9rem; }
.item-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.price-tag { font-size: 1.2rem; font-weight: 700; }

.summary-card { padding: 24px; position: sticky; top: 120px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-size: 1.2rem; font-weight: 700; }
.coupon-row { display: flex; gap: 10px; margin-top: 10px; }

.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { color: var(--text-muted); font-size: 0.9rem; }
.input, select, textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.03); color: var(--text-main); font-family: inherit;
}
select option { color: #0f172a; background: #ffffff; }
textarea { min-height: 120px; resize: vertical; }
.input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--color-primary-light);
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.15);
}
.input:focus-visible, select:focus-visible, textarea:focus-visible,
.btn:focus-visible, .icon-btn:focus-visible, .mobile-toggle:focus-visible {
    outline: 2px solid var(--color-primary-light); outline-offset: 2px;
}
.form-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* Ustawienia serwera – zamówienie (jedna kolumna, czytelne pola) */
.server-settings-card { margin-top: 30px; padding: 28px 30px; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); }
.server-settings-card h3 { margin: 0 0 8px 0; font-size: 1.25rem; }
.server-settings-desc { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 22px 0; }
.server-settings-fields { display: flex; flex-direction: column; gap: 20px; }
.server-settings-select .input, .server-settings-field .input { width: 100%; min-height: 48px; font-size: 1rem; }
.server-settings-field[data-domain-section] { display: none; }
.server-settings-field[data-domain-section].visible { display: flex; }
.input-with-suffix { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.03); }
.input-with-suffix input { border: none; outline: none; background: transparent; flex: 1; min-width: 0; padding: 12px 0; color: var(--text-main); font-size: 1rem; }
.input-with-suffix input::placeholder { color: var(--text-muted); }
.input-suffix { color: var(--text-muted); font-size: 0.95rem; white-space: nowrap; }
.server-settings-note { margin: 18px 0 0 0; font-size: 0.9rem; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border-left: 3px solid rgba(30, 136, 229, 0.4); }
.server-settings-note[data-domain-note] { display: none; }
.server-settings-note[data-domain-note].visible { display: block; }

.domain-status.error { padding: 12px 16px; border-radius: 12px; background: rgba(244, 67, 54, 0.12); border: 1px solid rgba(244, 67, 54, 0.3); color: #ff9aa2; margin-bottom: 16px; font-size: 0.95rem; }
.domain-status.error div { margin: 4px 0; }
.stripe-element { margin-top: 12px; }
#stripe-payment-message { margin-top: 12px; }
.is-loading { opacity: 0.7; cursor: progress; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { padding: 26px; }
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { color: var(--text-muted); }
.contact-list { list-style: none; margin-top: 14px; }
.contact-list li { margin-bottom: 8px; color: var(--text-muted); }
.map-card {
    min-height: 260px; border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(30, 136, 229, 0.25), rgba(0,0,0,0.1)), rgba(255,255,255,0.03);
    display: flex; align-items: center; justify-content: center; color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.text-page { max-width: 1100px; margin: 0 auto; width: 100%; }
.text-page.text-page--wide { max-width: 1200px; }
.text-page .glass-panel { max-width: none; }
.single-article, .page-article { padding: 36px 40px; }
.single-navigation { margin-top: 28px; }

/* Blog layout: kategorie + siatka wpisów */
.blog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.blog-sidebar { padding: 20px; position: sticky; top: 100px; }
.blog-sidebar__title { font-size: 1rem; margin: 0 0 14px 0; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.blog-categories { list-style: none; margin: 0; padding: 0; }
.blog-categories li { margin: 0; }
.blog-categories a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text-muted); text-decoration: none; transition: color 0.2s, background 0.2s; }
.blog-categories a:hover, .blog-categories a.active { color: var(--color-primary-light); background: rgba(255,255,255,0.04); }
.blog-main { min-width: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card__thumb { display: block; line-height: 0; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.blog-card__thumb:hover img { transform: scale(1.03); }
.blog-card__body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 10px 0; }
.blog-card__title { font-size: 1.2rem; margin: 0 0 12px 0; line-height: 1.35; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--color-primary-light); }
.blog-card__excerpt { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.blog-card__excerpt p { margin: 0 0 8px 0; }
.blog-card__excerpt p:last-child { margin-bottom: 0; }
.blog-pagination { margin-top: 36px; }
.blog-layout--no-sidebar { grid-template-columns: 1fr; }

@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .blog-sidebar__title { margin: 0 12px 0 0; }
    .blog-categories { display: flex; flex-wrap: wrap; gap: 8px; }
    .blog-categories li { display: inline; }
    .blog-categories a { display: inline-block; padding: 8px 14px; }
    .blog-grid { grid-template-columns: 1fr; }
}
.toc { margin: 24px 0 40px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); }
.toc a { color: var(--color-primary-light); text-decoration: none; display: block; margin-bottom: 8px; }
.text-block h3 { margin-top: 32px; margin-bottom: 12px; }
.text-block p, .text-block li { color: var(--text-muted); }
.text-block ul { margin-left: 18px; margin-top: 8px; }

.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.sidebar-card { padding: 24px; position: sticky; top: 120px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.sidebar-nav a { color: var(--text-muted); text-decoration: none; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; }
.sidebar-nav a.active, .sidebar-nav a:hover { color: white; border-color: var(--glass-border); background: rgba(255,255,255,0.04); }

/* Komunikat potwierdzenia zamówienia (sukces płatności) */
.order-success-notice {
    padding: 28px 32px;
    margin-bottom: 28px;
    border: 2px solid rgba(76, 175, 80, 0.55);
    background: rgba(76, 175, 80, 0.14);
    border-radius: var(--radius-lg);
}
.order-success-notice__title {
    color: #a8f5b8;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.35;
}
.order-success-notice__text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.order-success-notice__info {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(76, 175, 80, 0.35);
    line-height: 1.45;
}

.status-pill { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid; }
.status-active { color: #8ff0a4; border-color: rgba(76,175,80,0.5); background: rgba(76,175,80,0.12); }
.status-expiring { color: #ffd18a; border-color: rgba(255,193,7,0.5); background: rgba(255,193,7,0.12); }
.status-paused { color: #ff9aa2; border-color: rgba(244,67,54,0.5); background: rgba(244,67,54,0.12); }

.service-card {
    padding: 24px;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 20px;
    align-items: center;
    position: relative;
}
.service-card h4 { margin-bottom: 4px; }
.service-meta { color: var(--text-muted); font-size: 0.9rem; }

.service-card-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.service-card-header .status-pill {
    margin-left: 4px;
}

.service-card--active {
    border-color: rgba(76, 175, 80, 0.7);
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.3), 0 12px 30px rgba(15, 118, 110, 0.55);
}

.service-card--inactive {
    border-color: rgba(244, 67, 54, 0.7);
    box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.35), 0 12px 26px rgba(127, 29, 29, 0.6);
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), rgba(15, 23, 42, 0.95));
}

.service-card--inactive .service-meta,
.service-card--inactive h4 {
    color: #fee2e2;
}

.usage-bar { width: 100%; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 8px; }
.usage-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { padding: 22px; }

.login-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.note-card { padding: 24px; }

.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.payment-option { padding: 16px; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(255,255,255,0.02); display: flex; align-items: center; gap: 10px; }
.legal-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; }
.legal-note a { color: var(--color-primary-light); text-decoration: none; }
.legal-note a:hover { color: white; }
.addon-list { display: grid; gap: 12px; margin-top: 14px; }
.addon-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); cursor: pointer; flex-wrap: wrap; }
.addon-name { display: inline-flex; align-items: center; gap: 10px; color: var(--text-main); }
.addon-name input { margin: 0; }
.addon-price { color: var(--text-muted); font-weight: 600; }

@media (max-width: 1024px) {
    .page-hero .container { grid-template-columns: 1fr; }
    .hero-card { order: 2; }
    .cart-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .login-grid { grid-template-columns: 1fr; }
    .payment-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .service-card { grid-template-columns: 1fr; }
    .account-stats { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page-hero { padding: 140px 0 60px; }
    .page-title { font-size: 2.2rem; }
    .hero-metrics { grid-template-columns: 1fr; }
    .compare-row { grid-template-columns: 1fr; gap: 6px; }
    .compare-row.compare-head { display: none; }
    .cart-item { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
    .cart-item .item-icon { width: 56px; height: 56px; justify-self: start; }
    .cart-item .item-meta h4 { font-size: 1.1rem; }
    .item-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .item-actions .price-tag { width: 100%; font-size: 1.25rem; }
    .steps-bar { justify-content: flex-start; gap: 8px; }
    .step-pill { padding: 10px 14px; font-size: 0.9rem; }
    /* Konto / Zamówienia / Usługi – mobile */
    .account-layout { gap: 24px; }
    .sidebar-card { position: static; padding: 20px; }
    .sidebar-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sidebar-nav a { padding: 12px 14px; font-size: 0.95rem; text-align: center; }
    .service-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
    .service-card .form-actions { flex-wrap: wrap; }
    .service-card .form-actions .btn { min-width: 120px; }
    .summary-card { padding: 20px; }
    .summary-row { padding: 12px 0; font-size: 0.95rem; }
    .glass-panel[style*="padding: 24px"] { padding: 20px !important; }
    .hero-card { padding: 24px 20px; }
    .page-hero .container { gap: 24px; }
    .form-card { padding: 24px 20px; }
    .addon-item { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .addon-name { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .page-title { font-size: 1.85rem; }
    .sidebar-nav { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Modal (np. Zmiana DNS) */
.hostiq-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box;
}
.hostiq-modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); cursor: pointer;
}
.hostiq-modal-box {
    position: relative; max-width: 440px; width: 100%; padding: 28px;
    max-height: 90vh; overflow-y: auto;
}
.hostiq-modal-box .form-group { margin-bottom: 14px; }
.hostiq-modal-box .form-group label { display: block; margin-bottom: 4px; }
