/* =========================
   RESET / BASE
========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-soft: rgba(79,70,229,0.04);
    --wm-shift: 0px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0f1220;
    color: #e5e7eb;
    line-height: 1.55;
}
.app-main {
    padding: 56px 0;
}


.muted {
    color: rgba(255,255,255,0.7);
}

/* =========================
   LAYOUT
========================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-main {
    padding: 56px 0;
    background: transparent;
}

/* =========================
   HEADER – FINAL FIX
========================= */
.app-header {
    background: #0f1220;
    border-bottom: none;
    box-shadow: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;              /* VEĆI HEADER */
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img.logo-img {
    height: 110px;              /* REALNO VEĆI */
    width: auto;
    max-width: none;
    display: block;
}
/* =========================
   NAV
========================= */
.nav a {
    margin-left: 22px;
    color: #c7c9ff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color .15s ease, opacity .15s ease;
}

.nav a:hover {
    opacity: 0.85;
}

.nav a.active {
    color: #ffffff;
}

.nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* =========================
   LANGUAGE SWITCH
========================= */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch label {
    color: #cbd5e1;
}

.lang-switch select {
    width: auto;
    padding: 8px 10px;
    border-radius: 10px;
    background: #0f1220;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
}

/* =========================
   HERO (HOME)
========================= */
.hero {
    position: relative;
    padding: 120px 0 96px;
    text-align: center;
    background: #0f1220;
    color: #ffffff;
    overflow: hidden;
}

/* WATERMARK */
.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: url('/assets/img/logo-watermark.png') no-repeat center;
    background-size: 70%;
    opacity: 0.08;
    transform: translateY(var(--wm-shift));
    pointer-events: none;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.12;
    font-weight: 850;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
}

.hero .subtitle {
    font-size: 18px;
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
}

.hero .cta {
    margin-top: 32px;
}

/* =========================
   HERO BADGES
========================= */
.hero-badges {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

/* =========================
   SECTIONS / FEATURES
========================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin: 96px 0;
}

/* KARTICE OSTAJU BELE */
.box {
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
    color: #111;
}

.box h3 {
    margin: 0 0 8px;
}

.box p {
    margin: 0;
    color: #374151;
}

/* =========================
   PAYMENT PREVIEW
========================= */
.payment-preview {
    margin-top: 20px;
    padding: 26px;
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
}

.payment-preview .qr-box {
    width: 120px;
    height: 120px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
}

/* =========================
   BUTTONS
========================= */
a.button,
button {
    display: inline-block;
    background: var(--brand);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 650;
    text-decoration: none;
    transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
    box-shadow: 0 8px 18px rgba(79,70,229,0.4);
}

a.button:hover,
button:hover {
    background: var(--brand-dark);
}

a.button.secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}

/* =========================
   FOOTER
========================= */
.app-footer {
    margin-top: 120px;
    padding: 48px 0;
    background: #0f1220;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-links a {
    color: #c7c9ff;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }
    .nav a {
        margin-left: 14px;
    }
    .brand img.logo-img {
        height: 52px;
    }
}
