
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
    /* Colors */
    --clr-bg: #0f1219;
    --clr-bg-card: #1a202c;
    --clr-bg-header: rgba(15, 18, 25, 0.95);
    
    --clr-text-main: #e2e8f0;
    --clr-text-muted: #94a3b8;
    
    --clr-primary: #3b82f6;
    --clr-accent: #8b5cf6;
    --clr-success: #10b981;
    
    --grad-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --grad-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    
    /* Typography */
    --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --fw-reg: 400;
    --fw-bold: 700;
    
    /* Spacing & Sizes */
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2rem;
    --gap-xl: 4rem;
    
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Effects */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* =========================================
   2. Layout & Utilities
   ========================================= */
.wrap {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

.bgall {
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

/* =========================================
   3. Header Styling
   ========================================= */
header.bgall {
    background: var(--clr-bg-header);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--gap-sm) 0;
}

.header_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Header Button */
.m_but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--clr-text-main);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.m_but:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.m_but:active {
    transform: translateY(0);
}

/* Utility classes handling (from HTML) */
.ml-auto { margin-left: auto; }
.hidden { display: none; }
@media (min-width: 768px) {
    .md\:block { display: block !important; }
}

/* =========================================
   4. Main Content Styling
   ========================================= */
.cms-content {
    padding-top: var(--gap-lg);
    padding-bottom: var(--gap-xl);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography Hierarchy */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--gap-lg);
    text-align: center;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-top: var(--gap-xl);
    margin-bottom: var(--gap-md);
    color: var(--clr-text-main);
    border-left: 4px solid var(--clr-accent);
    padding-left: var(--gap-md);
}

p {
    margin-bottom: var(--gap-md);
    font-size: 1.125rem;
    color: var(--clr-text-muted);
}

strong {
    color: var(--clr-text-main);
    font-weight: var(--fw-bold);
}

/* Images in Content */
figure.wp-block-image {
    margin: var(--gap-lg) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

figure.wp-block-image img {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

figure.wp-block-image:hover img {
    transform: scale(1.03);
}

/* Lists */
.wp-block-list {
    background: var(--clr-bg-card);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--gap-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wp-block-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text-main);
}

.wp-block-list li:last-child {
    margin-bottom: 0;
}

.wp-block-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-success);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* =========================================
   5. Interactive Elements & Buttons
   ========================================= */
.wp-block-buttons {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
    flex-wrap: wrap;
    margin: var(--gap-lg) 0;
}

.btn-box {
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--grad-primary);
    color: #fff;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--trans-smooth);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-hover);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--trans-fast);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-size-big {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

/* =========================================
   6. Footer Styling
   ========================================= */
footer.bgall {
    background: var(--clr-bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--gap-lg) 0;
    margin-top: auto;
}

.copu {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* =========================================
   7. Form Elements (Generic Support)
   ========================================= */
/* Even though not strictly in HTML, styling common inputs for consistency */
input[type="text"], 
input[type="email"], 
input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--clr-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--clr-text-main);
    font-family: inherit;
    transition: border-color var(--trans-fast);
}

input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* =========================================
   8. Responsive Adjustments
   ========================================= */
@media (max-width: 992px) {
    :root {
        --container-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --gap-lg: 1.5rem;
        --gap-xl: 2.5rem;
    }

    .header_list {
        flex-wrap: wrap;
    }

    /* Mobile Button Visibility Logic */
    .hidden.md\:block {
        display: none; 
    }
    
    /* If the button needs to be shown on mobile despite class, 
       we would override here, but respecting the class semantic implies hiding it.
       Assuming there might be a mobile menu trigger not in HTML. */

    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        border-left-width: 3px;
    }
    
    .btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .wp-block-list {
        padding: var(--gap-md);
    }
}

@media (max-width: 480px) {
    .custom-logo {
        max-height: 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
}
