@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* DESIGN TOKENS */
:root {
    --bg-main: #0f172a;        /* Tmavá modro-šedá (Slate 900) */
    --bg-card: #1e293b;        /* Světlejší šedá (Slate 800) */
    --bg-card-hover: #334155;  /* Slate 700 */
    --text-main: #f8fafc;      /* Téměř bílá */
    --text-muted: #94a3b8;     /* Jemně šedá */
    --accent-primary: #14b8a6; /* Tyrkysová (Teal) */
    --accent-secondary: #f59e0b; /* Jantarová / Oranžová */
    --border-color: #334155;
    --font-family: 'Space Grotesk', sans-serif;
}

/* BASE STYLES */
body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100svh;
}

main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 12svh 0 8svh 0;
    text-align: center;
}

.hero-badge {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(20, 184, 166, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
}

h1 span {
    color: var(--accent-primary);
}

h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 1rem 0 0 0;
    color: var(--text-muted);
    font-weight: 400;
}

/* SECTIONS & HEADINGS */
section {
    width: 100%;
    margin-bottom: 5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
    margin-top: 0;
}

h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.vision-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
}

/* NOVÉ STYLY PRO FÁZE (Phase Badges) */
.phase-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1rem;
}

.phase-badge {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.badge-future {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-secondary);
}

.phase-description {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    max-width: 800px;
}

/* GRID & CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

/* Zvýraznění karty Fáze 0 */
.phase-zero-card {
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h4 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: var(--text-main);
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SEZNAMY (Proces / Jak to bude fungovat) */
.process-section {
    margin-top: 4rem;
}

.process-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-list li {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(20, 184, 166, 0.2); 
    min-width: 60px;
}

.step-content strong {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 0.3rem;
}

.step-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA SEKCE */
.cta-section {
    position: relative;
}

.cta-content {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, #0d1222 100%);
    border: 1px solid var(--accent-primary);
    padding: 4rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.1);
}

.cta-section h3 {
    margin-bottom: 1rem;
}

.cta-section h3::after {
    display: none; 
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-main);
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0d9488; 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* PATIČKA */
footer {
    width: 100%;
    margin-top: 2rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

footer a:visited {
    color: var(--accent-primary);
}

/* SEKCE SLUŽEB - TIMELINE STYL */
.services-section {
    margin-top: 5rem;
    width: 100%;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
}

.services-list::before {
    content: '';
    position: absolute;
    left: 24px; 
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

.services-list > li {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px var(--bg-main); 
}

.service-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    flex-grow: 1;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-content:hover {
    transform: translateX(8px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-content h4 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--text-main);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.service-content h4 span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-secondary);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.service-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.service-features strong {
    color: var(--text-main);
    display: inline-block;
    margin-bottom: 0.2rem;
}

/* SOCIAL LINKS V CTA SEKCI */
.social-text {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-links svg {
    width: 35px;
    height: 35px;
    color: var(--text-muted); 
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover svg {
    color: var(--accent-primary); 
    transform: translateY(-4px) scale(1.1); 
}

/* TARGET SECTION (Koho budeme oslovovat) */
.target-section {
    margin: 5rem 0;
}

.target-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 3rem;
}

.target-card {
    display: flex;
    flex-direction: column;
}

.target-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1; 
}

.why-badge {
    display: block;
    background: rgba(245, 158, 11, 0.08); 
    color: var(--text-muted);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid var(--accent-secondary);
    margin-top: auto;
    line-height: 1.5;
}

.why-badge strong {
    color: var(--accent-secondary);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

/* RESPONZIVITA (drobné úpravy pro mobil) */
@media (max-width: 768px) {
    .services-list::before {
        left: 20px;
    }
    
    .service-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        box-shadow: 0 0 0 6px var(--bg-main);
    }
    
    .services-list > li {
        gap: 1rem;
        flex-direction: column;
    }
    
    .services-list > li::before {
        display: none; 
    }

    .service-content {
        padding: 1.5rem;
        margin-left: 1.5rem; 
    }

    .service-content:hover {
        transform: translateY(-5px) translateX(0); 
    }
}

@media (max-width: 600px) {
    .process-list li {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .cta-content {
        padding: 3rem 1.5rem;
    }
}