/* Stranica za predstavljanje (tefter.hr). Boje i gumbi dolaze iz app.css. */

.site-wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

.site-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.site-top nav { display: flex; align-items: center; gap: .9rem; }
.site-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-link:hover { color: var(--accent-dark); }

.hero { padding: 3.5rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-actions .btn { padding: .75rem 1.3rem; }
.hero-note { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }

/* list teftera s popisom */
.sheet {
    background:
        linear-gradient(90deg, transparent 0 2.3rem, rgba(163, 55, 47, .55) 2.3rem calc(2.3rem + 2px), transparent calc(2.3rem + 2px)),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(34, 48, 60, .06), 0 18px 40px rgba(34, 48, 60, .12);
    padding: 1.4rem 1.4rem 1.2rem 3.2rem;
    transform: rotate(1.5deg);
    max-width: 22rem;
    margin-left: auto;
}
.sheet-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; }
.sheet-group { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: .9rem 0 .25rem; }
.sheet-row { display: flex; align-items: center; gap: .65rem; padding: .42rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.sheet-row em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.sheet-row .dot { width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--accent); flex: 0 0 auto; }
.sheet-row.is-done { color: var(--ink-soft); font-weight: 400; }
.sheet-row.is-done span:nth-child(2) { text-decoration: line-through; }
.sheet-row.is-done .dot {
    background: var(--accent)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 80% no-repeat;
}

.site-section { padding: 3rem 0; }
.site-section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; margin-bottom: 1.5rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.feature h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.feature.is-soon { background: transparent; border-style: dashed; }

.steps-row { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0 0 1.75rem; padding: 0; }
.steps-row li { counter-increment: step; display: flex; flex-direction: column; gap: .25rem; padding-top: .9rem; border-top: 3px solid var(--accent); }
.steps-row li::before { content: counter(step); font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.steps-row strong { font-size: 1.05rem; }
.steps-row span { color: var(--ink-soft); font-size: .97rem; }

.site-footer { padding: 1.5rem 0 2.5rem; color: var(--ink-soft); font-size: .9rem; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 820px) {
    .hero { padding: 2.25rem 0 2rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
    .sheet { margin: 0 auto; transform: rotate(1deg); }
    .features { grid-template-columns: 1fr 1fr; }
    .steps-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .features { grid-template-columns: 1fr; }
    .site-top .site-link { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
}
