:root {
    --bg-white: #ffffff;
    /* Tmavší šedá pro kontrast sekcí */
    --bg-dark: #e2e8f0; 
    --text-main: #0f172a;
    --text-gray: #475569;
    
    --primary: #4f46e5; /* Indigo */
    --accent: #8b5cf6; /* Violet */
    --green: #10b981; /* Success Green */
    
    --radius: 16px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* --- TEXTURE & BACKGROUND --- */
/* Technická mřížka */
.bg-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.blob-cont { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: float 10s infinite alternate; }
.blob-1 { width: 500px; height: 500px; background: #e0e7ff; top: -100px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: #fce7f3; bottom: -100px; right: -100px; }
@keyframes float { 0% { transform: translate(0,0); } 100% { transform: translate(20px, 40px); } }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 15px; }
h1 { font-size: 3.5rem; color: var(--text-main); }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; color: transparent; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center-text { text-align: center; margin-bottom: 50px; }

/* --- SECTIONS (CONTRAST) --- */
.section-white { background: var(--bg-white); padding: 100px 0; }
.section-dark { 
    background: var(--bg-dark); 
    padding: 100px 0; 
    border-top: 1px solid #cbd5e1; 
    border-bottom: 1px solid #cbd5e1; 
}

/* --- NAV --- */
.glass-nav { 
    position: sticky; top: 0; z-index: 50; 
    background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--text-main); margin-left: 20px; font-weight: 600; font-size: 0.9rem; }
.btn-nav { background: var(--text-main); color: white !important; padding: 8px 20px; border-radius: 50px; }

/* --- HERO --- */
.hero { padding: 100px 0 80px; text-align: center; }
.hero-wrapper { max-width: 700px; margin: 0 auto 60px; }
.subtitle { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 30px; }

.home-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; padding: 8px 24px; border-radius: 100px;
    font-weight: 700; font-size: 0.85rem; color: var(--primary);
    border: 1px solid #cbd5e1; box-shadow: var(--shadow-card); margin-bottom: 24px;
}
.pulse { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); animation: blink 2s infinite; }

.btn-glow {
    display: inline-block; background: var(--primary); color: white;
    padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4); transition: transform 0.2s;
}
.btn-glow:hover { transform: translateY(-2px); background: #4338ca; }

.info-row { display: flex; gap: 15px; justify-content: center; margin-top: 15px; font-size: 0.9rem; font-weight: 600; color: var(--text-gray); }

/* --- CARDS --- */
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 950px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.grid-card, .f-card {
    background: white; padding: 32px; border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.08); box-shadow: var(--shadow-card);
    transition: all 0.3s ease; text-align: left;
}
.grid-card:hover, .f-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }

.card-icon { font-size: 2rem; margin-bottom: 15px; }
.active-card { border: 2px solid var(--primary); position: relative; }
.active-badge { 
    position: absolute; top: -12px; right: 20px; background: var(--primary); color: white; 
    font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
}

/* --- REQUIREMENTS --- */
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.req-list { list-style: none; margin-top: 30px; }
.req-list li { display: flex; gap: 15px; margin-bottom: 24px; }
.icon-check { 
    width: 40px; height: 40px; background: #e0e7ff; border-radius: 10px; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.tiny-label { color: var(--primary); font-weight: 800; font-size: 0.8rem; letter-spacing: 1px; display: block; margin-bottom: 10px; }

/* --- APP DASHBOARD (New Professional Look) --- */
.app-card {
    background: white; border-radius: 24px; padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.06);
    max-width: 400px; margin: 0 auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}
.app-card:hover { transform: rotate(0deg) scale(1.02); }

.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.user-info { display: flex; gap: 12px; align-items: center; }
.avatar-circle { 
    width: 42px; height: 42px; background: var(--text-main); color: white; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.user-text strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.user-text small { font-size: 0.75rem; color: var(--text-gray); }
.menu-dots { color: #cbd5e1; letter-spacing: 2px; font-weight: 700; cursor: pointer; }

.balance-section { margin-bottom: 25px; }
.balance-section .label { font-size: 0.85rem; color: var(--text-gray); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.balance-section .amount { font-size: 2.5rem; font-weight: 800; color: var(--text-main); line-height: 1; letter-spacing: -1px; }
.trend { font-size: 0.85rem; margin-top: 8px; font-weight: 600; }
.trend.positive { color: var(--green); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.stat-item { background: #f8fafc; padding: 12px 16px; border-radius: 12px; border: 1px solid #e2e8f0; }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-gray); margin-bottom: 4px; }
.stat-value { display: block; font-weight: 700; font-size: 1rem; color: var(--text-main); }
.active-text { color: var(--green); }

/* Mini Chart */
.mini-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 60px; gap: 8px; }
.bar { 
    width: 100%; background: #e2e8f0; border-radius: 4px; 
    transition: height 1s ease-out; 
}
.bar.active { background: var(--primary); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* --- FAQ & FORM --- */
.max-800 { max-width: 700px; }
.acc-item { background: white; border-radius: 12px; margin-bottom: 15px; border: 1px solid #cbd5e1; }
.acc-head { padding: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; }
.acc-body { padding: 0 20px 20px; color: var(--text-gray); display: none; }
.acc-item:hover .acc-body { display: block; }

.cta-section { padding: 80px 0; background: white; }
.cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a); color: white;
    border-radius: 30px; padding: 60px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.simple-form { max-width: 500px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
input, select {
    width: 100%; padding: 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05); color: white; font-family: inherit;
}
input:focus, select:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.1); }
select option { background: var(--text-main); color: white; }
.checkbox-wrapper { display: flex; gap: 10px; justify-content: center; align-items: center; font-size: 0.9rem; color: #cbd5e1; }
.btn-submit { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 10px; font-weight: 700; font-size: 1.1rem; cursor: pointer; }

/* --- FOOTER --- */
footer { background: white; padding: 60px 0 20px; border-top: 1px solid #cbd5e1; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-gray); max-width: 300px; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: var(--text-main); }
.footer-links a { text-decoration: none; color: var(--text-gray); font-size: 0.9rem; transition: 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { 
    border-top: 1px solid #e2e8f0; padding-top: 20px; display: flex; 
    justify-content: space-between; font-size: 0.8rem; color: #94a3b8; 
}

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-grid, .feature-grid, .grid-split { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .cta-box { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-brand p { margin: 10px auto; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
