
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* --- Root Variables & Fonts --- */
:root {
    --scout-purple: #590083;
    --heritage-purple: #9A00D6;
    --nunito: "Nunito Sans", sans-serif;
    --bg-grey: #f8f9fa;
    --transition: all 0.3s ease;
}

/* --- Base Styles --- */
body { 
    font-family: var(--nunito); 
    font-weight: 300; /* Clother Light as default */
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography Hierarchy --- */
h1, h2, h3, h4, .fw-bold { 
    font-weight: 700 !important; /* Clother Bold */
}

h1, .display-3 { 
    font-weight: 900 !important; /* Clother Black for Hero */
    font-size: clamp(2.2rem, 8vw, 4rem);
    letter-spacing: -1px;
}

h2, .display-5 { 
    font-size: clamp(1.8rem, 5vw, 2.8rem); 
}

.text-purple { color: var(--heritage-purple) !important; }
.bg-scout { background-color: var(--scout-purple) !important; }

/* --- Navigation --- */
.navbar-brand {
    font-weight: 900;
    letter-spacing: -1px;
}

/* --- Buttons --- */
.btn-scout { 
    background-color: var(--scout-purple); 
    color: white; 
    font-weight: 700; 
    padding: 12px 30px;
    border-radius: 800px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-scout-light {
    border: 1px solid var(--scout-purple) !important;
    color: var(--scout-purple);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 800px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn-scout:hover { 
    background-color: var(--heritage-purple); 
    color: white; 
}

.btn-scout-light:hover {
    border: 1px solid var(--scout-purple) !important;
    background-color: var(--scout-purple); 
    color: white; 
}

.btn-light:hover, .btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Ensure buttons are easy to press on mobile */
@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: 10px;
        padding: 14px 20px;
    }
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(89, 0, 131, 0.7), rgba(89, 0, 131, 0.7)), 
                url('/assets/img/bg.png') center center / cover no-repeat;
    border-radius: 20px;
    padding: 60px 20px;
    position: relative;
    border: none;
}

@media (min-width: 992px) {
    .hero-section {
        border-radius: 40px;
        padding: 120px 40px;
    }
}

/* Typing Effect */
.cursor {
    font-weight: 300;
    margin-left: 4px;
    display: inline-block;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    from, to { color: transparent; }
    50% { color: white; }
}

/* --- Features & Content --- */
.feature-card {
    border: 1px solid #eee;
    transition: var(--transition);
    border-radius: 12px;
}

.feature-card:hover { 
    border-color: var(--heritage-purple);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-subtitle {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 50px;
    color: #666;
}

/* --- Roadmap & AI Section --- */
.roadmap-container {
    background-color: var(--scout-purple);
    color: #fff;
    border-radius: 24px;
    padding: 40px 25px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .roadmap-container {
        border-radius: 40px;
        padding: 80px 60px;
    }
}

.coming-soon-badge {
    background-color: var(--heritage-purple) !important;
    font-weight: 700;
    font-style: italic; 
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Skeleton & AI UI Mockups */
.skeleton-ui {
    background: rgba(255,255,255,0.1);
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border-radius: 12px;
    margin: 0 auto;
}

.line { 
    height: 10px; 
    background: rgba(255,255,255,0.2); 
    margin-bottom: 10px; 
    border-radius: 5px; 
}

.line.short { width: 60%; }

.grid-skeleton { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 10px; 
    margin-top: 20px; 
}

.grid-skeleton div { 
    height: 40px; 
    background: rgba(255,255,255,0.2); 
    border-radius: 5px; 
}

/* --- Templates Grid --- */
.templates { padding: clamp(40px, 8vw, 80px) 0; background: #fff; }

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.template-thumb {
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #eee;
    transition: var(--transition);
}

.template-thumb:hover {
    transform: scale(1.02);
}

/* --- Pricing Cards --- */
.pricing-card {
    border-radius: 20px;
    border: 1px solid #eee;
    transition: var(--transition);
    background: white;
}

.pricing-card.featured {
    border: 2px solid var(--scout-purple);
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
}

/* --- Utils --- */
.max-width-700 { max-width: 700px; margin: 0 auto; }
.shadow-hover:hover { box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important; }
.transition { transition: var(--transition); }

/* Styling for the top-bar hover state */
.hover-purple:hover {
    color: var(--scout-purple) !important;
}

/* Ensure the navbar collapse looks like a clean menu on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Prevents the logo from getting squashed on tiny screens */
.navbar-brand img {
    min-width: 110px;
}

/* Custom class to be added via JavaScript */
.nav-scrolled {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; /* Bootstrap's shadow-sm */
}

/* Smooth transition for the shadow and padding */
.transition-all {
    transition: all 0.3s ease-in-out;
}

.error-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    padding-top: 80px;
}
.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900 !important;
    color: var(--scout-purple);
    line-height: 1;
    margin-bottom: 0;
    opacity: 0.2;
    position: absolute;
    z-index: -1;
}
.error-content {
    z-index: 1;
}
.compass-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Hero Content */
.coming-soon-wrapper {
    padding: 100px 0;
    min-height: 80vh;
}

.status-badge {
    background-color: rgba(89, 0, 131, 0.1);
    color: var(--scout-purple);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
}

h1 {
    font-weight: 800;
    font-size: calc(1.5rem + 3vw);
    color: #111;
    line-height: 1.1;
}

.lead-text {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 1.5rem auto 3rem;
}

/* Thinner Branding Bar */
.branding-bar {
    background-color: var(--scout-purple);
    padding: 20px 0; /* Reduced from 60px */
    margin-top: auto;
}

.branding-logo {
    max-height: 32px; /* Thinner logo */
    width: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.branding-logo:hover {
    opacity: 1;
}

.platform-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 1.5px;
    font-size: 0.65rem;
    margin-left: 15px;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
}

/* Cookie Popup Styling */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    z-index: 9999;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid #eee;
    display: none; /* Controlled by JS */
    max-width: 500px;
}

@media (min-width: 768px) {
    .cookie-popup { left: 30px; right: auto; }
}

.cookie-content { padding: 25px; }
.cookie-title { color: var(--scout-purple); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; }
.cookie-text { font-size: 0.9rem; color: #555; line-height: 1.5; margin-bottom: 20px; }

.cookie-options {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.cookie-check-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cookie-check-item:last-child { margin-bottom: 0; }
.cookie-check-label { font-size: 0.85rem; font-weight: 700; color: #333; }

/* Custom Toggle Switch */
.scout-switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.scout-switch input { opacity: 0; width: 0; height: 0; }
.scout-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: .4s; border-radius: 20px;
}
.scout-slider:before {
    position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .scout-slider { background-color: var(--scout-purple); }
input:disabled + .scout-slider { background-color: #e9ecef; cursor: not-allowed; }
input:checked + .scout-slider:before { transform: translateX(20px); }

.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie-save { background: var(--scout-purple); color: #fff; border: none; flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; }
.btn-cookie-all { background: #f3eaff; color: var(--scout-purple); border: none; flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; }