/* Public marketing site styles for Securitask */

:root {
    --primary: #111827;
    --accent: #2563eb;
    --accent-soft: #dbeafe;
    --bg: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text-main);
}

.public-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-main {
    flex: 1;
}

/* Public navbar */
.public-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-soft);
}

.public-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* Login page overrides: transparent navbar, hide header buttons */
body.login-page .public-navbar {
    /* ~58% transparent white background (42% opacity) */
    background: rgba(255,255,255,0.42);
    border-bottom-color: rgba(229,231,235,0.42);
}

body.login-page .public-navbar-inner {
    padding-top: 18px;
}

body.login-page .public-menu-actions {
    display: none;
}

body.login-page .public-menu {
    display: none;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-brand img.logo-mark {
    height: 28px;
}

.public-brand img.logo-text {
    height: 22px;
}

.public-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.public-menu a {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.public-menu a:hover,
.public-menu a.active {
    background: #e5e7eb;
    color: #111827;
}

.public-menu-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hide mobile toggle by default on desktop */
.public-nav-toggle {
    display: none;
}

/* Generic visual block for image/preview placeholders on marketing pages */
.visual-block {
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    padding: 20px;
}

/* Simple responsive slider */
 .slider-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
 }

.slider-shell {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: #000;
    max-height: 420px;
}

.slider-track {
    position: relative;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    position: relative;
}

 .slider-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
 }

 .slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    color: #f9fafb;
 }

 .slider-overlay h3 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 10px 30px rgba(15,23,42,0.75);
 }

 .slider-overlay p {
    margin: 0 0 14px;
    font-size: 15px;
    max-width: 520px;
    text-shadow: 0 8px 24px rgba(15,23,42,0.7);
 }

 .slider-overlay .slider-cta {
    margin-top: 2px;
 }

.slider-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    pointer-events: auto;
    background: rgba(15,23,42,0.75);
    border: none;
    color: #e5e7eb;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(15,23,42,0.9);
}

.slider-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
}

.slider-dot.active {
    width: 18px;
    background: var(--accent);
}

.btn-outline {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--accent);
}

.btn-primary {
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* Hero / sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.hero-title {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-panel {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hero-panel-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hero-feature-list span.icon {
    font-size: 16px;
}

/* Simple cards / pricing */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-list span.bullet {
    color: var(--accent);
}

/* Public footer - light style similar to Frontdeskvisitor */
.public-footer {
    margin-top: 40px;
    border-top: 1px dashed rgba(209,213,219,0.9);
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    color: var(--text-main);
}

.public-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 24px;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.public-footer h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    min-height: 32px;
}

.public-footer h4 img {
    height: 22px !important;
}

.public-footer p,
.public-footer a,
.public-footer li,
.public-footer small {
    font-size: 13px;
    color: var(--text-muted);
}

.public-footer a {
    text-decoration: none;
}

.public-footer a:hover {
    color: var(--accent);
}

.public-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.public-footer-follow-list {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
}

.public-footer-follow-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    font-size: 14px;
}

.public-footer-follow-list li a span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .public-navbar-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
    }

    .public-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 4px 10px;
        border-radius: 6px;
        border: 1px solid var(--border-soft);
        background: #ffffff;
        cursor: pointer;
        font-size: 18px;
    }

    .public-menu,
    .public-menu-actions {
        display: none;
        width: 100%;
        margin-left: 0;
        margin-top: 6px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .public-navbar-inner.mobile-open .public-menu,
    .public-navbar-inner.mobile-open .public-menu-actions {
        display: flex;
    }

    .public-menu a,
    .public-menu-actions .btn-outline,
    .public-menu-actions .btn-primary {
        width: 100%;
        text-align: left;
    }

    .public-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
