﻿/* ==========================
   BASE
   ========================== */

html,
body {
    height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    .page-container main {
        flex: 1 0 auto;
    }

footer.footer {
    flex-shrink: 0;
}

/* Ensure footer stays in normal flow */
footer,
.footer,
footer.footer {
    position: static !important;
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Required field indicator */
.required-label::after {
    content: " *";
    color: red;
}

/* ==========================
   HEADER / NAV
   ========================== */

.site-header {
    background-color: #ffffff;
}

.navbar .brand-text {
    font-weight: 600;
    font-size: 1.05rem;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.75rem;
}

    .navbar-nav .nav-link.active {
        font-weight: 600;
    }

/* ==========================
   FOOTER
   ========================== */

.site-footer {
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

.footer-brand strong {
    font-size: 1rem;
}

.footer-links li {
    margin-right: 12px;
}

    .footer-links li:last-child {
        margin-right: 0;
    }

.footer-links a {
    color: #6c757d;
    text-decoration: none;
}

    .footer-links a:hover {
        text-decoration: underline;
        color: #343a40;
    }

/* ==========================
   STRIPS LAYOUT
   ========================== */

.strip {
    width: 100%;
    padding: 60px 0;
}

.strip-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Strip colors */

.strip-hero {
    background: #4678A0;
    color: #ffffff;
}

.strip-ai {
    background: #f8fbff;
}

.strip-features {
    background: #ffffff;
}

.strip-plans {
    background: #f5f7fa;
}

/* Strip titles and text */

.strip-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.strip-text {
    font-size: 1rem;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================
   HERO SECTION
   ========================== */

.home-logo {
    width: 190px;
    margin-bottom: 22px;
}

.home-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.home-subtitle {
    background: #ffffff;
    color: #000000;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
    max-width: 720px;
}

.home-actions {
    margin-top: 18px;
    margin-bottom: 14px;
}

/* Hero badges */

.home-badges {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

    .home-badges span {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.15);
        color: #000000;
        padding: 6px 12px;
        font-weight: 600;
        font-size: 0.85rem;
        border-radius: 999px;
    }

/* ==========================
   AI CARD
   ========================== */

.home-ai-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e6ea;
    padding: 18px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-size: 0.95rem;
}

    .home-ai-card h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .home-ai-card ul {
        padding-left: 18px;
    }

    .home-ai-card li {
        margin-bottom: 4px;
    }

.home-ai-note {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================
   FEATURE CARDS
   ========================== */

.home-feature-card {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 16px 14px;
    height: 100%;
}

    .home-feature-card h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

/* ==========================
   PLANS
   ========================== */

/* Make plan cards equal height on the row */
.strip-plans .row {
    display: flex;
    align-items: stretch;
}

/* Base plan card styling (shared) */
.plan-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Plan specific accents */
.plan-card-free {
    border: 1px solid #cdd2d6;
    background: #f8f9fa;
}

    .plan-card-free .plan-name {
        color: #495057;
    }

    .plan-card-free .plan-tagline {
        color: #6c757d;
    }

    .plan-card-free:hover {
        border-color: #bfc5c9;
        background: #f1f3f5;
        transition: 0.2s ease;
    }

    .plan-card-free .btn-outline-secondary {
        width: 100%;
        font-weight: 500;
    }

.plan-card-silver {
    border-top: 3px solid #adb5bd;
}

.plan-card-gold {
    border-top: 3px solid #f6c453;
    background: #fffaf0;
}

.plan-card-platinum {
    border-top: 3px solid #343a40;
    background: #f8f9fa;
}

/* Common inner elements */
.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-tagline {
    color: #6c757d;
    margin-bottom: 10px;
}

.plan-list {
    list-style: none;
    padding-left: 0;
}

    .plan-list li {
        padding-left: 18px;
        position: relative;
        margin-bottom: 6px;
    }

        .plan-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: #198754;
        }

.plan-cta {
    margin-top: auto;
}

/* ==========================
   MOBILE FIXES
   ========================== */

@media (max-width: 767.98px) {

    .strip {
        padding: 40px 0;
    }

    .home-title {
        font-size: 2rem;
        font-weight: 700;
    }

    /* Subtitle on mobile */
    .home-subtitle {
        display: block;
        background: #ffffff;
        color: #000000;
        font-size: 0.95rem;
        padding: 8px 14px;
        margin: 10px auto 0;
        max-width: 95%;
        text-align: center;
    }

    .home-badges span {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.2);
        color: #000000;
    }

    .home-ai-card {
        margin-top: 12px;
    }
}

/* ==========================
   GENERIC PAGE UTILITIES
   ========================== */

.page-container h1 {
    text-align: center;
}

.page-container textarea {
    width: 100%;
    padding: 8px;
}

.page-container button {
    margin-top: 10px;
}

/* ==========================
   FAQ PAGE
   ========================== */

.faq-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px 60px;
}

.faq-section h2 {
    margin-top: 35px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.faq-item {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
}

    .faq-item p {
        margin-top: 8px;
        display: none;
    }

    .faq-item.open p {
        display: block;
    }

/* ==========================
   ABOUT
   ========================== */

.about-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    font-size: 15px;
}

.about-mvv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.about-mvv-item {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    padding: 20px 18px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .about-mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .about-mvv-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* BLOG PAGE SHELL */
.blog-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    font-size: 15px;
    line-height: 1.7;
}

/* HERO */
.blog-hero h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.blog-hero p {
    margin-bottom: 4px;
}

.blog-hero-meta {
    font-size: 13px;
    color: #777;
}

/* MAIN GRID */
.blog-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .blog-content-grid {
        grid-template-columns: 2.2fr 1fr;
    }
}

/* BLOG CARDS */
.blog-card {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 16px 18px;
}

.blog-card-featured {
    background: #ffffff;
    border-color: #d6e4ff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.blog-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

/* Category pill + date */
.blog-category-pill {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    border-radius: 999px;
    background: #eef4ff;
    color: #3654a3;
    font-weight: 600;
}

.blog-date {
    font-size: 12px;
    color: #777;
}

/* Titles */
.blog-card-title {
    font-size: 20px;
    margin-bottom: 6px;
}

    .blog-card-title a {
        text-decoration: none;
        color: #202529;
    }

        .blog-card-title a:hover {
            text-decoration: underline;
        }

.blog-card-title-small {
    font-size: 18px;
    margin-bottom: 4px;
}

    .blog-card-title-small a {
        text-decoration: none;
        color: #202529;
    }

        .blog-card-title-small a:hover {
            text-decoration: underline;
        }

/* Summary and read link */
.blog-card-summary {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

.blog-read-more {
    font-size: 14px;
    text-decoration: none;
    color: #0d6efd;
}

    .blog-read-more:hover {
        text-decoration: underline;
    }

/* SIDEBAR */
.blog-sidebar {
    border-left: 1px solid #eee;
    padding-left: 16px;
}

.blog-sidebar-card {
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e4e4e4;
    padding: 14px 14px;
}

.latest-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .latest-list li {
        margin-bottom: 8px;
    }

    .latest-list a {
        text-decoration: none;
        font-size: 14px;
        color: #202529;
    }

        .latest-list a:hover {
            text-decoration: underline;
        }

.latest-meta {
    font-size: 12px;
    color: #777;
}

/* Single blog post layout */

.blog-post {
    max-width: 760px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 10px;
}

.blog-back-link {
    font-size: 13px;
    text-decoration: none;
    color: #0d6efd;
}

    .blog-back-link:hover {
        text-decoration: underline;
    }

.blog-post-title {
    font-size: 26px;
    margin-bottom: 6px;
}

.blog-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.blog-body {
    font-size: 15px;
    line-height: 1.7;
}

    /* Tidy up common content inside post body */
    .blog-body p {
        margin-bottom: 12px;
    }

    .blog-body h2,
    .blog-body h3 {
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .blog-body ul,
    .blog-body ol {
        margin-bottom: 12px;
        padding-left: 22px;
    }

    .blog-body img {
        max-width: 100%;
        height: auto;
        margin: 10px 0;
        border-radius: 6px;
    }


/* ==========================
   AUTH PAGES
   ========================== */

.auth-wrapper {
    min-height: calc(100vh - 120px); /* leaves room for header/footer */
    padding: 40px 15px;
}

.auth-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ==========================
   RECRUITING ASSISTANT PAGE
   ========================== */

.recruit-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    font-size: 15px;
}

.recruit-header {
    margin-bottom: 10px;
}

/* Recruiting assistant logo */
.recruit-logo {
    height: 110px;
    width: auto;
    max-width: 100%;
}

.recruit-title {
    font-size: 24px;
    font-weight: 600;
}

.recruit-tagline {
    font-size: 14px;
    color: #6c757d;
}

.recruit-card {
    border-radius: 12px;
    border: 1px solid #e4e4e4;
}

.recruit-question-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.recruit-question-box {
    min-height: 120px;
    resize: vertical;
    border-radius: 8px;
}

.recruit-status {
    min-height: 18px;
}

/* Result card */

.recruit-result-card {
    border-radius: 12px;
    border: 1px solid #e4e4e4;
}

.recruit-result-title {
    font-size: 19px;
    margin-bottom: 6px;
}

.recruit-result-summary {
    font-size: 14px;
    color: #444;
}

.recruit-list {
    padding-left: 20px;
    margin-bottom: 4px;
}

/* Logs card */

.recruit-logs-card {
    border-radius: 12px;
    border: 1px solid #e4e4e4;
}

/* Custom alert */

.recruit-alert {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f44336;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    font-size: 14px;
    z-index: 9999;
}

/* Mobile tweaks */

@media (max-width: 767.98px) {
    .recruit-page {
        padding-top: 15px;
    }

    .recruit-logo {
        height: 90px;
    }

    .recruit-title {
        font-size: 21px;
    }

    .recruit-tagline {
        font-size: 13px;
    }

    .recruit-logs-card {
        margin-top: 6px;
    }
}

.recruit-summary-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.recruit-result-summary {
    flex: 1;
    font-size: 14px;
    color: #444;
    margin-bottom: 0;
}
.contact-page {
    max-width: 960px;
    margin: 0 auto;
}
