
/* CSS Reset & Base Normalization */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --bg-body: #0f111a;
    --bg-surface: #1a1d29;
    --bg-accent: #24283b;
    --primary-gradient: linear-gradient(135deg, #ff9d00 0%, #ff5e00 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b3b8;
    --accent-color: #ff9d00;
    --success: #00c853;
    --error: #ff5252;
    
    /* Spacing & Borders */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1140px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-body);
    color: var(--text-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); text-align: center; margin-top: 2rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 3rem; border-left: 4px solid var(--accent-color); padding-left: 1.5rem; }

p { margin-bottom: 1.25rem; font-size: 1.1rem; }

strong { color: var(--text-primary); }

/* Layout Containers */
.wrap {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bgall {
    background-color: var(--bg-body);
    padding: 2rem 0;
}

/* Header Styling */
header.bgall {
    background-color: rgba(15, 17, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 157, 0, 0.2));
    transition: var(--transition);
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Navigation & Buttons */
.m_but, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.m_but {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.m_but:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 157, 0, 0.4);
}

.btn-size-big {
    background: var(--primary-gradient);
    color: #fff;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 15px rgba(255, 94, 0, 0.3);
}

.btn-size-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 94, 0, 0.4);
    filter: brightness(1.1);
}

.btn-size-big:active {
    transform: translateY(-1px);
}

.wp-block-buttons {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

/* Image & Media Styling */
figure.wp-block-image {
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-accent);
}

figure.wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

figure.wp-block-image:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Lists */
.wp-block-list {
    margin: 1.5rem 0 2rem 1.5rem;
    list-style: none;
}

.wp-block-list li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.wp-block-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.wp-block-list ul {
    margin-top: 0.75rem;
}

/* Tables */
.wp-block-table {
    width: 100%;
    margin: 2.5rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

th, td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

td:first-child {
    font-weight: 700;
    color: var(--text-primary);
    width: 30%;
}

/* FAQ Section Styling */
.cms-content p strong:first-child {
    display: block;
    font-size: 1.25rem;
    margin-top: 2rem;
    color: var(--accent-color);
}

/* Footer Styling */
footer.bgall {
    margin-top: 5rem;
    padding: 4rem 0;
    background-color: #08090d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copu {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cms-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }
    
    .header_list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hidden.md\:block {
        display: none !important;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; padding-left: 1rem; }
    
    .btn-size-big {
        width: 100%;
        padding: 1rem;
    }

    table {
        font-size: 0.9rem;
    }
    
    td {
        padding: 0.75rem;
    }
}

/* Micro-interactions for forms (if any added dynamically) */
input[type="text"], input[type="email"], select {
    background: var(--bg-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 157, 0, 0.2);
}
