/* Site-wide overrides for the LudiSec static marketing site.
   Layered on top of the platform's own futuristic_theme.css / light_theme.css. */

body {
    padding-top: 70px;
}

.footer {
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--bs-border-color);
}

.footer-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 0.75rem;
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.cookie-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-fab:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.cookie-fab i {
    font-size: 1.75rem;
    font-style: normal;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-fab:hover i {
    transform: translateY(-6px) rotate(-10deg);
}

.lang-switcher {
    font-size: 0.8rem;
}

.lang-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 2px;
}

.lang-link.active {
    color: var(--bs-primary);
}

.lang-link:hover {
    text-decoration: underline;
}

.lang-sep {
    color: var(--bs-border-color);
    margin: 0 1px;
}

/* Shared hero used on the landing page */
.hero {
    background-size: cover;
    background-position: center;
    padding: 6rem 1rem;
}

[data-bs-theme="dark"] .hero {
    background: linear-gradient(rgba(10, 15, 26, 0.40), rgba(10, 15, 26, 0.40)), url("/img/hero_dark.jpg") center / cover no-repeat;
    color: #ffffff;
}
[data-bs-theme="dark"] .hero h1,
[data-bs-theme="dark"] .hero p { color: #ffffff; }

[data-bs-theme="light"] .hero {
    background: linear-gradient(rgba(220, 232, 248, 0.30), rgba(220, 232, 248, 0.30)), url("/img/hero_light.jpeg") center / cover no-repeat;
    color: #0d1b2a;
}
[data-bs-theme="light"] .hero h1,
[data-bs-theme="light"] .hero p { color: #0d1b2a; }

/* Smaller page-header hero used on interior pages (pricing, features, faq, blog, legal...) */
.page-hero {
    padding: 4rem 1rem 3rem;
    text-align: center;
}

/* Legal / markdown-rendered content pages */
.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.4rem;
}
.legal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}
.legal-content table {
    width: 100%;
    margin: 1rem 0;
}
.legal-content table, .legal-content th, .legal-content td {
    border: 1px solid var(--bs-border-color);
    border-collapse: collapse;
    padding: 0.5rem 0.75rem;
}
.legal-placeholder {
    background: color-mix(in srgb, var(--bs-warning) 20%, transparent);
    border-bottom: 1px dashed var(--bs-warning);
    padding: 0 0.15rem;
}

.blog-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Bootstrap resets heading margin-top to 0, so a heading right after another
   (e.g. an <h2> section title immediately followed by its first <h3> item)
   reads as one merged block. Give blog post headings breathing room, matching
   the .legal-content h2/h3 treatment above. */
article.blog-post h2 {
    margin-top: 2.5rem;
}
article.blog-post h3 {
    margin-top: 1.75rem;
}

article.blog-post img {
    max-width: 100%;
    height: auto;
}
