:root {
    --blue-900: #073475;
    --blue-800: #0b4aa2;
    --blue-700: #1261c9;
    --blue-100: #eaf3ff;

    --orange-700: #d96a00;
    --orange-500: #ff9800;
    --orange-100: #fff1e6;

    --gold-600: #c18a00;
    --gold-100: #fff6cf;

    --gray-950: #101828;
    --gray-800: #25324a;
    --gray-700: #344054;
    --gray-600: #475467;
    --gray-300: #d0d5dd;
    --gray-200: #e4e7ec;
    --gray-100: #f2f4f7;
    --gray-50: #f8fafc;

    --white: #ffffff;
    --danger: #a32121;

    --shadow-small:
        0 8px 24px rgba(16, 24, 40, 0.08);

    --shadow-large:
        0 24px 70px rgba(7, 52, 117, 0.16);

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 30px;

    --container-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--gray-950);
    background: var(--white);
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--gray-950);
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: var(--white);
    background:
        linear-gradient(
            145deg,
            var(--blue-700),
            var(--blue-900)
        );

    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(11, 74, 162, 0.25);

    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.08rem;
}

.brand-text small {
    margin-top: 4px;
    color: var(--gray-600);
    font-size: 0.73rem;
    letter-spacing: 0.04em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a {
    color: var(--gray-700);
    font-size: 0.93rem;
    font-weight: 650;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    color: var(--blue-700);
}

.hero {
    position: relative;
    overflow: hidden;

    padding: 92px 0 86px;

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(255, 152, 0, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 8%,
            rgba(18, 97, 201, 0.16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f7faff
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;
    gap: 64px;
}

.eyebrow {
    margin: 0 0 14px;

    color: var(--blue-700);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin: 0;

    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;

    color: var(--blue-800);
}

.hero-description {
    max-width: 700px;
    margin: 28px 0 0;

    color: var(--gray-600);
    font-size: 1.17rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 34px;
}

.button {
    min-height: 48px;
    padding: 12px 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 14px;

    font-weight: 750;
    text-decoration: none;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-900)
        );

    box-shadow: 0 12px 28px rgba(11, 74, 162, 0.25);
}

.button-secondary {
    color: var(--blue-900);
    background: var(--white);
    border-color: #b8c9e5;
}

.button-secondary:hover {
    border-color: var(--blue-700);
}

.button-disabled {
    cursor: default;
    opacity: 0.85;
}

.button-disabled:hover {
    transform: none;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;

    margin-top: 30px;

    color: var(--gray-600);
    font-size: 0.87rem;
}

.app-preview {
    padding: 24px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fbff
        );

    border: 1px solid #d8e4f5;
    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-bottom: 17px;
    border-bottom: 1px solid var(--gray-200);

    color: var(--gray-700);
    font-size: 0.9rem;
}

.preview-header strong {
    margin-left: 5px;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.preview-dot.blue {
    background: var(--blue-700);
}

.preview-dot.orange {
    background: var(--orange-500);
}

.preview-number {
    margin-top: 20px;

    color: var(--blue-800);
    text-align: center;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.preview-instruction {
    margin: 12px 0 24px;

    color: var(--gray-600);
    text-align: center;
    font-size: 0.9rem;
}

.mode-list {
    display: grid;
    gap: 12px;
}

.mode-item {
    padding: 13px;

    display: flex;
    align-items: center;
    gap: 13px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 15px;
}

.mode-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.mode-item small {
    margin-top: 2px;
    color: var(--gray-600);
}

.mode-icon,
.feature-icon {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 13px;
    font-weight: 900;
}

.mode-icon {
    width: 42px;
    height: 42px;
}

.feature-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 18px;
    font-size: 1.25rem;
}

.blue-bg {
    color: var(--blue-900);
    background: var(--blue-100);
}

.orange-bg {
    color: #a74f00;
    background: var(--orange-100);
}

.gold-bg {
    color: #775400;
    background: var(--gold-100);
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--gray-50);
    border-block: 1px solid var(--gray-200);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-heading h2,
.split-section h2,
.subscription-notice h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.split-section p,
.subscription-notice p {
    color: var(--gray-600);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 27px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.14rem;
}

.feature-card p {
    margin: 0;
    color: var(--gray-600);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: 60px;
}

.info-panel {
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            var(--blue-900),
            var(--blue-700)
        );

    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
    color: var(--white);
}

.info-panel h3 {
    margin-top: 0;
}

.check-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 29px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: #ffd86a;
    font-weight: 900;
}

.text-link {
    color: var(--blue-700);
    font-weight: 750;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.subscription-notice {
    padding: 36px;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;

    background:
        linear-gradient(
            130deg,
            var(--gold-100),
            #fffdf5
        );

    border: 1px solid #ead58c;
    border-radius: var(--radius-large);
}

.subscription-notice p {
    max-width: 780px;
}

.site-footer {
    padding: 58px 0 24px;

    color: #d7e4f8;
    background: var(--gray-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
}

.footer-grid p {
    max-width: 540px;
    color: #aab8cd;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #d7e4f8;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);

    color: #8999b1;
    font-size: 0.85rem;
}

.page-hero {
    padding: 70px 0 46px;

    background:
        linear-gradient(
            180deg,
            var(--blue-100),
            #ffffff
        );
}

.page-hero h1 {
    margin: 0 0 14px;

    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--gray-600);
    font-size: 1.08rem;
}

.legal-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 50px 0 90px;
}

.legal-navigation {
    margin-bottom: 24px;
    padding: 18px 22px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;

    background: var(--blue-100);
    border: 1px solid #c9dcf6;
    border-radius: var(--radius-small);
}

.legal-navigation a {
    color: var(--blue-800);
    font-weight: 700;
    text-decoration: none;
}

.legal-card {
    padding: clamp(24px, 5vw, 50px);

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.legal-card + .legal-card {
    margin-top: 32px;
}

.legal-card h2 {
    margin: 42px 0 13px;
    color: var(--blue-900);
    font-size: 1.55rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin: 25px 0 8px;
}

.legal-card p,
.legal-card li {
    color: var(--gray-700);
}

.legal-card a {
    color: var(--blue-700);
}

.legal-meta {
    margin-bottom: 28px;
    padding: 16px 18px;

    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-small);

    color: var(--gray-600);
}

.language-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-badge {
    padding: 4px 9px;

    color: var(--white);
    background: var(--blue-800);
    border-radius: 999px;

    font-size: 0.74rem;
    font-weight: 800;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-top: 30px;
}

.support-card {
    padding: 25px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.support-card h2,
.support-card h3 {
    margin-top: 0;
}

.support-card p {
    color: var(--gray-600);
}

.contact-box {
    margin-top: 30px;
    padding: 26px;

    background: var(--blue-100);
    border: 1px solid #c8dcf7;
    border-radius: var(--radius-medium);
}

.warning-box {
    margin: 24px 0;
    padding: 18px 20px;

    color: #5d4300;
    background: var(--gold-100);
    border: 1px solid #e6cd78;
    border-radius: var(--radius-small);
}

@media (max-width: 900px) {
    .main-navigation {
        display: none;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid,
    .split-section {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscription-notice {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(
            calc(100% - 28px),
            var(--container-width)
        );
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 50px 0 58px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .card-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }

    .app-preview {
        padding: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
/* =========================================================
   TUTORIAL / VODIČ
   Ovaj blok dodati NA KRAJ postojećeg /styles.css fajla.
   ========================================================= */

.main-navigation a[aria-current="page"] {
    color: var(--blue-800);
}

.tutorial-hero {
    padding: 72px 0;
}

.tutorial-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 64px;
}

.tutorial-hero-copy h1 {
    max-width: 760px;
}

.tutorial-hero-copy > p:not(.eyebrow) {
    max-width: 760px;
    color: var(--gray-600);
    font-size: 1.08rem;
}

.tutorial-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.tutorial-sequence {
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;

    list-style: none;
}

.tutorial-sequence li {
    min-height: 150px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.tutorial-sequence li > span,
.tutorial-card-number {
    width: 36px;
    height: 36px;

    display: inline-grid;
    place-items: center;

    color: var(--white);
    background: var(--blue-800);
    border-radius: 999px;

    font-weight: 850;
}

.tutorial-sequence li div {
    display: grid;
    gap: 5px;
}

.tutorial-sequence small {
    color: var(--gray-600);
    line-height: 1.45;
}

.tutorial-navigation {
    margin-top: 30px;
    padding: 18px 20px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;

    background: var(--blue-100);
    border: 1px solid #c9dcf6;
    border-radius: var(--radius-medium);
}

.tutorial-navigation a {
    padding: 7px 12px;

    color: var(--blue-900);
    background: var(--white);
    border: 1px solid #c9dcf6;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.tutorial-navigation a:hover,
.tutorial-navigation a:focus-visible {
    border-color: var(--blue-700);
}

.tutorial-section {
    scroll-margin-top: 92px;
}

.tutorial-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 56px;
}

.tutorial-step--reverse {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.tutorial-step--compact {
    margin-top: 38px;
    padding: clamp(24px, 4vw, 40px);

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.tutorial-step--final {
    background:
        linear-gradient(
            135deg,
            var(--blue-100),
            var(--white)
        );
    border-color: #c9dcf6;
}

.tutorial-copy h2,
.tutorial-finish h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.tutorial-copy h3 {
    margin: 0 0 14px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.tutorial-copy p {
    color: var(--gray-600);
}

.tutorial-copy--centered {
    align-self: center;
}

.tutorial-kicker {
    margin: 0 0 10px;

    color: var(--blue-700) !important;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ui-label {
    padding: 0.08em 0.42em;

    color: var(--blue-900);
    background: var(--blue-100);
    border: 1px solid #c9dcf6;
    border-radius: 6px;

    font-weight: 720;
    white-space: nowrap;
}

.tutorial-note {
    margin-top: 24px;
    padding: 17px 19px;

    color: var(--gray-700);
    background: var(--blue-100);
    border: 1px solid #c9dcf6;
    border-radius: var(--radius-small);
}

.tutorial-note--important {
    margin-top: 30px;

    color: #5d4300;
    background: var(--gold-100);
    border-color: #e6cd78;
}

.tutorial-gallery {
    display: grid;
    gap: 24px;
}

.tutorial-gallery--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tutorial-gallery--two-one {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
    align-items: center;
}

.tutorial-card {
    min-width: 0;
    padding: clamp(20px, 3vw, 28px);

    display: flex;
    flex-direction: column;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.tutorial-card-copy {
    min-height: 210px;
}

.tutorial-card-copy h3 {
    margin: 15px 0 8px;
    font-size: 1.25rem;
}

.tutorial-card-copy p {
    margin: 0 0 22px;
    color: var(--gray-600);
}

.tutorial-shot {
    min-width: 0;
    margin: 0;

    overflow: hidden;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.tutorial-shot a {
    display: block;
    padding: 12px;
    background: var(--gray-100);
}

.tutorial-shot img {
    width: 100%;
    max-height: 690px;

    display: block;
    object-fit: contain;

    border-radius: 12px;
}

.tutorial-shot figcaption {
    padding: 13px 16px 15px;
    color: var(--gray-600);
    font-size: 0.86rem;
    line-height: 1.45;
}

.tutorial-shot--hero {
    width: min(100%, 360px);
    justify-self: center;
    transform: rotate(1deg);
}

.tutorial-shot--hero img {
    max-height: 630px;
}

.tutorial-shot--wide {
    margin-top: 28px;
}

.tutorial-shot--wide img {
    max-height: none;
}

.tutorial-shot--short img {
    max-height: 430px;
}

.tutorial-shot--control {
    margin-top: auto;
}

.tutorial-shot--control img {
    max-height: 150px;
}

.tutorial-list {
    margin: 18px 0 0;
    padding-left: 1.35rem;
}

.tutorial-list li {
    padding: 5px 0 5px 5px;
    color: var(--gray-700);
}

.tutorial-finish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
    align-items: center;
    gap: 54px;
}

.tutorial-finish p:not(.eyebrow) {
    max-width: 700px;
    color: var(--gray-600);
}

.tutorial-checklist {
    margin: 0;
    padding: 26px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);

    list-style: none;
}

.tutorial-checklist li {
    position: relative;
    padding: 10px 0 10px 31px;
    color: var(--gray-700);
}

.tutorial-checklist li + li {
    border-top: 1px solid var(--gray-200);
}

.tutorial-checklist li::before {
    content: "✓";
    position: absolute;
    left: 3px;
    color: var(--blue-700);
    font-weight: 900;
}

@media (max-width: 1000px) {
    .tutorial-sequence {
        grid-template-columns: repeat(3, 1fr);
    }

    .tutorial-hero-grid,
    .tutorial-step,
    .tutorial-step--reverse,
    .tutorial-finish {
        grid-template-columns: 1fr;
    }

    .tutorial-hero-grid {
        gap: 42px;
    }

    .tutorial-shot--hero {
        width: min(100%, 400px);
        transform: none;
    }
}

@media (max-width: 760px) {
    .tutorial-gallery--two,
    .tutorial-gallery--two-one {
        grid-template-columns: 1fr;
    }

    .tutorial-card-copy {
        min-height: 0;
    }

    .tutorial-shot img {
        max-height: 620px;
    }

    .tutorial-shot--wide img {
        max-height: none;
    }
}

@media (max-width: 620px) {
    .tutorial-hero {
        padding: 48px 0 58px;
    }

    .tutorial-hero-actions {
        flex-direction: column;
    }

    .tutorial-sequence {
        grid-template-columns: 1fr;
    }

    .tutorial-sequence li {
        min-height: 0;
        flex-direction: row;
        align-items: flex-start;
    }

    .tutorial-navigation {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tutorial-navigation a {
        text-align: center;
    }

    .ui-label {
        white-space: normal;
    }

    .tutorial-shot a {
        padding: 7px;
    }

    .tutorial-step--compact {
        padding: 20px;
    }
}
/* =========================================================
   MANJI PRIKAZ SLIKA U VODIČU
   Originalna veličina ostaje dostupna nakon klika.
   ========================================================= */

.tutorial-page .tutorial-shot:not(.tutorial-shot--wide) {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
}

.tutorial-page .tutorial-shot a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial-page .tutorial-shot img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

/* Uvodna slika broj 5 */
.tutorial-page .tutorial-shot--hero {
    width: 100%;
    max-width: 310px;
}

.tutorial-page .tutorial-shot--hero img {
    max-height: 500px;
}

/* Niže, horizontalnije slike */
.tutorial-page .tutorial-shot--short {
    max-width: 460px !important;
}

.tutorial-page .tutorial-shot--short img {
    max-height: 380px;
}

/* Mala slika komandi V, X i tajmera */
.tutorial-page .tutorial-shot--control {
    max-width: 560px !important;
}

.tutorial-page .tutorial-shot--control img {
    max-height: 150px;
}

/* Široka slika rasporeda časova ostaje veća */
.tutorial-page .tutorial-shot--wide {
    width: 100%;
    max-width: 1050px;
    margin-inline: auto;
}

.tutorial-page .tutorial-shot--wide img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
}

@media (max-width: 620px) {
    .tutorial-page .tutorial-shot:not(.tutorial-shot--wide) {
        max-width: 300px;
    }

    .tutorial-page .tutorial-shot--short {
        max-width: 100% !important;
    }
}
/* Poravnanje početne slike vodiča */
.tutorial-page .tutorial-shot--hero {
    transform: none;
}
/* =========================================================
   INTERAKTIVNI RNG PRIKAZ NA NASLOVNOJ STRANICI
   ========================================================= */

.preview-random-trigger {
    width: 100%;
    margin: 0;
    padding: 0;

    display: block;

    appearance: none;
    border: 0;
    border-radius: 18px;

    color: inherit;
    background: transparent;

    font: inherit;
    text-align: center;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.preview-random-trigger .preview-number,
.preview-random-trigger .preview-instruction {
    display: block;
}

.preview-random-trigger .preview-number {
    transition:
        color 160ms ease,
        transform 160ms ease,
        text-shadow 160ms ease;
}

.preview-random-trigger:hover .preview-number {
    transform: scale(1.06);
    text-shadow:
        0 8px 22px rgba(11, 74, 162, 0.18);
}

.preview-random-trigger:active .preview-number {
    transform: scale(0.94);
}

.preview-random-trigger:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 5px;
}

.preview-random-trigger[aria-busy="true"] {
    cursor: wait;
}

.preview-random-trigger
.preview-number.is-drawing {
    color: var(--orange-500);

    animation:
        preview-number-pulse
        180ms
        ease-in-out
        infinite;
}

@keyframes preview-number-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.88);
    }

    100% {
        transform: scale(1.06);
    }
}

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .preview-random-trigger .preview-number {
        transition: none;
    }

    .preview-random-trigger
    .preview-number.is-drawing {
        animation: none;
    }
}
/* =========================================================
   EXCEL VODIČ ZA UVOZ PITANJA
   ========================================================= */

.excel-guide {
    margin-top: 36px;
    padding: clamp(24px, 4vw, 42px);

    scroll-margin-top: 100px;

    background:
        linear-gradient(
            145deg,
            #f3fbf5,
            var(--white)
        );

    border: 1px solid #b9d8c1;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.excel-guide-heading {
    max-width: 780px;
}

.excel-guide-heading h3 {
    margin: 0 0 14px;

    color: var(--gray-950);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.excel-guide-heading > p:last-child {
    color: var(--gray-600);
}

.excel-guide-link {
    display: inline-flex;
    margin: 0 0 24px;

    color: #176c37;

    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
}

.excel-guide-link:hover,
.excel-guide-link:focus-visible {
    text-decoration: underline;
}

.excel-import-flow {
    margin-top: 28px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;
    gap: 14px;
}

.excel-flow-card {
    min-height: 150px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;

    background: var(--white);
    border: 1px solid #c8dfce;
    border-radius: var(--radius-medium);
}

.excel-flow-number {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: var(--white);
    background: #217346;
    border-radius: 999px;

    font-weight: 850;
}

.excel-flow-card strong {
    color: var(--gray-950);
}

.excel-flow-card small {
    color: var(--gray-600);
    line-height: 1.45;
}

.excel-flow-arrow {
    color: #217346;
    font-size: 1.8rem;
    font-weight: 900;
}

.excel-file-example {
    margin-top: 24px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    overflow: hidden;

    background: var(--white);
    border: 1px solid #c8dfce;
    border-radius: var(--radius-medium);
}

.excel-file-example > div {
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.excel-file-example > div + div {
    border-left: 1px solid #c8dfce;
}

.excel-file-example span {
    color: var(--gray-600);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.excel-file-example strong {
    color: #185e36;
    line-height: 1.4;
}

.excel-example-title {
    margin: 34px 0 8px;

    color: var(--gray-950);
    font-size: 1.35rem;
}

.excel-example-description {
    margin: 0 0 18px;
    color: var(--gray-600);
}

.excel-table-wrapper {
    max-width: 100%;
    overflow-x: auto;

    background: var(--white);
    border: 1px solid #aeb8ae;
    border-radius: var(--radius-small);
}

.excel-example-table {
    width: 100%;
    min-width: 760px;

    border-collapse: collapse;
    color: var(--gray-800);

    font-size: 0.91rem;
}

.excel-example-table th,
.excel-example-table td {
    padding: 12px 14px;
    border: 1px solid #cfd7cf;
    text-align: left;
    vertical-align: top;
}

.excel-column-letters th {
    padding: 7px 12px;

    color: var(--gray-700);
    background: #e5e9e5;

    text-align: center;
    font-size: 0.8rem;
}

.excel-column-letters th:first-child {
    width: 45px;
    background: #d8ddd8;
}

.excel-example-table tbody th {
    width: 45px;

    color: var(--gray-600);
    background: #eef1ee;

    text-align: center;
    font-weight: 650;
}

.excel-header-cell {
    color: var(--white);
    background: #217346;

    font-weight: 800;
}

.excel-example-table td:nth-child(2) {
    width: 30%;
}

.excel-example-table td:nth-child(3) {
    width: 52%;
}

.excel-example-table td:nth-child(4) {
    width: 18%;
}

.excel-guide-details {
    margin-top: 22px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.excel-detail-card {
    padding: 18px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-small);
}

.excel-detail-card strong {
    color: #185e36;
}

.excel-detail-card p {
    margin: 7px 0 0;
    color: var(--gray-600);
}

.excel-ranks {
    margin-top: 22px;
    padding: 18px;

    background: var(--white);
    border: 1px solid #c8dfce;
    border-radius: var(--radius-small);
}

.excel-rank-list {
    margin-top: 12px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.excel-rank-list span {
    padding: 6px 11px;

    color: #185e36;
    background: #e7f5eb;
    border: 1px solid #b8d9c0;
    border-radius: 999px;

    font-size: 0.83rem;
    font-weight: 750;
}

@media (max-width: 850px) {
    .excel-import-flow {
        grid-template-columns: 1fr;
    }

    .excel-flow-card {
        min-height: 0;
    }

    .excel-flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .excel-file-example,
    .excel-guide-details {
        grid-template-columns: 1fr;
    }

    .excel-file-example > div + div {
        border-left: 0;
        border-top: 1px solid #c8dfce;
    }
}

@media (max-width: 620px) {
    .excel-guide {
        padding: 20px;
    }

    .excel-example-table {
        min-width: 680px;
    }
}
/* Excel format za uvoz učenika */

.tutorial-note--excel-students {
    width: 100%;
    margin-top: 14px;

    color: #174c2c;
    background: #e7f5eb;
    border-color: #b8d9c0;
}

.tutorial-note--excel-students strong {
    color: #185e36;
}
