
:root {
    /* Color Palette */
    --primary-color: #ff5402;
    --primary-hover: #e04800;
    --secondary-color: #1e293b;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    
    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-light: #f1f5f9;
    
    /* Typography */
    --text-main: #334155;
    --text-heading: #0f172a;
    --text-light: #64748b;
    --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 75rem; /* ~1200px */
    --border-radius: 1rem;
    --border-radius-sm: 0.5rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-btn: 0 4px 14px 0 rgba(255, 84, 2, 0.39);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.site-content {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    flex: 1;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1.entry-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    /* Force override inline styles for consistency if needed, but flex handles center */
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.0625rem;
}

/* --- Card / Article Styling --- */
article {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-md);
    overflow: hidden; /* For border-radius */
}

.page-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: var(--spacing-md) 0;
}

/* --- Buttons & CTAs --- */
.btn-box {
    display: flex;
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff !important; /* Force white text over inline styles */
    border-radius: 50px;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 84, 2, 0.4);
}

.btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(255, 84, 2, 0.3);
}

/* --- Blockquotes --- */
blockquote {
    margin: var(--spacing-md) 0;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-sm);
    position: relative;
}

blockquote p {
    margin-bottom: 0;
}

blockquote.check {
    background-color: #ecfdf5;
    border-left: 5px solid var(--accent-green);
    color: #064e3b;
}

blockquote.quote {
    background-color: #eff6ff;
    border-left: 5px solid var(--accent-blue);
    color: #1e3a8a;
    font-style: italic;
}

blockquote ul {
    list-style: none;
    padding-left: 0;
}

blockquote ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

blockquote ul li::before {
    content: '•';
    color: currentColor;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Tables --- */
/* Wrapper for horizontal scroll on mobile */
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: block; /* Fallback */
}

@media (min-width: 768px) {
    .entry-content table {
        display: table;
    }
}

.entry-content table tr th,
.entry-content table tr td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e2e8f0 !important; /* Override inline styles */
}

.entry-content table thead th {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-color: var(--secondary-color) !important;
}

.entry-content table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.entry-content table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Horizontal scroll wrapper simulation if wrapper doesn't exist */
@media (max-width: 768px) {
    .entry-content {
        overflow-wrap: break-word;
    }
    table.payment-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* --- Images --- */
.entry-content img, 
.entry-content [itemprop="image"] {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
    margin: 0 auto var(--spacing-md);
}

.entry-content a:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* --- Forms (Input Placeholder styles) --- */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius-sm);
    background-color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 84, 2, 0.1);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: var(--spacing-lg) 0;
    margin-top: auto;
    font-size: 0.9rem;
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-info {
    opacity: 0.8;
}

/* --- Scroll Top Button --- */
.scrolltop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolltop::before {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(45deg);
    margin-top: 0.2rem;
}

.scrolltop.is-visible,
/* Assuming js adds a class, but setting generic hover state to visualize */
.scrolltop:hover {
    opacity: 1;
    visibility: visible;
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* --- Accessibility (Screen Reader) --- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
    }

    article {
        padding: 1.5rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .scrolltop {
        bottom: 1rem;
        right: 1rem;
    }
}
