/* RESET I OSNOVNI STILOVI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-main: #020617; /* Slate 950 */
    --bg-card: #0f172a; /* Slate 900 */
    --accent: #0756B2;  /* PRIMARNA PLAVA BOJA */
    --accent-hover: #096ad1; 
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

container {
    display: block;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section[id], footer[id] {
    scroll-margin-top: 100px; 
}

/* SVIJETLI ZAGLAVLJE (HEADER) */
header {
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.header-logo {
    max-height: 52px; 
    width: auto;
    display: block;
}

.nav-right-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #334155; 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

/* IZBOR JEZIKA */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    border-left: 1px solid #cbd5e1;
    padding-left: 20px;
    color: #94a3b8;
}

.lang-switcher a {
    text-decoration: none;
    color: #64748b;
    transition: color 0.3s;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--accent);
}

/* HERO SEKCIJA */
.hero {
    padding: 180px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 580px;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-download {
    background-color: var(--accent);
    border: 2px solid var(--accent);
    color: var(--text-main);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-download:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-download svg {
    fill: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* OKVIR TELEFONA I SCREENSHOT */
.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border: 12px solid var(--accent); 
    border-radius: 44px;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    overflow: hidden; 
}

.phone-mockup-content {
    width: 100%;
    height: 100%;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 32px; 
}

/* FUNKCIONALNOSTI - FORSIRANA 4 U REDU NA DESKTOPU */
.features {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px; 
}

.feature-card {
    background-color: var(--bg-card);
    padding: 30px 24px; 
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px -10px rgba(7, 86, 178, 0.3);
}

.feature-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* STATISTIKA */
.stats {
    background-color: var(--bg-card);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item h2 {
    font-size: 56px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
}

/* POZIV NA AKCIJU */
.cta {
    padding: 120px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
    border: 2px solid var(--accent);
    padding: 80px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(7, 86, 178, 0.2);
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 19px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-group {
    justify-content: center;
}

/* PODNOŽJE (FOOTER) */
footer {
    background-color: #01040a; 
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h4, .footer-contact h4, .footer-links h4 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 700;
}

/* LOGOTIPI JEDAN ISPOD DRUGOG SA SVJETLIJOM POZADINOM */
.logo-row {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
}

.partner-logo-link {
    text-decoration: none;
    display: inline-block;
    background-color: #ffffff; 
    padding: 12px 24px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 220px; 
    text-align: center;
}

.partner-logo-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

.partner-logo {
    max-height: 38px; 
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.bank-logos {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

/* RESPONZIVNOST */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .hero { padding-top: 150px; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }
    .hero h1 { font-size: 40px; }
    .hero p { margin: 0 auto 40px auto; }
    .btn-group { justify-content: center; }
    .nav-right-wrapper { display: none; } 
    .section-title { font-size: 32px; }
    .stat-item h2 { font-size: 42px; }
    .features-grid {
        grid-template-columns: 1fr; 
    }
}
