/**
 * Walliux — Static pages (About, Contact, FAQ, Legal)
 */

/* Hero */
.static-hero {
    position: relative;
    padding: 48px 0 56px;
    overflow: hidden;
    isolation: isolate;
}

.static-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(5px) saturate(0.75);
    transform: scale(1.06);
    z-index: 0;
}

.static-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(9, 11, 20, 0.78) 0%, rgba(9, 11, 20, 0.88) 55%, rgba(9, 11, 20, 0.94) 100%),
        linear-gradient(135deg, rgba(124, 77, 255, 0.22) 0%, transparent 55%);
    backdrop-filter: blur(4px);
}

.static-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.static-hero-breadcrumb {
    margin-bottom: 18px;
}

/* Breadcrumb & text — high contrast on photo backgrounds */
.static-hero .walliux-breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.static-hero .walliux-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.static-hero .walliux-breadcrumb a:hover {
    color: #c4b5fd;
}

.static-hero .walliux-breadcrumb span {
    color: rgba(255, 255, 255, 0.95);
}

.static-hero .walliux-breadcrumb i {
    font-size: 10px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.75);
}

.static-hero-title {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.static-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* Main layout */
.static-main {
    padding: 40px 0 56px;
}

.static-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.static-content {
    min-width: 0;
}

.static-meta-line {
    font-size: 13px;
    color: var(--home-text-secondary);
    margin-bottom: 24px;
}

.static-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--home-text-secondary);
    margin-bottom: 28px;
}

.static-intro-card {
    background: rgba(18, 24, 39, 0.55);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.static-intro-card .static-lead {
    margin-bottom: 0;
}

/* Highlights (About) */
.static-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.static-highlight-card {
    background: rgba(18, 24, 39, 0.5);
    border: 1px solid var(--home-border);
    border-radius: 14px;
    padding: 20px;
}

.static-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124, 77, 255, 0.15);
    color: var(--home-primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.static-highlight-card h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--home-text);
}

.static-highlight-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--home-text-secondary);
    margin: 0;
}

/* Prose */
.static-prose {
    font-size: 15px;
    line-height: 1.75;
    color: var(--home-text-secondary);
}

.static-prose h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--home-text);
    margin: 36px 0 14px;
    letter-spacing: -0.02em;
}

.static-prose h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--home-text);
    margin: 24px 0 10px;
}

.static-prose p {
    margin-bottom: 14px;
}

.static-prose ul,
.static-prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.static-prose li {
    margin-bottom: 8px;
}

.static-prose a {
    color: var(--home-primary);
    text-decoration: none;
}

.static-prose a:hover {
    text-decoration: underline;
}

.static-prose strong {
    color: var(--home-text);
}

/* Sidebar */
.static-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.static-widget {
    background: rgba(18, 24, 39, 0.6);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 20px;
}

.static-widget-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--home-text);
}

.static-widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.static-widget-links li + li {
    margin-top: 4px;
}

.static-widget-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--home-text-secondary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.static-widget-links a i {
    color: var(--home-primary);
    font-size: 16px;
}

.static-widget-links a:hover,
.static-widget-links a.is-active {
    background: rgba(124, 77, 255, 0.1);
    color: var(--home-text);
}

.static-widget-links a.is-active {
    border: 1px solid rgba(124, 77, 255, 0.25);
}

.static-widget-help p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--home-text-secondary);
    margin: 0 0 16px;
}

.static-widget-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.static-widget-email {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--home-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.static-widget-email a {
    color: var(--home-primary);
}

/* Contact */
.static-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.static-contact-info h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--home-text);
}

.static-contact-info p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--home-text-secondary);
    margin-bottom: 24px;
}

.static-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.static-contact-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--home-border);
}

.static-contact-list li:last-child {
    border-bottom: none;
}

.static-contact-list i {
    font-size: 20px;
    color: var(--home-primary);
    margin-top: 2px;
}

.static-contact-list strong {
    display: block;
    font-size: 13px;
    color: var(--home-text);
    margin-bottom: 4px;
}

.static-contact-list a {
    color: var(--home-primary);
    font-size: 14px;
}

.static-contact-list span {
    font-size: 14px;
    color: var(--home-text-secondary);
}

/* Forms */
.static-form-card {
    background: rgba(18, 24, 39, 0.55);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 24px 28px;
}

.static-form-card-wide {
    margin-top: 28px;
}

.static-form-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--home-text);
}

.static-form-group {
    margin-bottom: 18px;
}

.static-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 8px;
}

.static-optional {
    font-weight: 400;
    color: var(--home-text-secondary);
}

.static-form-group input,
.static-form-group select,
.static-form-group textarea {
    width: 100%;
    background: rgba(9, 11, 20, 0.6);
    border: 1px solid var(--home-border);
    border-radius: 10px;
    color: var(--home-text);
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s;
}

.static-form-group input:focus,
.static-form-group select:focus,
.static-form-group textarea:focus {
    border-color: rgba(124, 77, 255, 0.5);
}

.static-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.static-form-note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--home-text-secondary);
    margin-bottom: 16px;
}

.static-form-note a {
    color: var(--home-primary);
}

.static-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Alerts */
.static-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.static-alert i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.static-alert ul {
    margin: 0;
    padding-left: 18px;
}

.static-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.static-alert-error {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fda4af;
}

/* FAQ */
.static-faq-intro {
    margin-bottom: 24px;
}

.static-faq-intro a {
    color: var(--home-primary);
}

.static-faq-list {
    border: 1px solid var(--home-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(18, 24, 39, 0.4);
}

.static-faq-item + .static-faq-item {
    border-top: 1px solid var(--home-border);
}

.static-faq-question {
    margin: 0;
}

.static-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    border: none;
    background: transparent;
    color: var(--home-text);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.static-faq-toggle:hover {
    background: rgba(255, 255, 255, 0.03);
}

.static-faq-toggle i {
    font-size: 14px;
    color: var(--home-primary);
    transition: transform 0.25s;
    flex-shrink: 0;
}

.static-faq-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

.static-faq-answer {
    padding: 0 22px 18px;
}

.static-faq-answer p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--home-text-secondary);
    margin: 0;
}

.static-faq-cta {
    margin-top: 40px;
    padding: 28px;
    text-align: center;
    background: rgba(124, 77, 255, 0.08);
    border: 1px solid rgba(124, 77, 255, 0.25);
    border-radius: 16px;
}

.static-faq-cta h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--home-text);
}

.static-faq-cta p {
    font-size: 14px;
    color: var(--home-text-secondary);
    margin: 0 0 16px;
}

.static-faq-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .static-layout {
        grid-template-columns: 1fr;
    }

    .static-sidebar {
        order: 2;
    }

    .static-highlights {
        grid-template-columns: 1fr;
    }

    .static-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .static-hero {
        padding: 32px 0 40px;
    }

    .static-form-card {
        padding: 20px;
    }
}
