/* ============================================================
   REDYO, light "site" tema (marketing + auth stranice)
   Prevedeno iz Claude Design (Login.dc.html).
   ============================================================ */

:root {
    --bg:          #fbfbfa;
    --surface:     #ffffff;
    --text:        #111311;
    --text-soft:   #5c625c;
    --line:        #ececea;
    --accent:      #16a34a;
    --accent-dark: #0f3d2c;
    --shadow: 0 20px 50px -12px rgba(16,20,16,0.12), 0 4px 12px -4px rgba(16,20,16,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 600; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

/* Pill dugmad */
.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition: transform .15s ease, opacity .15s ease;
}
.pill-btn:hover { opacity: .88; }
.pill-primary { background: #111311; color: #fff; padding: 15px 26px; font-size: 15px; }
.pill-secondary { background: transparent; color: #111311; padding: 14px 25px; font-size: 15px; border: 1.5px solid #dcdcd9; }
.pill-secondary:hover { border-color: #111311; }
.pill-block { width: 100%; }

/* Kartica */
.card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* Polja forme */
.field-input {
    font-family: inherit;
    font-size: 14.5px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    outline: none;
    background: #fbfbfa;
    width: 100%;
    color: var(--text);
}
.field-input:focus { border-color: var(--accent); }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }

/* Poruka o grešci */
.notice-err {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f6cfcb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: center;
}

/* Navigacija (pill) */
.site-nav-wrap { position: sticky; top: 16px; z-index: 30; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow);
    padding: 8px 8px 8px 22px;
}
.site-nav .brand { margin-right: auto; flex-shrink: 0; display: inline-flex; }
.site-nav .brand img { height: 42px; width: auto; display: block; }

/* Podnožje */
.site-footer {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 40px;
    display: flex;
    justify-content: center;
    font-size: 13px;
    color: var(--text-soft);
}

/* ============================================================
   HOME (marketing) + zajednički layout
   ============================================================ */
.wrap-xl { max-width: 1240px; margin: 0 auto; }
.eyebrow { display:block; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-dark); margin-bottom:14px; font-weight:600; }
.tag { font-size:12px; font-weight:600; color:var(--accent-dark); text-transform:uppercase; letter-spacing:.06em; }
.num { font-weight:800; font-size:14px; color:var(--accent-dark); }

.nav-links { display:flex; align-items:center; gap:18px; margin-right:auto; }
.nav-links a { font-size:14.5px; color:#111311; }

.hero { padding:100px 40px 60px; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:40px; align-items:center; }
.hero-art { position:relative; height:460px; }

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-story { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,5fr); gap:48px; }

.feat { list-style:none; padding:0; margin:4px 0 20px; display:flex; flex-direction:column; gap:9px; font-size:14px; }

.ptab { border-radius:999px; padding:9px 18px; font-size:13.5px; font-weight:600; cursor:pointer; color:var(--text-soft); user-select:none; }
.ptab.is-active { background:#111311; color:#fff; }
.price { font-weight:800; font-size:36px; }

/* Forma: dve kolone */
.form-2col { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* Select izgleda kao input */
select.field-input {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c625c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 40px; cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .nav-links { display:none; }
    .hero { grid-template-columns:1fr; padding:72px 24px 40px; }
    .hero-art { display:none; }
    .grid-2, .grid-3, .grid-4, .grid-story { grid-template-columns:1fr; }
    .wrap-xl[style], section[style] { padding-left:24px !important; padding-right:24px !important; }
    .form-2col { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
    .site-nav .pill-secondary { display:none; }
}

/* Notice varijante */
.notice-ok {
    background: #eaf7ef; color: #0f3d2c; border: 1px solid #bfe6cd;
    border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; text-align: center;
}
.notice-dev {
    margin-top: 16px; background: #fff8e6; border: 1px solid #f3e2a8;
    border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #6b5900; word-break: break-all;
}

/* "or" razdvajač + Google dugme */
.or-div { display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--text-soft); font-size:13px; }
.or-div::before, .or-div::after { content:""; flex:1; height:1px; background:var(--line); }
.btn-google {
    display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
    padding:13px; border-radius:999px; border:1.5px solid #dcdcd9; background:#fff;
    color:#111311; font-weight:600; font-size:15px; text-decoration:none;
    transition:border-color .15s ease;
}
.btn-google:hover { border-color:#111311; color:#111311; }
