﻿/* ============================================
       COLONY LANDING PAGE - DISTINCTIVE DESIGN
       Theme: "Tech-Organic" - Where AI meets intuition
       ============================================ */

:root {
    /* Primary Palette - Warm tech */
    --colony-dark: #0a0e27;
    --colony-navy: #1a2332;
    --colony-accent: #ff6b35;
    --colony-accent-bright: #ff8c61;
    --colony-teal: #00d9c0;
    --colony-teal-dark: #00a89a;
    /* Neutrals with warmth */
    --colony-off-white: #fafaf9;
    --colony-warm-gray: #f5f3f0;
    --colony-mid-gray: #a8a29e;
    --colony-text: #292524;
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a2f45 50%, #0a0e27 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    --gradient-teal: linear-gradient(135deg, #00d9c0 0%, #00ffd1 100%);
    /* Spacing */
    --space-xs: clamp(0.5rem, 2vw, 0.75rem);
    --space-sm: clamp(1rem, 3vw, 1.5rem);
    --space-md: clamp(2rem, 5vw, 3rem);
    --space-lg: clamp(3rem, 8vw, 5rem);
    --space-xl: clamp(5rem, 12vw, 8rem);
    /* Typography */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--colony-text);
    background: var(--colony-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}
/* ── Remember me ─────────────────────────────────────────────────────────── */
.remember-me {
    margin: 0.25rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap; /* ADD */
}

    .remember-me .form-check-label {
        font-size: 0.8125rem; /* slightly smaller: was 0.875rem */
        color: #adb5bd;
        cursor: pointer;
        user-select: none;
        white-space: nowrap; /* ADD — prevents wrapping */
    }

/* ── Cookie banner ───────────────────────────────────────────────────────── */
.cookie-banner {
    /* ...existing... */
    padding: 0.875rem 1.5rem; /* tighten padding slightly */
}

.cookie-banner-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem; /* was 2rem */
    flex-wrap: nowrap; /* ADD */
}

.cookie-text {
    min-width: 0; /* ADD — allows text to shrink */
}

    .cookie-text p {
        font-size: 0.8rem;
        color: #adb5bd;
        margin: 0.25rem 0 0 0;
        white-space: normal; /* keep wrapping for the paragraph */
    }

.cookie-actions {
    flex-shrink: 0; /* ADD — button never squishes */
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
/* ============================================
       HERO SECTION - BOLD STATEMENT
       ============================================ */

.colony-hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-sm);
}

    /* Animated background elements */
    .colony-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 150%;
        background: radial-gradient(circle, rgba(0, 217, 192, 0.15) 0%, transparent 70%);
        animation: float 20s ease-in-out infinite;
        pointer-events: none;
    }

    .colony-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 60%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
        animation: float 15s ease-in-out infinite reverse;
        pointer-events: none;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--colony-teal);
    margin-bottom: var(--space-sm);
    animation: slideDown 0.6s ease-out 0.2s backwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    animation: slideDown 0.6s ease-out 0.4s backwards;
}

    .hero-title .gradient-text {
        background: var(--gradient-accent);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
    }

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-bottom: var(--space-md);
    animation: slideDown 0.6s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    animation: slideDown 0.6s ease-out 0.8s backwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-colony {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
        color: white;
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--colony-teal);
        color: white;
    }

/* ============================================
       FEATURES SHOWCASE - ASYMMETRIC GRID
       ============================================ */

.features-section {
    padding: var(--space-xl) var(--space-sm);
    background: var(--colony-off-white);
    position: relative;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-eyebrow {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--colony-accent);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--colony-dark);
    letter-spacing: -0.02em;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.75rem;
    color: white;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-teal);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--colony-dark);
    margin-bottom: var(--space-xs);
}

.feature-description {
    color: var(--colony-mid-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* ============================================
       HERO PRODUCT - AI LANDING BUILDER
       ============================================ */

.hero-product-section {
    padding: var(--space-xl) var(--space-sm);
    background: var(--colony-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-product-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(0, 217, 192, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

.hero-product-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-product-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.hero-product-text .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-product-text p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.hero-product-features {
    list-style: none;
    margin: var(--space-md) 0;
}

    .hero-product-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: var(--space-sm);
        font-size: 1rem;
    }

        .hero-product-features li::before {
            content: '✓';
            color: var(--colony-teal);
            font-weight: 700;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

.hero-product-visual {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.visual-mockup {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1a2332 0%, #0a0e27 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--colony-teal);
    border: 2px solid rgba(0, 217, 192, 0.3);
}

/* ============================================
       PRODUCT SUITE GRID
       ============================================ */

.product-suite-section {
    padding: var(--space-xl) var(--space-sm);
    background: var(--colony-warm-gray);
}

.products-grid {
    max-width: 1400px;
    margin: var(--space-lg) auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .product-card:hover {
        border-color: var(--colony-accent);
        transform: translateY(-4px);
    }

.product-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card:nth-child(5) .product-badge {
    background: var(--gradient-teal);
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--colony-dark);
    margin-bottom: var(--space-xs);
}

.product-card p {
    color: var(--colony-mid-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ============================================
       CTA SECTION
       ============================================ */

.cta-section {
    padding: var(--space-xl) var(--space-sm);
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150%;
        height: 150%;
        background: radial-gradient(circle, rgba(0, 217, 192, 0.1) 0%, transparent 70%);
        animation: pulse 4s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

    .cta-content h2 {
        font-family: var(--font-display);
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
        letter-spacing: -0.02em;
    }

    .cta-content p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: var(--space-md);
    }

/* ============================================
       FOOTER
       ============================================ */

footer {
    background: var(--colony-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
}

    footer a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: var(--colony-teal);
        }

/* ============================================
       MODAL STYLING
       ============================================ */

.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-hero);
    color: white;
    border: none;
    padding: var(--space-md);
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 700;
}

.modal-body {
    padding: var(--space-md);
}

.form-label {
    font-weight: 600;
    color: var(--colony-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--colony-accent);
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    }

/* ============================================
       RESPONSIVE DESIGN
       ============================================ */

@media (max-width: 768px) {
    .hero-product-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-colony {
        width: 100%;
        justify-content: center;
    }

    .visual-mockup {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Additional Login-Specific Styles */
.login-page {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

    /* Animated background elements */
    .login-page::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 150%;
        background: radial-gradient(circle, rgba(0, 217, 192, 0.15) 0%, transparent 70%);
        animation: float 20s ease-in-out infinite;
        pointer-events: none;
    }

    .login-page::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 60%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
        animation: float 15s ease-in-out infinite reverse;
        pointer-events: none;
    }

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
/*    border: 1px solid rgba(255, 255, 255, 0.2);
*/}

.login-header {
    background: var(--gradient-accent);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

    .login-header::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--colony-teal);
    }

.logo-container {
    margin-bottom: 1rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    font-size: 0.9375rem;
}

.login-body {
    padding: 2.5rem 2rem;
}

.login-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--colony-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-floating {
    margin-bottom: 1.25rem;
}

    .form-floating .form-control {
        border-radius: 12px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 0.75rem;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

        .form-floating .form-control:focus {
            border-color: var(--colony-accent);
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
            outline: none;
        }

    .form-floating label {
        padding: 1rem 0.75rem;
        color: var(--colony-mid-gray);
        font-weight: 500;
    }

.error-message {
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid #dc2626;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .error-message::before {
        content: '⚠️';
        font-size: 1.25rem;
        flex-shrink: 0;
    }

.btn-login {
    width: 100%;
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    font-family: var(--font-body);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.powered-by {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--colony-mid-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Modal Overrides */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-hero);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
}

    .modal-body p {
        color: var(--colony-text);
        margin: 0;
        line-height: 1.6;
    }

/* Responsive */
@media (max-width: 640px) {
    .login-header {
        padding: 2rem 1.5rem;
    }

    .login-body {
        padding: 2rem 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .logo-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}
/* ── Login page layout ───────────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

/* ── Wrapper: side panel + card ─────────────────────────────────────── */
.login-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ── Left panel ─────────────────────────────────────────────────────── */
.login-panel {
    flex: 1;
    background: linear-gradient(160deg, #0d1b2e 0%, #0a2a3d 60%, #0a1f1c 100%);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

    .login-panel::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 1.5px solid rgba(0, 217, 192, 0.18);
        animation: orbitSpin 18s linear infinite;
    }

    .login-panel::after {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 107, 53, 0.15);
        animation: orbitSpin 12s linear infinite reverse;
    }

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Orbit dot */
.orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--colony-teal);
    border-radius: 50%;
    margin-left: -4px;
    box-shadow: 0 0 10px var(--colony-teal);
}

.panel-logo {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.panel-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.panel-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.panel-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .panel-features li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: rgba(255,255,255,0.75);
        font-size: 0.9rem;
        animation: fadeInUp 0.6s ease-out both;
    }

        .panel-features li:nth-child(1) {
            animation-delay: 0.35s;
        }

        .panel-features li:nth-child(2) {
            animation-delay: 0.45s;
        }

        .panel-features li:nth-child(3) {
            animation-delay: 0.55s;
        }

        .panel-features li:nth-child(4) {
            animation-delay: 0.65s;
        }

.panel-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 217, 192, 0.12);
    border: 1px solid rgba(0, 217, 192, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.panel-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.panel-stat {
    animation: fadeInUp 0.6s ease-out 0.75s both;
}

.panel-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--colony-teal);
    line-height: 1;
}

.panel-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

/* ── Login card ─────────────────────────────────────────────────────── */
.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: blur(10px);
    height: 100%;
}

/* ── Form field animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-body .form-floating:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.login-body .form-floating:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.login-body .remember-me {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.login-body .btn-login {
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

/* ── Password toggle ─────────────────────────────────────────────────── */
.password-wrapper {
    position: relative;
}

    .password-wrapper .form-floating {
        margin-bottom: 0;
    }

.password-wrapper {
    margin-bottom: 1.25rem;
}

.btn-pw-toggle {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--colony-mid-gray);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
    font-size: 1.1rem;
}

    .btn-pw-toggle:hover {
        color: var(--colony-accent);
    }

/* ── Loading spinner on btn ──────────────────────────────────────────── */
.btn-login .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 0.5rem;
}

.btn-login.loading .spinner {
    display: inline-block;
}

.btn-login.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Cookie toast (bottom-right) ─────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    left: auto;
    top: auto;
    width: 320px;
    background: #1e1e2e;
    border: 1px solid #373752;
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1rem;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: unset;
}

.cookie-text strong {
    font-size: 0.9rem;
    color: #e9ecef;
}

.cookie-text p {
    font-size: 0.775rem;
    color: #8b8fa8;
    margin: 0.3rem 0 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #7c83ff;
    text-decoration: none;
}

    .cookie-text a:hover {
        text-decoration: underline;
    }

.cookie-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-cookie-accept {
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

    .btn-cookie-accept:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

/* ── Responsive: hide panel on mobile ───────────────────────────────── */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 450px;
        border-radius: 24px;
    }

    .login-panel {
        padding: 2rem 1.5rem;
        min-width: unset;
    }

    .login-card {
        border-radius: 0;
    }

    .cookie-banner {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        width: auto;
    }

    .panel-features {
        display: none;
    }

    .panel-stat {
        display: none;
    }
}
