/* ==========================================================================\
   1. MAPIRANJE GLOBALNIH SVOJSTAVA I TOKENS (IZ THEME.CSS DATOTEKE)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #080E1D;
    color: #F0F4FF;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.figma-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-3xl { max-width: 768px; }
.max-w-xl { max-width: 576px; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 672px; margin-left: auto; margin-right: auto; }
.text-center-box { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

/* ==========================================================================\
   2. REFRESH BACKGROUND TEXTURES & GLOW EFFECTS
   ========================================================================== */
.figma-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 48px 48px;
    background-image: 
        linear-gradient(rgba(34, 113, 177, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 113, 177, 0.05) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

.figma-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 2;
}

.figma-glow-top {
    top: 100px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(34, 113, 177, 0.14) 0%, transparent 70%);
}

.figma-glow-pricing {
    bottom: 20%;
    right: 15%;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.09) 0%, transparent 70%);
}

/* ==========================================================================\
   3. TYPOGRAPHY & MAPIRANJE FONTOVA
   ========================================================================== */
h1, h2, h3, .nav-logo-title, .popup-heading, .feature-card-title, .usecase-card-title, .step-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.badge-mono, .usecase-badge-tag, .usecase-footer-detail, .pricing-card-badge, .step-num-bubble {
    font-family: 'JetBrains Mono', monospace;
}

.nav-links a, .nav-logo-subtitle, .hero-description, .btn, .feature-card-desc, .usecase-card-desc, .step-card-desc, .pricing-plan-subtitle, .pricing-features-list, .pricing-card-footer, .footer-links-zone, .footer-copyright-text {
    font-family: 'DM Sans', sans-serif;
}

.text-gradient {
    background: linear-gradient(135deg, #00B4D8 0%, #2271B1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-mono {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    color: #00B4D8;
    background: transparent;
    border: none;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.badge-lightning-icon {
    margin-right: 8px;
}

/* ==========================================================================\
   4. BUTTON COMPONENTS (PRIMARY, SECONDARY, NAV, POPUP)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-nav-cta {
    background: #1A2338;
    color: #C8D8F0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
}
.btn-nav-cta:hover {
    background: #2271B1;
    color: #ffffff;
    border-color: #2271B1;
}

.btn-primary-cta {
    background: linear-gradient(100deg, #2271B1, #00B4D8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 180, 216, 0.2);
}
.btn-primary-cta:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(0, 180, 216, 0.3);
}

/* ==========================================================================\
   5. NAVBAR LAYOUT
   ========================================================================== */
.figma-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 14, 29, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-box, .footer-logo-box {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2271B1, #00B4D8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-title {
    font-size: 14px;
    font-weight: 700;
    color: #F0F4FF;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.nav-logo-subtitle {
    font-size: 11px;
    color: #7A90B4;
}

.nav-links a {
    font-size: 13px;
    color: #7A90B4;
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #F0F4FF;
}

/* ==========================================================================\
   6. HERO SECTION LAYOUT & NEW DESIGN ELEMENTI
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-main-title {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-top: 24px;
    margin-bottom: 24px;
    color: #F0F4FF;
}

.hero-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: #7A90B4;
    margin-bottom: 32px;
}

.hero-options-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.option-tag {
    font-size: 12px;
    font-weight: 400;
    color: #C8D8F0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.2s;
}

.option-tag:hover {
    background: rgba(0, 180, 216, 0.05);
    border-color: rgba(0, 180, 216, 0.25);
}

.hero-cta-group-v2 {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cta-meta-license {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #7A90B4;
}

/* INTERACTIVE APP WINDOW MOCKUP (OSLOBOĐENO ZBOG POPUPA) */
.app-window-mockup {
    background: #1e2428;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    height: 280px;
}

.window-header {
    background: #25292f;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 11px 11px 0 0;
}

.window-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #d4183d; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-address-bar {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: #7A90B4;
    flex-grow: 1;
}

.window-body {
    display: flex;
    height: calc(100% - 41px);
    position: relative;
    border-radius: 0 0 11px 11px;
}

.mock-wp-sidebar {
    width: 48px;
    background: #24282d;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 0 0 0 11px;
}

.sidebar-line-active {
    width: 24px;
    height: 4px;
    background: #2271B1;
    border-radius: 2px;
}

.sidebar-line {
    width: 20px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}

.mock-table-content {
    flex-grow: 1;
    padding: 20px;
}

.table-mock-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.table-mock-row {
    padding: 10px 0;
    font-size: 12px;
    color: #7A90B4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-highlighted {
    color: #00B4D8;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 10px 8px;
}

.row-tag {
    font-size: 10px;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    padding: 2px 6px;
    border-radius: 4px;
}

.row-action-indicator {
    font-size: 10px;
    color: #2271B1;
}

.clone-popup-mockup {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 230px;
    background: #1A2338;
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}

.popup-heading {
    font-size: 12px;
    font-weight: 700;
    color: #F0F4FF;
}

.popup-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-option-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.item-checked .custom-checkbox {
    background: #2271B1;
    border-color: #2271B1;
}

.option-label {
    font-size: 11px;
    color: #C8D8F0;
}

.muted-label {
    color: #7A90B4;
}

.btn-popup-action {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    background: linear-gradient(135deg, #2271B1, #00B4D8);
    color: #ffffff;
    border: none;
    border-radius: 6px;
}

/* ==========================================================================\
   7. FEATURES MODULE
   ========================================================================== */
.features-section, .usecases-section, .how-it-works-section, .pricing-section, .faq-section {
    padding: 100px 0;
    position: relative;
    z-index: 3;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #F0F4FF;
}

.section-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #7A90B4;
    line-height: 1.6;
    margin-top: 12px;
}

.features-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card-wrapper {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s ease-in-out;
}
.feature-card-wrapper:hover {
    border-color: rgba(0, 180, 216, 0.3);
    background: #131E30;
}

.feature-icon-container {
    width: 40px;
    height: 40px;
    background: rgba(34, 113, 177, 0.12);
    border: 1px solid rgba(34, 113, 177, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B4D8;
    margin-bottom: 20px;
}

.feature-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #F0F4FF;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #7A90B4;
}

/* ==========================================================================\
   8. USE CASES MODULE
   ========================================================================== */
.usecases-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usecase-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.usecase-badge-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.tag-cyan { background: rgba(0, 180, 216, 0.1); color: #00B4D8; }
.tag-purple { background: rgba(124, 58, 237, 0.1); color: #a78bfa; }
.tag-amber { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.tag-green { background: rgba(16, 185, 129, 0.1); color: #34d399; }

.usecase-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #F0F4FF;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.usecase-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #7A90B4;
    margin-bottom: 24px;
}

.usecase-footer-detail {
    font-size: 12px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
}
.detail-cyan { background: rgba(0, 180, 216, 0.04); color: #00B4D8; border: 1px solid rgba(0, 180, 216, 0.15); }
.detail-purple { background: rgba(124, 58, 237, 0.04); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.15); }
.detail-amber { background: rgba(245, 158, 11, 0.04); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.15); }
.detail-green { background: rgba(16, 185, 129, 0.04); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.15); }

/* ==========================================================================\
   9. WORKFLOW / HOW IT WORKS MODULE
   ========================================================================== */
.workflow-steps-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.workflow-step-card {
    position: relative;
    padding-top: 24px;
}

.step-num-bubble {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2271B1, #00B4D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.step-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #F0F4FF;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.step-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #7A90B4;
}

/* ==========================================================================\
   10. PRICING ARCHITECTURE
   ========================================================================== */
.pricing-card-box {
    background: linear-gradient(180deg, #111827 0%, #0D1424 100%);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 16px;
    padding: 48px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.pricing-card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 180, 216, 0.15);
    color: #00B4D8;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

.pricing-plan-title {
    font-size: 24px;
    font-weight: 700;
    color: #F0F4FF;
    margin-bottom: 8px;
}

.pricing-plan-subtitle {
    font-size: 14px;
    color: #7A90B4;
    margin-bottom: 32px;
}

.price-display-box {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
}

.price-display-box .currency-symbol {
    font-size: 32px;
    vertical-align: super;
    font-weight: 700;
    margin-right: 4px;
    color: #7A90B4;
}

.price-display-box .decimal-part {
    font-size: 36px;
    vertical-align: super;
    font-weight: 800;
}

.price-meta-text {
    font-size: 13px;
    color: #7A90B4;
    margin-bottom: 32px;
}

.pricing-divider-line {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 32px;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features-list li {
    font-size: 14px;
    color: #C8D8F0;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-bullet {
    color: #00B4D8;
    font-weight: bold;
}

.btn-pricing-purchase {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background: linear-gradient(135deg, #2271B1, #00B4D8);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 32px rgba(34, 113, 177, 0.3);
}
.btn-pricing-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(34, 113, 177, 0.4);
}

.pricing-card-footer {
    font-size: 11px;
    color: #7A90B4;
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}

/* ==========================================================================\
   11. FAQ ACCORDION ENGINE
   ========================================================================== */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-toggle-input {
    display: none;
}

.accordion-header-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #F0F4FF;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.accordion-header-trigger:hover {
    background: rgba(255,255,255,0.02);
}

.accordion-chevron {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.2s ease-in-out;
}
.accordion-chevron::before, .accordion-chevron::after {
    content: '';
    position: absolute;
    background-color: #7A90B4;
    top: 7px;
    width: 10px;
    height: 2px;
    border-radius: 1px;
}
.accordion-chevron::before { transform: rotate(45deg); left: 0; }
.accordion-chevron::after { transform: rotate(-45deg); right: 0; }

.accordion-content-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0, 1, 0, 1);
    background: rgba(8, 14, 29, 0.2);
}

.accordion-content-panel p {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    line-height: 1.65;
    color: #7A90B4;
}

.accordion-toggle-input:checked ~ .accordion-header-trigger .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-toggle-input:checked ~ .accordion-content-panel {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================\
   12. FOOTER DESIGN SYSTEM
   ========================================================================== */
.figma-footer {
    background: #080E1D;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0;
    position: relative;
    z-index: 3;
}

.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo-zone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 14px;
    color: #F0F4FF;
    letter-spacing: -0.02em;
}

.footer-logo-tagline {
    font-size: 12px;
    color: #7A90B4;
}

.footer-links-zone a {
    font-size: 13px;
    color: #7A90B4;
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.2s;
}
.footer-links-zone a:hover {
    color: #F0F4FF;
}

.footer-copyright-text {
    font-size: 12px;
    color: #7A90B4;
}

/* ==========================================================================\
   13. RESPONSIVE DESIGN (ADAPTIVNOST)
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-options-tags {
        justify-content: center;
    }
    .hero-cta-group-v2 {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .hero-visual {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    .usecases-grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .features-grid-layout, .workflow-steps-layout {
        grid-template-columns: 1fr;
    }
    .pricing-card-box {
        padding: 24px;
    }
    .btn {
        width: 100%;
    }
    .clone-popup-mockup {
        right: -10px;
        bottom: -20px;
    }
}

/* ==========================================================================
   14. CONTACT SECTION & FORM
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.contact-subtitle {
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7A90B4;
    margin-top: 8px;
}

.contact-form-box {
    background: rgba(14, 20, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    font-weight: 500;
    color: #A0B3D8;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #F0F4FF;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #00B4D8;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.required-warning {
    font-size: 13px;
    color: #7A90B4; /* Tamno plava po defaultu */
    transition: color 0.3s ease;
}

.required-warning.error {
    color: #FF4D4D; /* Crvena kad fali polje */
}

/* Animacija za blinkanje */
@keyframes errorBlink {
    0% { color: #FF4D4D; }
    25% { color: #FFFFFF; }
    50% { color: #FF4D4D; }
    75% { color: #FFFFFF; }
    100% { color: #FF4D4D; }
}

.blink-anim {
    animation: errorBlink 1s ease forwards;
}

/* ReCaptcha Mockup */
.mock-recaptcha {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mock-recaptcha.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.recaptcha-box {
    background: #FAFAFA;
    border: 1px solid #D3D3D3;
    border-radius: 3px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recaptcha-box label {
    color: #333;
    font-size: 14px;
    font-family: sans-serif;
    cursor: pointer;
    flex-grow: 1;
}

.recaptcha-box input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.recaptcha-logo {
    height: 30px;
}

/* Success Popup */
.contact-success-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 14, 29, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.contact-success-popup.show {
    opacity: 1;
    pointer-events: all;
}

.popup-content-box {
    background: #1A2338;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.contact-success-popup.show .popup-content-box {
    transform: translateY(0);
}

.popup-content-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #F0F4FF;
}

.popup-content-box p {
    color: #A0B3D8;
    font-size: 15px;
}

@media (max-width: 768px) {
    .form-row-2 { grid-template-columns: 1fr; }
    .contact-form-box { padding: 24px; }
}


/* Sprečavanje pretraživača da oboji email polje u belo kod autofill-a */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important; /* Tekst ostaje beo */
    -webkit-box-shadow: 0 0 0px 1000px #141928 inset !important; /* Boja prilagođena tvom dizajnu */
    transition: background-color 5000s ease-in-out 0s;
}