/* ===================================================================
   HostTripper WordPress Theme - Main Stylesheet
   =================================================================== */

/* --- CSS Custom Properties (Customizer-driven) --- */
:root {
    --ht-brand-red: #E31E33;
    --ht-brand-dark: #1A1A1A;
    --ht-brand-red-rgb: 227, 30, 51;
    --ht-brand-dark-rgb: 26, 26, 26;
    --ht-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --ht-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    --ht-radius-sm: 0.5rem;
    --ht-radius-md: 0.75rem;
    --ht-radius-lg: 1rem;
    --ht-radius-xl: 1.5rem;
    --ht-radius-2xl: 2rem;
    --ht-radius-3xl: 3rem;
    --ht-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --ht-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --ht-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --ht-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --ht-shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --ht-max-width: 80rem; /* 1280px */
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ht-font-sans);
    color: var(--ht-brand-dark);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background-color: var(--ht-brand-red);
    color: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ht-brand-red);
}

*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ht-brand-red);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    line-height: 1.7;
}

.text-brand-red { color: var(--ht-brand-red); }
.text-brand-dark { color: var(--ht-brand-dark); }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* --- Layout --- */
.ht-container {
    max-width: var(--ht-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .ht-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ht-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.ht-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--ht-brand-red);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ht-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(var(--ht-brand-red-rgb), 0.2);
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 6px 20px 0 rgba(var(--ht-brand-red-rgb), 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #fff;
    color: var(--ht-brand-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--ht-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    color: var(--ht-brand-dark);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* --- Glass Card --- */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-sm);
}

/* --- Navbar --- */
.ht-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.ht-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.ht-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--ht-brand-red);
    border-radius: var(--ht-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    font-style: italic;
}

.ht-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--ht-brand-dark);
}

.ht-logo-text .tm {
    color: var(--ht-brand-red);
}

.ht-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

@media (min-width: 768px) {
    .ht-nav-links {
        display: flex;
    }
}

.ht-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ht-brand-dark);
    transition: color 0.2s ease;
}

.ht-nav-links a:hover,
.ht-nav-links .current-menu-item > a,
.ht-nav-links .current_page_item > a {
    color: var(--ht-brand-red);
}

.ht-nav-cta {
    position: relative;
}

.ht-nav-cta .online-dot {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 0.625rem;
    height: 0.625rem;
    background-color: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Mobile Menu */
.ht-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ht-brand-dark);
}

@media (min-width: 768px) {
    .ht-mobile-toggle {
        display: none;
    }
}

.ht-mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.ht-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-mobile-menu.is-active {
    display: flex;
}

@media (min-width: 768px) {
    .ht-mobile-menu {
        display: none !important;
    }
}

.ht-mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* --- Hero Section --- */
.ht-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.ht-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--ht-brand-red), #f97316);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 14px 0 rgba(var(--ht-brand-red-rgb), 0.2);
}

.ht-hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ht-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ht-hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(var(--ht-brand-red-rgb), 0.1);
    color: var(--ht-brand-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.ht-hero h1 {
    margin-bottom: 1.5rem;
}

.ht-hero h1 .highlight {
    color: var(--ht-brand-red);
    text-decoration: underline;
    text-decoration-color: rgba(var(--ht-brand-red-rgb), 0.2);
    text-underline-offset: 8px;
}

.ht-hero-text {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 32rem;
    line-height: 1.7;
}

.ht-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ht-hero-buttons {
        flex-direction: row;
    }
}

.ht-hero-trust {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

@media (min-width: 640px) {
    .ht-hero-trust {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.ht-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ht-hero-trust-item svg {
    width: 1rem;
    height: 1rem;
    color: #22c55e;
}

/* Hero Image */
.ht-hero-image {
    position: relative;
}

.ht-hero-image::before {
    content: '';
    position: absolute;
    inset: -2rem;
    background: rgba(var(--ht-brand-red-rgb), 0.05);
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
}

.ht-hero-image img {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    animation: ht-float 3s ease-in-out infinite;
}

.ht-uptime-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--ht-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-xl);
    margin-top: 2rem;
    text-align: center;
}

.ht-uptime-badge .pulse-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #22c55e;
    animation: ht-pulse 2s ease-in-out infinite;
}

.ht-uptime-badge span {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ht-brand-dark);
}

/* --- Trust Logos --- */
.ht-trust-logos {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(249, 250, 251, 0.5);
    padding: 3rem 0;
}

.ht-trust-logos p {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ht-trust-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .ht-trust-logos-grid {
        gap: 3rem;
    }
}

.ht-trust-logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 1.5rem;
}

.ht-trust-logo-item .logo-placeholder {
    width: 3rem;
    height: 2rem;
    background: rgba(var(--ht-brand-dark-rgb), 0.1);
    border-radius: var(--ht-radius-sm);
}

.ht-trust-logo-item span {
    font-weight: 700;
    color: #374151;
}

/* --- Features Section --- */
.ht-features {
    background: #f9fafb;
}

.ht-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ht-section-header h2 {
    margin-bottom: 1rem;
}

.ht-section-header p {
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.ht-features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ht-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ht-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ht-feature-card {
    padding: 2rem;
    border-radius: var(--ht-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-sm);
    transition: all 0.3s ease;
}

.ht-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ht-shadow-xl);
}

.ht-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--ht-radius-lg);
    background: rgba(var(--ht-brand-red-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--ht-brand-red);
}

.ht-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.ht-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ht-feature-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* --- Hosting Types Section --- */
.ht-hosting-card {
    border-radius: var(--ht-radius-3xl);
    padding: 2.5rem;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

@media (min-width: 1024px) {
    .ht-hosting-card {
        padding: 5rem;
    }
}

.ht-hosting-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ht-hosting-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.ht-hosting-text {
    position: relative;
    z-index: 2;
}

.ht-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid #fee2e2;
}

.ht-hosting-text h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
}

@media (min-width: 768px) {
    .ht-hosting-text h2 {
        font-size: 3.25rem;
    }
}

.ht-hosting-text p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.ht-hosting-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ht-hosting-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    list-style-type: none !important;
}

.ht-hosting-features li svg {
    color: #10b981;
    flex-shrink: 0;
}

.ht-hosting-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.ht-platform-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.ht-platform-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 100%;
    padding: 1rem;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .ht-platform-logos {
        gap: 2rem;
    }
    .ht-platform-logo-item {
        padding: 1.5rem;
    }
}

.ht-platform-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #fee2e2;
}

.ht-platform-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Staggered Grid for interest */
.ht-platform-logo-item:nth-child(3n-1) { transform: translateY(1.5rem); }
.ht-platform-logo-item:nth-child(3n-1):hover { transform: translateY(1.1rem); }

.ht-visual-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(227, 30, 51, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

/* Image Mosaic */
.ht-image-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ht-image-mosaic .col-offset {
    padding-top: 3rem;
}

.ht-image-mosaic .mosaic-img {
    border-radius: var(--ht-radius-xl);
    overflow: hidden;
    background: rgba(var(--ht-brand-red-rgb), 0.1);
}

.ht-image-mosaic .mosaic-img.tall {
    height: 16rem;
}

.ht-image-mosaic .mosaic-img.short {
    height: 12rem;
}

.ht-image-mosaic .mosaic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.ht-image-mosaic .mosaic-img:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Regional Support Section --- */
.ht-regional {
    background: rgba(var(--ht-brand-red-rgb), 0.05);
}

.ht-region-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .ht-region-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ht-region-card {
    padding: 2rem;
    border-radius: var(--ht-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-sm);
    transition: all 0.3s ease;
}

.ht-region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ht-shadow-xl);
}

.ht-region-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ht-region-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ht-region-card > p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.ht-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ht-payment-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--ht-brand-red-rgb), 0.1);
    color: var(--ht-brand-red);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
}

/* Regional CTA Card */
.ht-regional-cta {
    background: #fff;
    border-radius: var(--ht-radius-xl);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-lg);
}

@media (min-width: 768px) {
    .ht-regional-cta {
        padding: 3rem;
    }
}

.ht-regional-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ht-regional-cta-inner {
        flex-direction: row;
    }
}

.ht-regional-cta-inner > div {
    flex: 1;
}

.ht-regional-cta h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.ht-regional-cta p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.ht-mascot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-mascot-wrapper::before {
    content: '';
    position: absolute;
    inset: -3rem;
    background: rgba(var(--ht-brand-red-rgb), 0.05);
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
}

.ht-mascot-wrapper img {
    max-width: 24rem;
    animation: ht-wave 4s ease-in-out infinite;
}

.ht-activation-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--ht-radius-lg);
    box-shadow: var(--ht-shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 16rem;
}

.ht-activation-badge-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ht-activation-badge .green-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.ht-activation-badge strong {
    font-size: 0.875rem;
    display: block;
}

.ht-activation-badge p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

/* --- Comparison Table --- */
.ht-comparison {
    background: #fff;
}

.ht-comparison-table-wrapper {
    overflow: hidden;
    border-radius: var(--ht-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--ht-shadow-xl);
}

.ht-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.ht-comparison-table thead {
    background: var(--ht-brand-dark);
    color: #fff;
}

.ht-comparison-table th {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    text-align: left;
}

.ht-comparison-table th:nth-child(2),
.ht-comparison-table th:nth-child(3),
.ht-comparison-table td:nth-child(2),
.ht-comparison-table td:nth-child(3) {
    text-align: center;
}

.ht-comparison-table th:nth-child(3) {
    color: #9ca3af;
}

.ht-comparison-table .th-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ht-comparison-table .th-brand .mini-logo {
    width: 2rem;
    height: 2rem;
    background: var(--ht-brand-red);
    border-radius: var(--ht-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

.ht-comparison-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.ht-comparison-table tbody tr:hover {
    background: #f9fafb;
}

.ht-comparison-table td {
    padding: 1.25rem 1.5rem;
    font-weight: 500;
}

.ht-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.ht-x-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
}

.ht-comparison-footer {
    margin-top: 3rem;
    text-align: center;
}

.ht-comparison-footer p {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* --- Pricing Section --- */
.ht-pricing {
    background: var(--ht-brand-dark);
    color: #fff;
}

.ht-pricing .ht-section-header h2 {
    color: #fff;
}

.ht-pricing .ht-section-header p {
    color: #9ca3af;
}

.ht-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--ht-brand-red), #f97316);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    box-shadow: 0 4px 14px 0 rgba(var(--ht-brand-red-rgb), 0.2);
}

.ht-currency-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.ht-currency-switcher-inner {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--ht-radius-lg);
    padding: 0.25rem;
}

.ht-currency-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--ht-radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #9ca3af;
    background: transparent;
}

.ht-currency-btn:hover {
    color: #fff;
}

.ht-currency-btn.active {
    background: var(--ht-brand-red);
    color: #fff;
    box-shadow: var(--ht-shadow-lg);
}

.ht-pricing-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ht-pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ht-pricing-card {
    padding: 2rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.ht-pricing-card:hover {
    transform: scale(1.02);
}

.ht-pricing-card.popular {
    border-color: var(--ht-brand-red);
}

.ht-pricing-popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ht-brand-red);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
}

.ht-pricing-header {
    margin-bottom: 1.5rem;
}

.ht-pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ht-pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.ht-pricing-amount .price {
    font-size: 2.25rem;
    font-weight: 900;
}

.ht-pricing-amount .period {
    color: #9ca3af;
}

.ht-pricing-yearly {
    font-size: 0.875rem;
    color: #6b7280;
}

.ht-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ht-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.ht-pricing-features li svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--ht-brand-red);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.ht-pricing-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: var(--ht-radius-lg);
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.ht-pricing-cta.primary {
    background: var(--ht-brand-red);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(var(--ht-brand-red-rgb), 0.2);
}

.ht-pricing-cta.primary:hover {
    background: rgba(var(--ht-brand-red-rgb), 0.9);
    color: #fff;
}

.ht-pricing-cta.secondary {
    background: #fff;
    color: var(--ht-brand-dark);
}

.ht-pricing-cta.secondary:hover {
    background: #f3f4f6;
    color: var(--ht-brand-dark);
}

/* --- Testimonials Section --- */
.ht-testimonials {
    background: #fff;
}

.ht-testimonials-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ht-testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ht-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ht-testimonial-card {
    padding: 2rem;
    border-radius: var(--ht-radius-xl);
    background: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.ht-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--ht-brand-red);
    margin-bottom: 1rem;
}

.ht-stars svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: currentColor;
}

.ht-testimonial-card blockquote {
    color: #374151;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.ht-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ht-testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.ht-testimonial-author strong {
    color: var(--ht-brand-dark);
    display: block;
}

.ht-testimonial-author small {
    font-size: 0.75rem;
    color: #6b7280;
}

/* --- FAQ Section --- */
.ht-faq {
    background: #f9fafb;
}

.ht-faq-list {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ht-faq-item {
    background: #fff;
    border-radius: var(--ht-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ht-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.ht-faq-item summary:hover {
    background: #f9fafb;
}

.ht-faq-item summary::-webkit-details-marker {
    display: none;
}

.ht-faq-item summary span:first-child {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ht-brand-dark);
    padding-right: 1rem;
}

.ht-faq-chevron {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(var(--ht-brand-red-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ht-faq-chevron svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.ht-faq-item[open] .ht-faq-chevron {
    background: var(--ht-brand-red);
    color: #fff;
}

.ht-faq-item[open] .ht-faq-chevron svg {
    transform: rotate(180deg);
}

.ht-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

/* --- CTA Section --- */
.ht-cta-section {
    background: var(--ht-brand-red);
    border-radius: var(--ht-radius-3xl);
    padding: 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .ht-cta-section {
        padding: 5rem;
    }
}

.ht-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ht-cta-section h2 {
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.15;
}

.ht-cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.ht-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .ht-cta-buttons {
        flex-direction: row;
    }
}

.ht-cta-btn-white {
    display: inline-block;
    background: #fff;
    color: var(--ht-brand-red);
    padding: 1.25rem 2.5rem;
    border-radius: var(--ht-radius-lg);
    font-weight: 900;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    box-shadow: var(--ht-shadow-2xl);
    text-align: center;
    text-decoration: none;
}

.ht-cta-btn-white:hover {
    transform: scale(1.05);
    color: var(--ht-brand-red);
}

.ht-cta-btn-dark {
    display: inline-block;
    background: var(--ht-brand-dark);
    color: #fff;
    padding: 1.25rem 2.5rem;
    border-radius: var(--ht-radius-lg);
    font-weight: 900;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    box-shadow: var(--ht-shadow-2xl);
    text-align: center;
    text-decoration: none;
}

.ht-cta-btn-dark:hover {
    transform: scale(1.05);
    color: #fff;
}

/* --- Footer --- */
.ht-footer {
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .ht-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.ht-footer-brand p {
    color: #6b7280;
    max-width: 20rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ht-footer-brand .multi-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.ht-footer-brand .multi-lang svg {
    width: 1rem;
    height: 1rem;
}

.ht-footer-col h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.ht-footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ht-footer-col ul a {
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.ht-footer-col ul a:hover {
    color: var(--ht-brand-red);
}

.ht-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .ht-footer-bottom {
        flex-direction: row;
    }
}

.ht-footer-social {
    display: flex;
    gap: 2rem;
}

.ht-footer-social a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.ht-footer-social a:hover {
    color: var(--ht-brand-red);
}

/* --- Live Chat Button --- */
.ht-live-chat {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 4rem;
    height: 4rem;
    background: var(--ht-brand-red);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(var(--ht-brand-red-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.ht-live-chat:hover {
    background: rgba(var(--ht-brand-red-rgb), 0.9);
    transform: scale(1.1);
    color: #fff;
}

.ht-live-chat:active {
    transform: scale(0.95);
}

.ht-live-chat .chat-icon {
    position: relative;
}

.ht-live-chat .chat-bubble-top {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #fff;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: none;
    margin-top: -0.5rem;
}

.ht-live-chat .chat-bubble-bottom {
    width: 1.25rem;
    height: 0.75rem;
    border: 2px solid #fff;
    border-radius: 0 0 0.5rem 0.5rem;
}

.ht-live-chat .online-dot {
    position: absolute;
    bottom: -0.25rem;
    right: -0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* --- Animations --- */
@keyframes ht-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes ht-wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes ht-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ht-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ht-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ht-animate-fade-in-up {
    animation: ht-fade-in-up 0.6s ease-out both;
}

.ht-animate-fade-in {
    animation: ht-fade-in 0.6s ease-out both;
}

/* Stagger delays */
.ht-delay-1 { animation-delay: 0.1s; }
.ht-delay-2 { animation-delay: 0.2s; }
.ht-delay-3 { animation-delay: 0.3s; }
.ht-delay-4 { animation-delay: 0.4s; }
.ht-delay-5 { animation-delay: 0.5s; }
.ht-delay-6 { animation-delay: 0.6s; }

/* --- Blog/Post Styles --- */
.ht-content-area {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.ht-blog-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ht-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ht-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ht-blog-grid.has-sidebar {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ht-blog-grid.has-sidebar {
        grid-template-columns: 2fr 1fr;
    }
}

.ht-post-card {
    border-radius: var(--ht-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--ht-shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ht-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ht-shadow-xl);
}

.ht-post-card-thumbnail {
    height: 14rem;
    overflow: hidden;
    background: #f3f4f6;
}

.ht-post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ht-post-card:hover .ht-post-card-thumbnail img {
    transform: scale(1.05);
}

.ht-post-card-body {
    padding: 1.5rem;
}

.ht-post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.ht-post-card-meta .category {
    color: var(--ht-brand-red);
    font-weight: 600;
}

.ht-post-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.ht-post-card h3 a {
    color: var(--ht-brand-dark);
    transition: color 0.2s ease;
}

.ht-post-card h3 a:hover {
    color: var(--ht-brand-red);
}

.ht-post-card p {
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ht-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ht-brand-red);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}

.ht-read-more:hover {
    color: var(--ht-brand-red);
    gap: 0.75rem;
}

.ht-read-more svg {
    width: 1rem;
    height: 1rem;
}

/* --- Single Post --- */
.ht-single-post {
    max-width: 48rem;
    margin: 0 auto;
}

.ht-single-header {
    margin-bottom: 2rem;
}

.ht-single-header .category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--ht-brand-red-rgb), 0.1);
    color: var(--ht-brand-red);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.ht-single-header h1 {
    margin-bottom: 1rem;
}

.ht-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.ht-single-meta .author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ht-single-meta .author img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.ht-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--ht-radius-xl);
    overflow: hidden;
}

.ht-featured-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.ht-post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.ht-post-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.ht-post-content h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.ht-post-content p {
    margin-bottom: 1.5rem;
}

.ht-post-content ul,
.ht-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.ht-post-content li {
    margin-bottom: 0.5rem;
}

.ht-post-content blockquote {
    border-left: 4px solid var(--ht-brand-red);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f9fafb;
    border-radius: 0 var(--ht-radius-md) var(--ht-radius-md) 0;
    font-style: italic;
    color: #4b5563;
}

.ht-post-content pre {
    background: var(--ht-brand-dark);
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: var(--ht-radius-lg);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: var(--ht-font-mono);
    font-size: 0.875rem;
}

.ht-post-content code {
    font-family: var(--ht-font-mono);
    font-size: 0.875em;
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.ht-post-content pre code {
    background: none;
    padding: 0;
}

.ht-post-content img {
    border-radius: var(--ht-radius-lg);
    margin: 1.5rem 0;
}

.ht-post-content a {
    color: var(--ht-brand-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ht-post-content a:hover {
    color: var(--ht-brand-red);
    text-decoration-color: transparent;
}

/* Post Tags */
.ht-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-post-tags a {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.ht-post-tags a:hover {
    background: var(--ht-brand-red);
    color: #fff;
}

/* Post Navigation */
.ht-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-post-nav a {
    display: block;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: var(--ht-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.ht-post-nav a:hover {
    background: #fff;
    box-shadow: var(--ht-shadow-md);
    color: var(--ht-brand-dark);
}

.ht-post-nav .nav-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.ht-post-nav .nav-title {
    font-weight: 700;
    color: var(--ht-brand-dark);
}

.ht-post-nav .next {
    text-align: right;
}

/* Comments */
.ht-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-comments h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.ht-comments .comment-list {
    list-style: none;
    padding: 0;
}

.ht-comments .comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    border-radius: var(--ht-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ht-comments .comment-author img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.ht-comments .comment-author cite {
    font-weight: 700;
    font-style: normal;
}

.ht-comments .comment-meta {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.ht-comments .comment-body p {
    color: #4b5563;
    line-height: 1.7;
}

.ht-comments .comment-reply-link {
    font-size: 0.8125rem;
    color: var(--ht-brand-red);
    font-weight: 600;
}

/* Comment Form */
.ht-comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.ht-comment-form input[type="text"],
.ht-comment-form input[type="email"],
.ht-comment-form input[type="url"],
.ht-comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--ht-radius-md);
    font-family: var(--ht-font-sans);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
    margin-bottom: 1rem;
}

.ht-comment-form input:focus,
.ht-comment-form textarea:focus {
    outline: none;
    border-color: var(--ht-brand-red);
    box-shadow: 0 0 0 3px rgba(var(--ht-brand-red-rgb), 0.1);
}

.ht-comment-form .submit {
    background: var(--ht-brand-red);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--ht-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ht-comment-form .submit:hover {
    background: rgba(var(--ht-brand-red-rgb), 0.9);
    transform: scale(1.02);
}

/* --- Sidebar --- */
.ht-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ht-widget {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: var(--ht-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ht-brand-red);
}

.ht-widget ul {
    list-style: none;
    padding: 0;
}

.ht-widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-widget li:last-child {
    border-bottom: none;
}

.ht-widget a {
    color: #4b5563;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.ht-widget a:hover {
    color: var(--ht-brand-red);
}

/* Search Widget */
.ht-search-form {
    display: flex;
    gap: 0.5rem;
}

.ht-search-form input[type="search"] {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--ht-radius-md);
    font-family: var(--ht-font-sans);
    font-size: 0.875rem;
}

.ht-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--ht-brand-red);
}

.ht-search-form button {
    background: var(--ht-brand-red);
    color: #fff;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: var(--ht-radius-md);
    cursor: pointer;
    transition: background 0.2s ease;
}

.ht-search-form button:hover {
    background: rgba(var(--ht-brand-red-rgb), 0.9);
}

/* --- Pagination --- */
.ht-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.ht-pagination a,
.ht-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--ht-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.ht-pagination a {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--ht-brand-dark);
}

.ht-pagination a:hover {
    background: var(--ht-brand-red);
    border-color: var(--ht-brand-red);
    color: #fff;
}

.ht-pagination .current {
    background: var(--ht-brand-red);
    color: #fff;
    border: 1px solid var(--ht-brand-red);
}

/* --- 404 Page --- */
.ht-404 {
    text-align: center;
    padding: 6rem 0;
}

.ht-404 h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--ht-brand-red);
    line-height: 1;
    margin-bottom: 1rem;
}

.ht-404 h2 {
    margin-bottom: 1rem;
}

.ht-404 p {
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

/* --- Page Template --- */
.ht-page-header {
    background: #f9fafb;
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ht-page-header h1 {
    margin-bottom: 0.5rem;
}

.ht-page-content {
    padding: 3rem 0;
}

/* --- WordPress Alignments --- */
.alignwide {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* --- WordPress Block Styles --- */
.wp-block-button .wp-block-button__link {
    background-color: var(--ht-brand-red);
    color: #fff;
    border-radius: var(--ht-radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: rgba(var(--ht-brand-red-rgb), 0.9);
    transform: scale(1.02);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--ht-brand-red);
    color: var(--ht-brand-red);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--ht-brand-red);
    color: #fff;
}

.wp-block-quote {
    border-left: 4px solid var(--ht-brand-red);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f9fafb;
    border-radius: 0 var(--ht-radius-md) var(--ht-radius-md) 0;
}

.wp-block-separator {
    border-color: rgba(0, 0, 0, 0.05);
}

.wp-block-separator.is-style-wide {
    border-bottom-width: 2px;
}

.wp-block-image figcaption {
    color: #6b7280;
    font-size: 0.8125rem;
    text-align: center;
    margin-top: 0.5rem;
}

.wp-block-cover {
    border-radius: var(--ht-radius-xl);
    overflow: hidden;
}

.wp-block-group {
    padding: 2rem;
}

.wp-block-columns {
    gap: 2rem;
}

/* --- Gutenberg Editor Styles --- */
.editor-styles-wrapper {
    font-family: var(--ht-font-sans);
    color: var(--ht-brand-dark);
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* --- Responsive Utilities --- */
.ht-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.ht-sr-only:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    background: var(--ht-brand-red);
    color: #fff;
    border-radius: var(--ht-radius-sm);
    font-weight: 700;
}

/* WP Admin Bar Fix */
body.admin-bar .ht-navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .ht-navbar {
        top: 46px;
    }
}
