/* workempires/assets/css/landing.css */
/* Landing page styles */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-dark: #0d1a2b;
    --bg-darker: #08111d;
    --panel: #16273d;
    --panel-light: #1f3450;
    --border: #2a4160;
    --text: #e6edf7;
    --text-dim: #8fa3c0;
    --accent: #00e0ff;
    --accent-hover: #33e8ff;
    --success: #4caf50;
    --gold: #ffd24d;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 720px; }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #08111d;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 224, 255, 0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--panel);
    border-color: var(--text-dim);
}
.btn-lg {
    padding: 14px 26px;
    font-size: 15px;
}

/* ---------- Header ---------- */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 26, 43, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent), var(--success));
    color: #08111d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.header-nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: var(--text-dim);
}
.header-nav a:hover { color: var(--text); }
.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ---------- Hero ---------- */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.hero-title .accent {
    color: var(--accent);
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.hero-note {
    font-size: 13px;
    color: var(--text-dim);
}

/* Hero mockup */
.hero-visual {
    position: relative;
}
.hero-mockup {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}
.hero-mockup-bar {
    display: flex;
    gap: 6px;
    padding: 12px 14px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
}
.hero-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}
.hero-mockup-body {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #0d2a3d, #1a4d6e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-mockup-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mockup-placeholder-text {
    position: absolute;
    color: rgba(230, 237, 247, 0.4);
    font-size: 14px;
    font-weight: 500;
    display: none;
}
.hero-mockup-body.placeholder .mockup-placeholder-text {
    display: block;
}

/* ---------- Sections ---------- */
.section {
    padding: 90px 0;
}
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 48px;
}
.section-title.center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 60px;
}

/* ---------- Problem ---------- */
.problem-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}
.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.problem-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.problem-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

/* ---------- Features ---------- */
.features-section .section-title {
    max-width: 640px;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse {
    direction: rtl;
}
.feature-row.reverse > * {
    direction: ltr;
}
.feature-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}
.feature-text p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
}
.feature-mockup {
    aspect-ratio: 16 / 10;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 13px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ---------- How it works ---------- */
.how-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.step-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #08111d;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}
.step-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}
.how-video {
    max-width: 800px;
    margin: 0 auto;
}
.video-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--text-dim);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.video-placeholder:hover {
    border-color: var(--accent);
}
.video-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #08111d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 12px 40px rgba(0, 224, 255, 0.3);
}

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-item summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.15s;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    margin-top: 12px;
    padding-right: 40px;
}

/* ---------- Final CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--bg-darker), var(--panel));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.cta-subtitle {
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.landing-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-brand .brand-logo {
    margin-bottom: 4px;
}
.footer-brand span {
    font-weight: 700;
    font-size: 16px;
}
.footer-tagline {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 8px;
    max-width: 300px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col h4 {
    font-size: 13px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.footer-col a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.15s;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-bottom {
    padding: 24px 0;
    color: var(--text-dim);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-mockup {
        transform: none;
    }
    .hero-title {
        font-size: 40px;
    }
    .section-title {
        font-size: 28px;
    }
    .cta-title {
        font-size: 30px;
    }
    .problem-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }
    .feature-row.reverse {
        direction: ltr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .header-nav {
        display: none;
    }
    .hero {
        padding: 60px 0 50px;
    }
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cta-title {
        font-size: 26px;
    }
    .header-cta .btn-ghost {
        display: none;
    }
}

/* ---------- Feature Images ---------- */
.feature-visual {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- Feature Images ---------- */
.feature-mockup {
    padding: 0; /* Uklanja padding ako ga je imao */
}

.feature-mockup img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}