/* Alertoweb public (marketing) pages — layouts/public.html.twig. Built on Bootstrap 3 + Adminre base styles.
 * Brand colours (logo kit 2): red #e5383b (darker #c42b2e for text/hover, light #fdecec), dark #2e3440, amber #ffb020. */

html.public-site,
.public-site body {
    background: #fff;
}
.public-site body {
    padding-top: 64px; /* fixed navbar */
    color: #444;
}

/* ------------------------------------------------------------------ Navigation */
.public-nav {
    min-height: 64px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.public-nav .navbar-brand {
    height: 64px;
    padding: 11px 15px;
}
.public-nav .navbar-nav > li > a {
    line-height: 34px;
    color: #555;
    font-weight: 600;
}
.public-nav .navbar-nav > li > a:hover {
    color: #e5383b;
}
.public-nav-actions .navbar-btn {
    margin-top: 14px;
    margin-left: 6px;
}
@media (max-width: 767px) {
    .public-nav-actions {
        padding: 0 15px 15px;
    }
}

/* ------------------------------------------------------------------ Hero */
.public-hero {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #fff6f5 0%, #fff 100%);
}
.public-hero h1 {
    margin: 18px 0 20px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #2e3440;
}
.public-hero .lead {
    font-size: 18px;
    color: #555;
}
.public-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background: #fdecec;
    color: #c42b2e;
    font-size: 13px;
    font-weight: 600;
}
.public-hero-actions {
    margin: 28px 0 12px;
}
.public-hero-actions .btn {
    margin: 0 8px 10px 0;
}
.public-hero-actions .btn-google-sign-in {
    margin-bottom: 10px;
}
.public-hero-note {
    font-size: 13px;
}
@media (max-width: 991px) {
    .public-hero h1 {
        font-size: 30px;
    }
    .public-hero-text {
        margin-bottom: 40px;
    }
}

/* Before / after illustration */
.diff-demo {
    margin-top: 10px;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 60, 90, .12);
    overflow: hidden;
}
.diff-demo-bar {
    padding: 10px 14px;
    background: #f5f6f8;
    border-bottom: 1px solid #e3e6ea;
}
.diff-demo-bar > span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-radius: 50%;
    background: #d8dbe0;
}
.diff-demo-url {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 12px;
    border-radius: 12px;
    background: #fff;
    color: #888;
    font-size: 12px;
}
.diff-demo-body {
    padding: 22px 26px 18px;
}
.diff-demo-label {
    margin-bottom: 16px;
    color: #c42b2e;
    font-weight: 600;
    font-size: 13px;
}
.diff-demo-plan {
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: 6px;
}
.diff-demo-plan-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}
.diff-demo-price {
    margin: 6px 0 12px;
    font-size: 22px;
    font-weight: 700;
}
.diff-demo-plan ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.diff-demo-plan li {
    padding: 4px 0;
}
.diff-demo-plan li i {
    margin-right: 6px;
    color: #91c854;
}
.diff-demo del,
.diff-demo .legend-removed {
    padding: 0 4px;
    border-radius: 3px;
    background: #fde2e4;
    color: #c0392b;
}
.diff-demo ins,
.diff-demo .legend-added {
    padding: 0 4px;
    border-radius: 3px;
    background: #dcf5d9;
    color: #2e7d32;
    text-decoration: none;
}
.diff-demo-legend {
    margin-top: 14px;
    font-size: 12px;
    text-align: right;
}
.diff-demo-legend span {
    margin-left: 8px;
}

/* ------------------------------------------------------------------ Sections */
.public-section {
    padding: 80px 0;
}
.public-section-alt {
    background: #f7f9fa;
}
.public-section .section-header {
    margin-bottom: 45px;
}
.public-section .section-title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    color: #2e3440;
}
.public-section-intro {
    font-size: 16px;
}
.public-section h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Steps */
.public-step {
    padding: 10px 15px;
    text-align: center;
}
.public-step-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #e5383b;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 48px;
}

/* Features */
.public-feature {
    min-height: 190px;
    margin-bottom: 30px;
    padding: 26px 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.public-feature-icon {
    display: inline-block;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #fdecec;
    color: #e5383b;
    font-size: 22px;
    line-height: 46px;
    text-align: center;
}

/* Use cases */
.public-usecase {
    margin-bottom: 30px;
    text-align: center;
}
.public-usecase > i {
    display: block;
    margin-bottom: 12px;
    color: #e5383b;
    font-size: 32px;
}

/* FAQ (native <details>, no JavaScript) */
.public-faq-item {
    margin-bottom: 12px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
}
.public-faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    list-style: none;
}
.public-faq-item summary::-webkit-details-marker {
    display: none;
}
.public-faq-item summary:after {
    content: "+";
    float: right;
    color: #e5383b;
    font-size: 18px;
    line-height: 1;
}
.public-faq-item[open] summary:after {
    content: "\2212";
}
.public-faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    color: #555;
}

/* Final call to action */
.public-cta {
    padding: 70px 0;
    background: #e5383b;
    color: #fff;
}
.public-cta h2 {
    margin-top: 0;
    font-weight: 700;
}
.public-cta-button {
    margin-top: 10px;
    border: 0;
    color: #c42b2e !important;
    font-weight: 700;
}

/* ------------------------------------------------------------------ Robot page (/bot) */
.public-bot {
    padding-top: 50px;
    font-size: 15px;
    line-height: 1.7;
}
.public-bot h1 {
    margin: 0 0 16px;
    font-size: 34px;
    font-weight: 700;
    color: #2e3440;
}
.public-bot h2 {
    margin: 34px 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #2e3440;
}
.public-bot ul {
    padding-left: 20px;
}
.public-code {
    padding: 12px 16px;
    border: 0;
    border-left: 3px solid #e5383b;
    border-radius: 3px;
    background: #f7f9fa;
    color: #2e3440;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ------------------------------------------------------------------ Footer */
.public-footer {
    padding: 40px 0 20px;
    background: #2a2a2a;
    color: #aaa;
}
.public-footer a {
    color: #ddd;
}
.public-footer-logo,
.public-footer-logo:hover {
    display: inline-block;
    margin-bottom: 6px;
    text-decoration: none;
}
.public-footer-links a {
    display: inline-block;
    margin-left: 18px;
    line-height: 50px;
}
.public-footer-copy {
    margin: 20px 0 0;
    padding-top: 15px;
    border-top: 1px solid #3a3a3a;
    font-size: 12px;
}
@media (max-width: 767px) {
    .public-footer-links {
        text-align: left;
    }
    .public-footer-links a {
        margin: 0 18px 0 0;
    }
}

/* ------------------------------------------------------------------ Brand */
.public-nav .navbar-brand .brand-logo {
    height: 42px;
}
.public-footer-logo .brand-logo {
    height: 34px;
}
.public-site .btn-primary {
    border-color: #e5383b;
    background-color: #e5383b;
}
.public-site .btn-primary:hover,
.public-site .btn-primary:focus,
.public-site .btn-primary:active {
    border-color: #c42b2e;
    background-color: #c42b2e;
}
