/* ==============================================
   dFaktura - ŽIVNOSTNÍCI (Sharp & Clean Style)
   ============================================== */

:root {
    /* Brand Colors - Fresh Blue for Freelancers */
    --primary: #3b82f6;       
    --primary-dark: #2563eb;
    /* Gradient z modré do temné (téměř černé) */
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #0f172a 100%);
    
    --secondary: #0f172a;     /* Slate-900 */
    --secondary-dark: #020617; /* Patička */
    
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --white: #ffffff;
    
    /* Změna: Ostré hrany pro profesionální/technický vzhled */
    --radius: 0px; 
    --radius-lg: 0px;
    --radius-btn: 4px; /* Jen malý radius pro tlačítka */
    
    --shadow-soft: 0 10px 30px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.12);
    --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.08); /* Sjednoceno s landing */
    
    /* Layout */
    --container-width: 1280px; /* Sjednoceno s landing.css */

    /* dFirma Ekosystém barvy */
    --dfirma-orange: #f97316;
    --dfirma-orange-dark: #ea580c;
    --dfirma-bg: #0a0502;
    --dfirma-surface: #140a05;
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px;
    scroll-padding-top: 20px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* Layout utility */
.container {
    max-width: var(--container-width); /* Opraveno na 1280px */
    margin: 0 auto;
    padding: 0 24px;
}

/* === NAVIGACE (Design z landing.css) === */
.navbar {
    padding: 12px 0; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    z-index: 1000; 
    border-bottom: 1px solid var(--border);
    height: auto; /* Reset pevné výšky z původního souboru */
}

.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo img { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { 
    color: var(--secondary); 
    font-weight: 500; /* Sjednoceno s landing (bylo 600) */
    font-size: 0.9rem; 
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Login Link - styl jako .btn-login v landing.css */
.login-link { 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 0.9rem; 
    padding: 8px 12px;
}
.login-link:hover { color: var(--primary); }

/* Tlačítko v menu - styl jako .btn-register v landing.css */
.btn-nav {
    background: var(--secondary); 
    color: white; 
    padding: 8px 18px; 
    border-radius: 4px; /* Radius sjednocen */
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--secondary);
    transition: all 0.2s;
}
.btn-nav:hover { 
    background: transparent; 
    color: var(--secondary) !important; /* Důležité pro přebití white */
    transform: none; /* Reset původního efektu */
}

/* Mobile Menu Elements */
.menu-toggle { display: none; font-size: 1.4rem; cursor: pointer; color: var(--secondary); padding: 5px; }
.mobile-menu {
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%;
    background: white; 
    border-bottom: 1px solid var(--border);
    padding: 10px 0; 
    box-shadow: var(--shadow-card);
}
.mobile-menu.active { display: flex; }
.mobile-menu a { 
    padding: 12px 24px; 
    color: var(--secondary); 
    font-weight: 500; 
    border-bottom: 1px solid #f8fafc; 
    display: block; 
}
.mobile-menu a:last-child { border-bottom: none; }


/* === HERO SEKCE === */
.hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 70px; /* Offset pro navbar */
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../fakturace-pro-zivnostnika.jpg'); 
    background-size: cover;
    background-position: left;
    background-attachment: scroll; 
    z-index: -2;
}
@media (min-width: 1024px) { .hero-bg { background-attachment: fixed; } }

.hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: -1;
}

.hero-container { position: relative; z-index: 1; width: 100%; }
.hero-text { max-width: 750px; }

.badge-hero {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: none;
    color: #93c5fd; padding: 0; 
    margin-bottom: 25px; 
    font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-hero i { color: var(--success); font-size: 1.1em; }

.hero h1 {
    font-size: 3.8rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 span {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; max-width: 600px; font-weight: 400; line-height: 1.7;
}

.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-hero-primary {
    background: var(--primary-gradient); 
    color: white; padding: 16px 36px;
    border-radius: var(--radius-btn); font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-hero-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
    background: linear-gradient(135deg, #2563eb 0%, #000000 100%);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.05); color: white; padding: 16px 30px;
    border-radius: var(--radius-btn); font-weight: 600; font-size: 1.05rem; border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); border-color: white; }

.hero-trust { display: flex; gap: 25px; color: #94a3b8; font-size: 0.9rem; flex-wrap: wrap; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--success); }


/* === SLOVO ZAKLADATELE === */
.founder-section { background: white; padding: 80px 0; border-bottom: 1px solid var(--border); }
.founder-wrapper {
    display: flex; align-items: center; gap: 40px; 
    background: #f8fafc; padding: 40px; border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.founder-img { flex-shrink: 0; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 4px solid white; box-shadow: var(--shadow-soft); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-content h3 { font-size: 1.5rem; color: var(--secondary); margin-bottom: 10px; font-weight: 800; }
.founder-content p { font-size: 1.05rem; color: var(--text-main); font-style: italic; line-height: 1.6; margin-bottom: 15px; }
.founder-name { font-weight: 700; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }


/* === PAIN POINTS === */
.section-pain { padding: 100px 0; background: white; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; font-weight: 800; letter-spacing: -0.03em; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

.pain-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}
.pain-card { 
    padding: 35px; border-radius: var(--radius-lg); background: white; 
    border: 1px solid var(--border); transition: 0.3s; 
    min-width: 0; 
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }

.icon-wrap { 
    width: 56px; height: 56px; border-radius: var(--radius); 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.4rem; margin-bottom: 25px; margin: -28px -28px 20px 10px; float: right;
}
.red { background: #fef2f2; color: #ef4444; }
.yellow { background: #fefce8; color: #eab308; }
.blue { background: #eff6ff; color: #3b82f6; }

.pain-card h3 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 700; color: var(--secondary); }
.pain-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }


/* === SEO PRŮVODCE === */
.section-guide { padding: 100px 0; background: #f1f5f9; border-top: 1px solid var(--border); }
.guide-container { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

.guide-content { background: white; padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.guide-label { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; color: var(--primary); font-weight: 700; display: block; margin-bottom: 15px; }
.guide-content h2 { font-size: 2.2rem; font-weight: 800; color: var(--secondary); margin-bottom: 25px; line-height: 1.2; }
.perex { font-size: 1.15rem; color: var(--text-main); margin-bottom: 40px; line-height: 1.7; }

.guide-steps { display: flex; flex-direction: column; gap: 30px; margin-bottom: 50px; }
.step { display: flex; gap: 20px; }
.step-num { 
    flex-shrink: 0; width: 40px; height: 40px; background: var(--secondary); color: white; 
    border-radius: 0; 
    display: flex; align-items: center; justify-content: center; font-weight: 700; 
}
.step-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--secondary); font-weight: 700; }
.step-text p { font-size: 1rem; color: var(--text-muted); }

.guide-content h3 { font-size: 1.5rem; margin: 40px 0 20px 0; color: var(--secondary); font-weight: 700; }
.guide-content p { color: var(--text-main); margin-bottom: 20px; font-size: 1rem; line-height: 1.7; }

.qr-info-box { 
    background: #f0f9ff; border: 1px solid #bae6fd; padding: 30px; border-radius: var(--radius-lg); 
    display: flex; gap: 25px; align-items: center; margin-top: 40px; 
}
.qr-img { font-size: 3rem; color: var(--primary); }
.qr-txt h4 { font-size: 1.15rem; margin-bottom: 8px; color: var(--secondary); font-weight: 700; }
.qr-txt p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* Sidebar */
.guide-sidebar { position: relative; }
.sticky-box { 
    position: sticky; top: 100px; background: white; padding: 30px; 
    border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-soft); 
}
.sticky-box h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--secondary); font-weight: 700; }
.sticky-box p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }
.btn-sidebar { 
    display: block; width: 100%; text-align: center; 
    background: var(--primary-gradient); color: white; 
    padding: 14px; border-radius: var(--radius-btn); font-weight: 600; margin-bottom: 20px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-sidebar:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.sticky-box hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.sidebar-links li { margin-bottom: 12px; }
.sidebar-links a { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: space-between; }
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-note { margin-bottom: 15px; color: var(--text-muted); line-height: 1.4; border-left: 3px solid var(--border); padding-left: 10px; }


/* === CENÍK === */
.section-pricing { padding: 100px 0; background: white; }
.pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.plan-card { 
    width: 340px; background: white; border: 1px solid var(--border); 
    border-radius: var(--radius-lg); padding: 40px 30px; position: relative; 
    display: flex; flex-direction: column; transition: 0.3s;
}
.plan-card:hover { border-color: var(--primary); }

.plan-card.popular { 
    border: 2px solid var(--primary); box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15); 
    transform: scale(1.05); z-index: 2; 
}
.badge-best { 
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%); 
    background: var(--primary-gradient); color: white; padding: 6px 16px; 
    border-radius: var(--radius-btn); font-size: 0.8rem; font-weight: 700; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.plan-head { text-align: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 25px; margin-bottom: 25px; }
.plan-head h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--secondary); font-weight: 800; }
.plan-head .price { font-size: 2.8rem; font-weight: 800; color: var(--secondary); letter-spacing: -0.02em; }
.plan-head .period { color: var(--text-muted); font-size: 0.95rem; }

.plan-features { margin-bottom: 30px; flex-grow: 1; }
.plan-features li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-main); }
.plan-features i { color: var(--success); margin-top: 4px; flex-shrink: 0; }
.plan-features .disabled { color: #cbd5e1; text-decoration: line-through; }
.plan-features .disabled i { color: #cbd5e1; }

.btn-plan-outline { 
    display: block; width: 100%; padding: 14px; text-align: center; 
    border: 1px solid var(--border); border-radius: var(--radius-btn); font-weight: 700; color: var(--secondary); 
}
.btn-plan-outline:hover { border-color: var(--secondary); background: var(--secondary); color: white; }

.btn-plan-solid { 
    display: block; width: 100%; padding: 14px; text-align: center; 
    background: var(--primary-gradient); border-radius: var(--radius-btn); font-weight: 700; color: white; border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-plan-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }


/* === FAQ === */
.section-faq { padding: 80px 0; background: var(--bg-light); border-top: 1px solid var(--border); }
.faq-narrow { max-width: 800px; margin: 0 auto; }
.faq-narrow h2 { text-align: center; margin-bottom: 50px; font-size: 2.2rem; color: var(--secondary); font-weight: 800; }

.faq-row { 
    background: white; border: 1px solid var(--border); padding: 25px 30px; 
    border-radius: var(--radius); margin-bottom: 15px; transition: 0.2s; cursor: pointer;
}
.faq-row:hover { border-color: var(--primary); }

.faq-q { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: var(--secondary); }
.faq-a { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }


/* === PLOVOUCÍ KARTA (BANNER) dFIRMA.CZ S FOTKAMI === */
.section-dfirma-ad {
    /* Místo tmavého pruhu má sekce stejnou barvu jako okolí */
    background-color: var(--bg-light);
    padding: 0 0 100px 0; /* Odsazení jen zespodu, aby banner volně "visel" před patičkou */
}

.dfirma-floating-card {
    background-color: var(--dfirma-bg);
    /* Přidáno pozadí s texturou, jemně překryté gradientem */
    background-image: linear-gradient(135deg, rgba(10, 5, 2, 0.98) 0%, rgba(20, 10, 5, 0.88) 100%), url('/assets/pozadi.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #f8fafc;
    /* Plovoucí efekt a orámování */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

/* Jemný oranžový glow na horní hraně karty pro lepší oddělení */
.dfirma-floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--dfirma-orange), transparent);
    z-index: 10;
}

.dfirma-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dfirma-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--dfirma-orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.dfirma-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}
.dfirma-content h2 .text-orange {
    color: var(--dfirma-orange);
}

.dfirma-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}
.dfirma-content p strong {
    color: white;
}

.dfirma-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.dfirma-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dfirma-surface);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.dfirma-feature:hover {
    border-color: var(--dfirma-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.1);
}
.dfirma-feature i {
    color: var(--dfirma-orange);
    font-size: 1.2rem;
}
.dfirma-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.dfirma-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-dfirma-primary {
    background: var(--dfirma-orange);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border: 1px solid var(--dfirma-orange);
    transition: all 0.3s ease;
}
.btn-dfirma-primary:hover {
    background: var(--dfirma-orange-dark);
    border-color: var(--dfirma-orange-dark);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
    color: white;
}
.btn-dfirma-primary i {
    transition: transform 0.3s ease;
}
.btn-dfirma-primary:hover i {
    transform: translateX(4px);
}

.dfirma-note {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
}

/* Vizuální prvek s fotkou podnikatelů */
.dfirma-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.orb-1 {
    width: 250px;
    height: 250px;
    background: rgba(249, 115, 22, 0.25);
    top: 10%;
    right: 10%;
}
.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.15); /* Náznak spojení s dFaktura modrou */
    bottom: 0;
    left: 10%;
}

.dfirma-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.dfirma-image-right {
    width: 100%;
    height: auto;

    object-fit: cover;
    display: block;
}

.dfirma-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--dfirma-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}


/* === PATIČKA (Design z landing.css) === */
footer { 
    background: var(--secondary-dark); 
    color: white; 
    padding: 60px 0 30px 0; /* Sjednoceno s landing */
    border-top: 1px solid #1e293b; 
}

.footer-content { 
    display: grid; 
    /* Protože máš v index.php 4 bloky (footer-col), nastavíme to natvrdo na 4 sloupce */
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
}

.footer-col h4 { 
    margin-bottom: 20px; /* Sjednoceno */
    font-size: 1rem;     /* Sjednoceno */
    color: white; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 700; 
}
.footer-col p { 
    color: #94a3b8; 
    font-size: 0.9rem; 
    line-height: 1.6; 
    margin-bottom: 8px; 
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { 
    color: #94a3b8; 
    font-size: 0.9rem; 
    display: block; 
    transition: color 0.2s ease-in-out;
}
.footer-col a:hover { color: white; }
.footer-mail, .footer-tel { 
    color: white !important; 
    font-weight: 600; 
    font-size: 1rem; 
    display: block; 
    margin-top: 10px; 
}
.copyright { 
    margin-top: 40px; 
    font-size: 0.85rem; 
    color: #64748b; 
    border-top: 1px solid #1e293b; 
    padding-top: 20px; 
}


/* === COOKIE BAR === */
#cookie-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(200%);
    width: calc(100% - 40px); max-width: 800px;
    background: white; border: 1px solid var(--border);
    padding: 15px; border-radius: var(--radius); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#cookie-bar.show { transform: translateX(-50%) translateY(0); }
.cb-flex { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
#cookie-bar p { font-size: 0.9rem; color: var(--text-main); margin: 0; }
#cookie-bar a { text-decoration: underline; color: var(--secondary); font-weight: 600; }
.cb-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cb-btn-outline { background: transparent; color: var(--text-muted); border: none; padding: 8px 16px; font-weight: 600; cursor: pointer; }
.cb-btn-solid { 
    background: var(--secondary); color: white; border: none; padding: 8px 20px; 
    border-radius: var(--radius-btn); 
    font-weight: 600; cursor: pointer; 
}
.cb-btn-solid:hover { background: var(--primary); }


/* === GLOBAL RESPONSIVE ADJUSTMENTS === */

@media (max-width: 992px) {
    /* Navbar změny pro tablet/mobil */
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 3rem; }
    .hero-bg { background-attachment: scroll; } 
    
    /* Na tabletu stáhneme 4 sloupce do 2 */
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    
    .plan-card.popular { transform: none; z-index: 1; }
    .founder-wrapper { flex-direction: column; text-align: left; }
    
    .pain-grid { grid-template-columns: 1fr; }

    /* dFirma Ad úpravy pro tablet */
    .dfirma-grid { grid-template-columns: 1fr; }
    .dfirma-floating-card { padding: 40px; }
    .dfirma-visual { margin-top: 20px; }
}

@media (max-width: 768px) {
    .hero { text-align: center; min-height: auto; padding: 120px 0 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; width: 100%; }
    .hero-trust { justify-content: center; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; }
    
    .guide-container { grid-template-columns: 1fr; }
    .cb-flex { flex-direction: column; text-align: center; }
    
    .pain-grid { display: flex; flex-direction: column; }
    .pain-card { width: 100%; }
    
    .pricing-grid { flex-direction: column; align-items: center; width: 100%; }
    .plan-card { width: 100%; max-width: 100%; }
    
    /* Na mobilu patička pod sebou v 1 sloupci */
    .footer-content { grid-template-columns: 1fr; }

    /* dFirma Ad úpravy pro mobil */
    .section-dfirma-ad { padding: 0 0 60px 0; }
    .dfirma-floating-card { padding: 30px 20px; border-radius: 16px; }
    .dfirma-content h2 { font-size: 2rem; }
    .dfirma-features { grid-template-columns: 1fr; gap: 10px; }
    .dfirma-cta-wrapper { flex-direction: column; align-items: stretch; text-align: center; }
    .btn-dfirma-primary { justify-content: center; }
    .dfirma-floating-badge { font-size: 0.85rem; padding: 10px 16px; left: 0; bottom: -15px; }
}

/* Styly pro modální okno (GDPR/Podmínky) */
#gdprModal .modal-content { background-color: #fff; margin: auto; padding: 0; border-radius: 8px; width: 90%; max-width: 800px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); position: relative; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
#gdprModal .modal-header { padding: 15px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
#gdprModal .modal-header h3 { margin: 0; font-size: 1.2rem; }
#gdprModal .modal-close { font-size: 28px; cursor: pointer; color: #aaa; }
#gdprModal .modal-close:hover { color: #333; }
#gdprModal .modal-body { padding: 20px; line-height: 1.6; max-height: 70vh; overflow-y: auto; color: #333; text-align: left; }
#gdprModal .modal-body h3 { font-size: 1.1rem; margin-top: 15px; margin-bottom: 10px; color: #1e293b; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 5px; }
#gdprModal .modal-body ul { padding-left: 20px; margin-bottom: 10px; }
#gdprModal .modal-body li { margin-bottom: 5px; }
#gdprModal .modal-body p { margin-bottom: 10px; }
#gdprModal .modal-body .warning-box, #gdprModal .modal-body .info-box { padding: 10px; background: #f0f9ff; margin: 10px 0; font-size: 0.9em; }
#gdprModal .modal-body .warning-box { background: #fff7ed; color: #9a3412; }