/* ============================================
   FATURIM.COM — Stylesheet Kryesor
   ============================================ */

:root {
    --primary: #0f3460;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --success: #1d9e75;
    --bg: #f0f2f8;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-focus: #0f3460;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(15,52,96,0.12);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon-box {
    width: 38px; height: 38px;
    background: var(--accent);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.logo-icon.small { width: 28px; height: 28px; font-size: 15px; border-radius: 7px; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: white;
    display: block;
    line-height: 1.1;
}
.logo-dot { color: var(--accent); }
.logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    display: block;
}
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.18s;
}
.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.12);
    color: white;
}
.header-badge {
    background: rgba(233,69,96,0.2);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(233,69,96,0.3);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a2c5c 100%);
    padding: 72px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-label {
    display: inline-block;
    background: rgba(233,69,96,0.15);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(233,69,96,0.3);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: white;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-accent { color: var(--accent); }
.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 40px;
    padding: 16px 32px;
    gap: 28px;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); }
.stat-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Hero decorative shapes */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.06; }
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; }
.shape-2 { width: 250px; height: 250px; background: #4ecdc4; bottom: -80px; left: -60px; }
.shape-3 { width: 150px; height: 150px; background: white; top: 60%; left: 60%; }

/* ===== MAIN CONTENT ===== */
.main-content { padding: 48px 0 80px; }

/* ===== FORM CARDS ===== */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}
.form-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.card-num {
    width: 36px; height: 36px;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.card-desc { font-size: 13px; color: var(--text-muted); }

.form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== FIELDS ===== */
.field-group { margin-bottom: 14px; }
.field-group:last-child { margin-bottom: 0; }
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}
.req { color: var(--accent); }
.field-input {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: #fafafa;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    outline: none;
    appearance: none;
}
.field-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(15,52,96,0.08);
}
.field-input::placeholder { color: var(--text-light); }
.field-textarea {
    height: auto;
    min-height: 90px;
    padding: 12px;
    resize: vertical;
    line-height: 1.6;
}
select.field-input { cursor: pointer; 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='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
input[readonly].field-input { background: #f0f2f8; color: var(--text-muted); cursor: default; }

/* ===== ITEMS TABLE ===== */
.items-table-wrap { overflow-x: auto; }
.items-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1.2fr 1fr 1.2fr 36px;
    gap: 8px;
    padding: 0 4px 10px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 10px;
}
.items-header div {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.item-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1.2fr 1fr 1.2fr 36px;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
    animation: fadeInRow 0.2s ease;
}
@keyframes fadeInRow { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.btn-del {
    width: 30px; height: 30px;
    border: 1px solid #fcd5da;
    background: #fff5f6;
    color: var(--accent);
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.btn-del:hover { background: var(--accent); color: white; border-color: var(--accent); }

.items-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    gap: 24px;
    flex-wrap: wrap;
}
.btn-add-row {
    background: transparent;
    border: 1.5px dashed var(--primary);
    color: var(--primary);
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font);
}
.btn-add-row:hover { background: var(--primary); color: white; }

.totals-block { min-width: 280px; }
.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.total-line span:last-child { font-weight: 600; color: var(--text); }
.total-line.total-grand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
    padding-top: 12px;
    font-family: var(--font-heading);
}
.total-line.total-grand span:last-child { color: var(--primary); }
.total-line.discount-line { color: var(--accent); }
.total-line.discount-line span:last-child { color: var(--accent); }
.discount-line { gap: 8px; }
.discount-input {
    width: 52px; height: 28px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 0 6px;
    font-size: 13px;
    text-align: center;
    font-family: var(--font);
    outline: none;
    display: inline-block;
    margin: 0 4px;
    background: white;
}
.discount-input:focus { border-color: var(--accent); }

/* ===== BUTTONS ===== */
.form-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    padding: 8px 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
}
.btn-large { height: 52px; padding: 0 32px; font-size: 16px; }
.btn-preview {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(15,52,96,0.3);
}
.btn-preview:hover { background: #0d2a52; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,52,96,0.4); }
.btn-pdf {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(233,69,96,0.3);
}
.btn-pdf:hover { background: #d63756; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,69,96,0.4); }
.btn-print {
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-print:hover { border-color: var(--primary); color: var(--primary); }
.btn-new {
    background: var(--success);
    color: white;
}
.btn-new:hover { background: #178a63; }
.btn-icon { font-size: 16px; }

/* ===== ALERT ===== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
}
.alert-error {
    background: #fff5f6;
    border: 1px solid #fcd5da;
    color: #c0284a;
}
.alert-icon { font-size: 18px; flex-shrink: 0; }

/* ===== PREVIEW ACTIONS BAR ===== */
.preview-actions {
    background: var(--success);
    border-radius: var(--radius);
    padding: 20px 28px;
    margin-bottom: 24px;
}
.preview-actions-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.preview-title-group { display: flex; align-items: center; gap: 14px; }
.preview-check {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.25);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.preview-title { font-size: 17px; font-weight: 700; color: white; }
.preview-sub { font-size: 13px; color: rgba(255,255,255,0.75); }
.preview-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== INVOICE PREVIEW ===== */
.invoice-preview {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 32px;
}
.inv-wrap { padding: 40px 44px; }
.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
}
.inv-brand { display: flex; align-items: center; gap: 14px; }
.inv-logo {
    width: 52px; height: 52px;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
}
.inv-logo-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}
.inv-logo-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.inv-meta { text-align: right; }
.inv-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.inv-no {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.inv-dates { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.inv-date-label { color: var(--text-light); }

.inv-parties {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 32px;
    padding: 24px;
    background: #f8f9fc;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.inv-party-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}
.inv-party-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.inv-party-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.inv-party-detail { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.inv-party-client { text-align: right; }

.inv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: 13px;
}
.inv-table thead tr {
    background: var(--primary);
}
.inv-table th {
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 11px 12px;
    text-align: left;
}
.th-center { text-align: center !important; }
.th-right { text-align: right !important; }
.inv-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); }
.td-center { text-align: center; color: var(--text-muted); }
.td-right { text-align: right; color: var(--text-muted); }
.td-bold { font-weight: 700; color: var(--text) !important; }
.td-desc { font-weight: 500; color: var(--text); }
.inv-row-even { background: white; }
.inv-row-odd { background: #fafbfc; }

.inv-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}
.inv-notes {
    max-width: 400px;
    border-left: 3px solid var(--accent);
    padding: 10px 16px;
    background: #fff5f6;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 12px;
}
.inv-notes-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    margin-bottom: 6px;
}
.inv-notes-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.inv-generated { font-size: 11px; color: var(--text-light); }

.inv-totals { min-width: 260px; }
.inv-total-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    gap: 20px;
}
.inv-total-row span:last-child { font-weight: 600; color: var(--text); }
.inv-discount { color: var(--accent); }
.inv-discount span:last-child { color: var(--accent) !important; }
.inv-grand {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary) !important;
    border-bottom: none;
    border-top: 2px solid var(--primary);
    margin-top: 4px;
    padding-top: 10px;
    font-family: var(--font-heading);
}
.inv-grand span:last-child { color: var(--primary) !important; }

.inv-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.inv-thank {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}
.inv-footer-brand { font-size: 12px; color: var(--text-light); }

/* ===== HOW IT WORKS ===== */
.how-it-works, .faq {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}
.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.step-num {
    width: 44px; height: 44px;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 14px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step-arrow { font-size: 28px; color: var(--text-light); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.faq-item {
    background: white;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.faq-q {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    padding: 32px 0;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: white;
}
.footer-text { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; align-items: center; gap: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-links span { color: rgba(255,255,255,0.3); }

/* ===== PRINT ===== */
@media print {
    .site-header, .hero, .preview-actions, .how-it-works, .faq, .site-footer,
    .form-actions, .no-print { display: none !important; }
    body { background: white; }
    .main-content { padding: 0; }
    .invoice-preview { box-shadow: none; border: none; }
    .inv-wrap { padding: 20px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero { padding: 48px 0 56px; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
    .stat-divider { width: 60px; height: 1px; }
    .form-two-col { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
    .items-header { display: none; }
    .item-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        background: #f8f9fc;
        padding: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
    }
    .col-desc { grid-column: 1 / -1; }
    .col-del { grid-column: 2; text-align: right; }
    .inv-parties { grid-template-columns: 1fr; }
    .inv-party-divider { display: none; }
    .inv-party-client { text-align: left; }
    .inv-summary { flex-direction: column; }
    .inv-totals { width: 100%; }
    .form-actions { flex-direction: column; }
    .btn-large { width: 100%; justify-content: center; }
    .preview-actions-inner { flex-direction: column; }
    .inv-wrap { padding: 20px; }
    .form-card { padding: 20px; }
}

/* ===== LOGO UPDATES ===== */
.logo-icon-box {
    width: 38px; height: 38px;
    background: #378ADD;
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: -1px;
}
.logo-icon-box.small { width: 28px; height: 28px; font-size: 16px; border-radius: 7px; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1.1;
}
.logo-dot { color: #85B7EB; }
.logo-tagline { font-size: 11px; color: rgba(255,255,255,0.5); display: block; }

/* Invoice preview logo */
.inv-logo-box {
    width: 52px; height: 52px;
    background: #1a5fa8;
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}
.inv-logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #0a1628;
    line-height: 1.1;
}
.inv-logo-dot { color: #1a5fa8; }
.inv-logo-sub { font-size: 11px; color: #6b7280; margin-top: 2px; }

/* ===== HERO KOMPAKT ===== */
.hero-compact {
    padding: 28px 0 32px;
    text-align: center;
}
.hero-title-sm {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.hero-subtitle-sm {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.hero-stats-sm {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.stat-sm {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.stat-dot {
    width: 6px; height: 6px;
    background: #378ADD;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== NAVIGIM - linqe anchor ===== */
.nav-link[href^="#"] {
    scroll-behavior: smooth;
}

/* ===== TVSH INPUT E LIRË ===== */
.vat-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.vat-input-wrap .field-input {
    padding-right: 24px;
}
.vat-pct {
    position: absolute;
    right: 9px;
    font-size: 13px;
    color: var(--text-muted);
    pointer-events: none;
    font-weight: 500;
}

/* ===== KONTAKT NAV LINK ===== */
.nav-link-contact {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white !important;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    margin-left: 4px;
    transition: all 0.18s;
}
.nav-link-contact:hover {
    background: rgba(255,255,255,0.22) !important;
    border-color: rgba(255,255,255,0.4);
}

/* ===== TVSH FIX ===== */
.vat-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.col-vat .field-input {
    padding-right: 28px !important;
    width: 100%;
}
.vat-pct {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    pointer-events: none;
    font-weight: 500;
    line-height: 1;
}

/* ===== HERO FIX — hapsira me e vogel ===== */
.hero-compact {
    padding: 20px 0 22px !important;
}
.hero-title-sm {
    font-size: clamp(20px, 3.5vw, 30px) !important;
    margin-bottom: 8px !important;
}
.hero-subtitle-sm {
    font-size: 14px !important;
    margin-bottom: 12px !important;
}
.hero-stats-sm {
    gap: 16px !important;
}
.stat-sm {
    font-size: 12px !important;
}

/* ===== HERO I PLOTE — RIKTHYER ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a2c5c 100%);
    padding: 72px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-label {
    display: inline-block;
    background: rgba(233,69,96,0.15);
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(233,69,96,0.3);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: white;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-accent { color: #e94560; }
.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 40px;
    padding: 16px 32px;
    gap: 28px;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Shapes dekorative */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.06; }
.shape-1 { width: 400px; height: 400px; background: #e94560; top: -100px; right: -100px; }
.shape-2 { width: 250px; height: 250px; background: #4ecdc4; bottom: -80px; left: -60px; }
.shape-3 { width: 150px; height: 150px; background: white; top: 60%; left: 60%; }

/* ===== HERO — NGUSHTU LARTESIA ===== */
.hero {
    padding: 36px 0 40px !important;
}
.hero-title {
    font-size: clamp(28px, 4.5vw, 48px) !important;
    margin-bottom: 14px !important;
}
.hero-subtitle {
    font-size: 15px !important;
    margin-bottom: 24px !important;
}
.hero-stats {
    padding: 12px 24px !important;
    gap: 20px !important;
}
.stat-num {
    font-size: 18px !important;
}
.hero-label {
    margin-bottom: 16px !important;
}

/* ===== TOAST NOTIFICATION ===== */
#toast {
    transition: opacity 0.3s ease, bottom 0.3s ease;
    animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== PRINT - Logo fix ===== */
@media print {
    .inv-logo-box {
        background: #1a5fa8 !important;
        color: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        border-radius: 10px !important;
    }
    .inv-logo-text { color: #1a1a2e !important; }
    .inv-logo-dot { color: #1a5fa8 !important; }
    .inv-table thead tr { background: #1a5fa8 !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .inv-grand { color: #1a5fa8 !important; }
    .inv-badge { background: #e94560 !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ===== PARTIES — Print fix ===== */
@media print {
    .inv-parties {
        display: table !important;
        width: 100% !important;
    }
    .inv-party {
        display: table-cell !important;
        width: 48% !important;
        vertical-align: top !important;
    }
    .inv-party-divider {
        display: table-cell !important;
        width: 1px !important;
        border-left: 1px solid #e5e7eb !important;
    }
    .inv-party-client {
        text-align: right !important;
    }
}
