:root {
    --bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e5e7eb;
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-900: #1e3a8a;
    --slate-50: #f8fafc;
    --slate-100: #e5e7eb;
    --slate-200: #e2e8f0;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --purple-600: #7c3aed;
    --green-500: #22c55e;
    --green-100: #dcfce7;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--bg); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: all 0.2s ease; }
.navbar.scrolled { box-shadow: var(--shadow-soft); background: rgba(255, 255, 255, 0.95); }
.navbar-inner { display: flex; justify-content: space-between; align-items: center; height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-icon { background: var(--brand-600); padding: 0.4rem; border-radius: 0.75rem; color: white; display: inline-flex; }
.brand-name { font-weight: 700; font-size: 1.25rem; color: var(--slate-900); }
.nav-links { display: none; gap: 2rem; font-size: 0.9rem; font-weight: 500; color: #64748b; }
.nav-links a:hover { color: var(--brand-600); }
.nav-cta { background: #020617; color: white; padding: 0.6rem 1.4rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: transform 0.2s; }
.nav-cta:hover { transform: translateY(-1px); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* HERO */
.hero { padding-top: 8rem; padding-bottom: 5rem; overflow: hidden; }
.hero-bg { background: radial-gradient(circle at top right, var(--brand-100) 0%, transparent 40%), radial-gradient(circle at bottom left, #ede9fe 0%, transparent 40%); }
.hero-content { text-align: center; }
.hero-title { font-size: 2.8rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .hero-title { font-size: 3.8rem; } }
.hero-highlight { background: linear-gradient(90deg, var(--brand-600), var(--purple-600)); -webkit-background-clip: text; color: transparent; display: inline-block; transition: all 0.5s ease; }
.hero-highlight.hidden { opacity: 0; transform: translateY(10px); filter: blur(5px); }
.hero-text { font-size: 1.1rem; color: var(--text-muted); max-width: 36rem; margin: 0 auto 2.5rem auto; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.9rem 2rem; border-radius: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: 1px solid transparent; }
.btn-primary { background: var(--brand-600); color: white; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.5); }
.btn-secondary { background: white; color: #334155; border-color: var(--slate-200); }
.btn-secondary:hover { background: #f8fafc; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); } 50% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.8); } }
.btn-glow:hover { animation: pulse-glow 2s infinite ease-in-out; }

/* TECH MARQUEE (KOLOTOČ) */
.tech-stack { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(148, 163, 184, 0.3); overflow: hidden; }
.tech-text { font-size: 0.8rem; color: #94a3b8; margin-bottom: 1.5rem; text-align: center; }
.marquee-wrapper { 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
    display: flex; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content { 
    display: flex; 
    gap: 4rem; 
    width: max-content; 
    animation: scroll 30s linear infinite; 
}
.tech-logo { font-weight: 700; font-size: 1.3rem; color: var(--slate-800); opacity: 0.5; white-space: nowrap; user-select: none; }
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* COMMON SECTIONS */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--slate-900); }
.section-subtitle { color: var(--text-muted); margin-top: 0.8rem; }
.grid-2 { display: grid; gap: 2.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* CARDS & BOXES */
.problem-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.problem-icon { background: #fee2e2; color: #dc2626; width: 3rem; height: 3rem; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.solution-box { background: white; border-radius: 1.5rem; padding: 2.5rem; border: 1px solid var(--brand-100); position: relative; box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08); }
.badge-floating { position: absolute; top: -0.75rem; right: 2rem; background: var(--green-500); color: white; padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.solution-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.solution-icon { background: var(--brand-50); color: var(--brand-600); width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 0.6rem; flex-shrink: 0; }

.step-card { background: white; border-radius: 1.5rem; border: 1px solid var(--slate-100); padding: 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.step-number { width: 2.5rem; height: 2.5rem; background: var(--brand-100); color: var(--brand-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 0.5rem; }

/* PRICING */
.pricing-section { background: var(--slate-50); }
.pricing-grid { display: grid; gap: 2rem; }
@media (min-width: 992px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); max-width: 64rem; margin: 0 auto; } }
.pricing-card { background: white; border-radius: 1.5rem; padding: 2rem; border: 1px solid var(--slate-200); position: relative; transition: all 0.2s ease; }
.pricing-card:hover, .testimonial-card:hover { border-color: #bfdbfe; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.pricing-card.featured { border: 2px solid var(--brand-600); box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15); transform: scale(1.02); z-index: 1; }
.pricing-price { font-size: 2.2rem; font-weight: 700; color: var(--slate-900); }
.pricing-list li { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
.text-green { color: #16a34a; }

/* O MNĚ & RECENZE */
.testimonial-card { 
    background: white; 
    border-radius: 1.5rem; 
    padding: 2.5rem; 
    border: 1px solid var(--slate-200); 
    position: relative; 
    transition: all 0.2s ease;
}
.testimonial-icon { color: var(--brand-500); margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--slate-800); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar { width: 3rem; height: 3rem; background: var(--slate-900); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }

/* KONTAKT CTA */
.cta-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 50rem; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* FORMULÁŘOVÁ STRÁNKA */
.form-page-container { max-width: 700px; margin: 0 auto; padding: 2rem 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--slate-800); }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.8rem 1rem; border-radius: 0.8rem; border: 1px solid #cbd5e1;
    font-size: 0.95rem; font-family: inherit; transition: border 0.2s; outline: none; background: white;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-textarea { 
    resize: vertical; 
    min-height: 120px; 
    line-height: 1.5;
}
.form-hint { font-size: 0.8rem; color: #94a3b8; margin-top: 0.3rem; }

/* FOOTER */
.footer { background: white; border-top: 1px solid var(--slate-100); padding: 3rem 0; margin-top: 4rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; justify-content: space-between; }
@media(min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-contacts { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--slate-600); font-weight: 500; }
