/* Hiddo Tech - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --brand-purple: #36013F;
    --brand-orange: #D63F08;
    --brand-white: #FFFFFF;
    --brand-purple-light: #4a0258;
    --brand-purple-dark: #240028;
    --brand-orange-light: #e85520;
    /* Light theme (default) page tokens */
    --page-bg: #ffffff;
    --page-surface: #ffffff;
    --page-surface-alt: #faf7fb;
    --page-text: #36013F;
    --page-text-muted: #4b4650;
    --page-border: #eadfea;
    --mobile-menu-bg: #ffffff;
    --mobile-menu-color: #36013F;
    --mobile-menu-muted: #4b4650;
    --mobile-menu-border: rgba(54, 1, 63, 0.1);
}

* { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--page-text);
    overflow-x: hidden;
    background: var(--page-bg);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Outfit', sans-serif;
}

/* Announcement Bar */
#announcement-bar {
    background: var(--brand-purple);
    color: var(--brand-white);
    height: 44px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}
#announcement-bar.hidden-scroll {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.announcement-cta {
    color: var(--brand-orange);
    transition: all 0.35s ease;
}
.announcement-cta:hover {
    color: var(--brand-orange-light);
}
.announcement-cta:hover .arrow { transform: translateX(4px); }
.announcement-cta .arrow { transition: transform 0.35s ease; display: inline-block; }

/* Navigation — unified purple pill (screenshot style) */
.nav-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 60;
    padding: 0.75rem 0;
    transition: top 0.4s ease, background 0.35s ease;
    pointer-events: none;
    background: transparent;
}
.nav-header[data-has-announcement="1"] { top: 44px; }
.nav-header[data-has-announcement="1"].announcement-collapsed { top: 0; }
.nav-header .nav-bar,
.nav-header .nav-bar-logo,
.nav-header .nav-bar-actions,
.nav-header .nav-bar-menu-btn,
.nav-header .nav-bar-theme { pointer-events: auto; }

.nav-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 1024px) {
    .nav-bar {
        min-height: 3.75rem;
        padding: 0.45rem 0.65rem 0.45rem 1.25rem;
        gap: 1rem;
    }
}

/* Light theme — light nav pill + light page */
[data-theme="light"] .nav-bar {
    background: #ffffff;
    border-color: rgba(54, 1, 63, 0.1);
    box-shadow: 0 8px 28px rgba(54, 1, 63, 0.08), 0 0 0 1px rgba(54, 1, 63, 0.04) inset;
}
[data-theme="light"] body {
    background: #ffffff !important;
    color: var(--page-text);
}
[data-theme="light"] .nav-bar-link {
    color: rgba(54, 1, 63, 0.88);
}
[data-theme="light"] .nav-bar-link:hover,
[data-theme="light"] .nav-dropdown.open > .nav-bar-link {
    color: var(--brand-purple);
    background: rgba(54, 1, 63, 0.06);
}
[data-theme="light"] .nav-bar-menu-btn {
    border-color: rgba(54, 1, 63, 0.15);
    background: rgba(54, 1, 63, 0.04);
    color: var(--brand-purple);
}
[data-theme="light"] .nav-bar-menu-btn:hover {
    background: rgba(54, 1, 63, 0.08);
    border-color: rgba(54, 1, 63, 0.25);
}
[data-theme="light"] .theme-toggle-light,
[data-theme="light"] .theme-toggle-dark {
    border-color: rgba(54, 1, 63, 0.15);
    background: rgba(54, 1, 63, 0.05);
    color: var(--brand-purple);
}
[data-theme="light"] .theme-toggle-light:hover,
[data-theme="light"] .theme-toggle-dark:hover {
    background: rgba(54, 1, 63, 0.1);
    border-color: rgba(54, 1, 63, 0.28);
}
[data-theme="light"] .theme-toggle-dark svg {
    stroke: var(--brand-purple);
}
[data-theme="light"] .nav-scrolled .nav-bar {
    box-shadow: 0 12px 36px rgba(54, 1, 63, 0.12);
}

/* Dark theme — deep #240028 pill & page (preserve existing) */
[data-theme="dark"] .nav-bar {
    background: linear-gradient(135deg, #18001c 0%, #240028 60%, #240028 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] body {
    background: linear-gradient(180deg, #18001c 0%, #1f0024 100px, #240028 220px, #240028 100%);
    color: #e5e7eb;
}

.nav-bar-links {
    min-width: 0;
}

.nav-bar-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 9999px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-bar-link:hover,
.nav-dropdown.open > .nav-bar-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-bar-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}
.nav-bar-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.nav-scrolled .nav-bar {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Header spacer for fixed nav + announcement */
#header-spacer {
    height: calc(3.5rem + 1.5rem);
    background: transparent;
}
#header-spacer.has-announcement {
    height: calc(44px + 3.5rem + 1.5rem);
}
@media (min-width: 1024px) {
    #header-spacer { height: calc(4rem + 1.5rem); }
    #header-spacer.has-announcement { height: calc(44px + 4rem + 1.5rem); }
}
body.announcement-collapsed #header-spacer.has-announcement {
    height: calc(3.5rem + 1.5rem);
}
@media (min-width: 1024px) {
    body.announcement-collapsed #header-spacer.has-announcement { height: calc(4rem + 1.5rem); }
}

/* Hero Slider */
.hero-slider { position: relative; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(36,0,40,0.85), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--brand-purple);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider-btn:hover {
    background: var(--brand-orange);
    color: white;
}
.hero-slider-prev { left: 0.75rem; }
.hero-slider-next { right: 0.75rem; }
.hero-slider-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.hero-slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero-slider-dot.active {
    background: var(--brand-orange);
    transform: scale(1.25);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-orange);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--brand-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214,63,8,0.3);
}
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary .arrow { transition: transform 0.35s ease; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--brand-purple);
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--brand-purple);
    transition: all 0.35s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--brand-purple);
    color: white;
    transform: translateY(-2px);
}
.btn-secondary-white {
    border-color: white;
    color: white;
}
.btn-secondary-white:hover {
    background: white;
    color: var(--brand-purple);
}

/* Cards */
.card-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(54,1,63,0.12);
}
.card-hover:hover .card-img { transform: scale(1.05); }
.card-img {
    transition: transform 0.6s ease;
}

/* Section */
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 6rem 0; } }
@media (min-width: 1024px) { .section-padding { padding: 7rem 0; } }

.section-label {
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero — light-first (dark override below) */
.hero-gradient {
    background:
        radial-gradient(circle at 90% 10%, rgba(214, 63, 8, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 5% 90%, rgba(54, 1, 63, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #faf8fb 55%, #f7f4f8 100%);
}
[data-theme="dark"] .hero-gradient {
    background: linear-gradient(180deg, #240028 0%, #240028 3rem, transparent 3rem),
                linear-gradient(135deg, #240028 0%, #2a0132 50%, #240028 100%);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio filter */
.portfolio-filter-btn.active {
    background: var(--brand-purple);
    color: white;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}
.form-input:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(54,1,63,0.1);
}

/* Mobile menu */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 20rem;
    max-width: 85vw;
    z-index: 90;
    background: var(--mobile-menu-bg);
    color: var(--mobile-menu-color);
    box-shadow: -8px 0 30px rgba(54, 1, 63, 0.12);
    overflow-y: auto;
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}
[data-theme="light"] .mobile-menu-panel {
    background: #ffffff;
    color: #36013F;
    box-shadow: -8px 0 30px rgba(54, 1, 63, 0.12);
}
[data-theme="light"] .mobile-menu-link {
    color: rgba(54, 1, 63, 0.92);
    border-bottom-color: rgba(54, 1, 63, 0.1);
}
[data-theme="light"] .mobile-menu-sublink {
    color: rgba(54, 1, 63, 0.65);
    border-bottom-color: rgba(54, 1, 63, 0.08);
}
[data-theme="light"] .mobile-menu-group {
    border-bottom-color: rgba(54, 1, 63, 0.1);
}
[data-theme="dark"] .mobile-menu-panel {
    background: #240028;
    color: #fff;
    box-shadow: -8px 0 30px rgba(0,0,0,0.25);
}
[data-theme="dark"] .mobile-menu-link {
    color: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .mobile-menu-sublink {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .mobile-menu-group {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.mobile-menu-panel.open {
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu-panel.closed {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}
.mobile-menu-link {
    display: block;
    padding: 0.875rem 0;
    font-size: 1.0625rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
}
.mobile-menu-sublink {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.mobile-menu-sublink:hover { color: var(--brand-orange); }
.mobile-menu-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

#mobile-menu {
    transition: transform 0.4s ease, opacity 0.4s ease;
}
#mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
}
#mobile-menu.closed {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

/* Package features */
.feature-included { color: #059669; }
.feature-excluded { color: #9ca3af; text-decoration: line-through; }

/* Glass effect */
.glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Team portraits */
.team-member-card {
    padding: 1.5rem 1rem;
}
.team-portrait-wrap {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(54, 1, 63, 0.12), 0 0 0 4px rgba(54, 1, 63, 0.06);
}
.team-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.brand-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-logo--nav {
    max-height: 2.75rem;
}
@media (min-width: 1024px) {
    .brand-logo--nav { max-height: 3rem; }
}
.brand-logo--footer {
    max-height: 3.5rem;
    margin-bottom: 1rem;
}
.brand-logo--admin {
    max-height: 2.75rem;
}
.brand-logo--login {
    max-height: 5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}
.admin-sidebar { background: var(--brand-purple-dark); }
.admin-sidebar a.active { background: rgba(214,63,8,0.2); border-left: 3px solid var(--brand-orange); }

/* Services dropdown nav */
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    width: 42rem;
    max-width: 92vw;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(36, 0, 40, 0.18);
    border: 1px solid rgba(54, 1, 63, 0.08);
    padding: 1.25rem;
    z-index: 70;
}
.nav-dropdown-panel--simple {
    width: 14rem;
    left: 0;
    transform: none;
    padding: 0.35rem 0;
    border-radius: 0.75rem;
}
.nav-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-simple-list li {
    border-bottom: 1px dashed rgba(54, 1, 63, 0.12);
}
.nav-simple-list li:last-child {
    border-bottom: none;
}
.nav-simple-list a {
    display: block;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    color: #374151;
    transition: color 0.2s, background 0.2s;
}
.nav-simple-list a:hover {
    color: var(--brand-orange);
    background: rgba(54, 1, 63, 0.03);
}
.nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}
.nav-chevron {
    transition: transform 0.2s ease;
}
.nav-dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.nav-dropdown-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-orange); margin-bottom: 0.5rem; }
.nav-dropdown-col ul { list-style: none; padding: 0; margin: 0; }
.nav-dropdown-col a { display: block; padding: 0.35rem 0; font-size: 0.875rem; color: #374151; transition: color 0.2s; }
.nav-dropdown-col a:hover { color: var(--brand-orange); }
.nav-dropdown-all { display: block; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #f3f4f6; font-size: 0.875rem; font-weight: 600; color: var(--brand-purple); }

/* Service pages — Hiddo Tech unique layout */
.service-page { overflow: hidden; }
.service-page-hero {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, #faf8fb 0%, #fff 45%, #fff5f0 100%);
}
.service-page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(214, 63, 8, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(54, 1, 63, 0.08) 0%, transparent 40%);
    pointer-events: none;
}
.service-page-hero-bg::after {
    content: '';
    position: absolute;
    right: -5rem;
    top: 20%;
    width: 18rem;
    height: 18rem;
    border: 3px solid rgba(54, 1, 63, 0.06);
    border-radius: 50%;
}
.service-page-body { padding: 2.5rem 0 4rem; background: #fff; }

/* Horizontal service trail (replaces sidebar) */
.service-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.35rem;
    background: rgba(255,255,255,0.7);
    border-radius: 9999px;
    border: 1px solid rgba(54, 1, 63, 0.08);
    width: fit-content;
    max-width: 100%;
}
.service-trail-link {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.service-trail-link:hover { color: var(--brand-purple); background: rgba(54, 1, 63, 0.05); }
.service-trail-link.active {
    background: var(--brand-purple);
    color: #fff;
    box-shadow: 0 4px 14px rgba(54, 1, 63, 0.25);
}

/* Service hero */
.service-hero { margin-bottom: 0.5rem; }
.service-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
    .service-hero-grid.has-image { grid-template-columns: 1.05fr 0.95fr; }
}
.service-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-orange);
    margin-bottom: 0.75rem;
}
.service-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--brand-purple);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.service-hero-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4b5563;
    max-width: 36rem;
}
.service-hero-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}
.service-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #374151;
}
.service-hero-check {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), #e85520);
    position: relative;
}
.service-hero-check::after {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0.22rem;
    width: 0.35rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.service-hero-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(54, 1, 63, 0.15);
    transform: rotate(-1.5deg);
}
.service-hero-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.service-hero-accent {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 40%;
    height: 40%;
    background: var(--brand-orange);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.85;
}
.service-hero-visual { position: relative; }

/* Service blocks */
.service-block { margin-bottom: 4rem; }
.service-block-head { margin-bottom: 2.5rem; }

/* Package cards — unique Hiddo layout */
.ht-packages {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .ht-packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.ht-package-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(54, 1, 63, 0.1);
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ht-package-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(54, 1, 63, 0.1); }
.ht-package-card--featured {
    border-color: var(--brand-orange);
    box-shadow: 0 12px 36px rgba(214, 63, 8, 0.15);
}
.ht-package-watermark {
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(54, 1, 63, 0.04);
    line-height: 1;
    pointer-events: none;
}
.ht-package-ribbon {
    position: absolute;
    top: 1rem;
    left: -2rem;
    background: var(--brand-orange);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 2.5rem;
    transform: rotate(-45deg);
}
.ht-package-type { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-orange); margin-bottom: 0.35rem; }
.ht-package-name { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--brand-purple); margin-bottom: 0.25rem; }
.ht-package-price { font-size: 1.75rem; font-weight: 800; color: var(--brand-purple); margin-bottom: 0.75rem; }
.ht-package-desc { font-size: 0.875rem; color: #6b7280; margin-bottom: 1.25rem; line-height: 1.6; }
.ht-package-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.ht-package-features li { display: flex; gap: 0.5rem; font-size: 0.8125rem; padding: 0.4rem 0; border-bottom: 1px dashed rgba(54, 1, 63, 0.08); }
.ht-package-features li.included { color: #374151; }
.ht-package-features li.excluded { color: #9ca3af; }
.ht-package-icon { color: var(--brand-orange); font-weight: 700; flex-shrink: 0; }
.ht-package-features li.excluded .ht-package-icon { color: #d1d5db; }
.ht-package-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.875rem 1rem;
    border-radius: 9999px;
    background: var(--brand-purple);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
}
.ht-package-cta:hover { background: var(--brand-purple-light); color: #fff; }

/* Hosting plans — light branded cards */
.ht-hosting-plans {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .ht-hosting-plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
}
.ht-hosting-card {
    position: relative;
    background: linear-gradient(180deg, #fdfbff 0%, #fff 100%);
    border: 1px solid rgba(54, 1, 63, 0.12);
    border-radius: 1.5rem;
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ht-hosting-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(54, 1, 63, 0.12); }
.ht-hosting-card--featured {
    background: linear-gradient(160deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    border-color: var(--brand-orange);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 24px 48px rgba(54, 1, 63, 0.3);
}
.ht-hosting-card--featured .ht-hosting-desc,
.ht-hosting-card--featured .ht-hosting-billing { color: rgba(255,255,255,0.8); }
.ht-hosting-card--featured .ht-hosting-tag { color: var(--brand-orange); background: rgba(255,255,255,0.15); }
.ht-hosting-card--featured .ht-hosting-name,
.ht-hosting-card--featured .ht-hosting-price .amount { color: #fff; }
.ht-hosting-card--featured .ht-hosting-features li { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.15); }
.ht-hosting-card--featured .ht-hosting-index { color: rgba(255,255,255,0.08); }
.ht-hosting-save {
    position: absolute;
    top: -0.65rem;
    right: 1.25rem;
    background: var(--brand-orange);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}
.ht-hosting-index {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(54, 1, 63, 0.05);
    line-height: 1;
}
.ht-hosting-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-purple);
    background: rgba(54, 1, 63, 0.06);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.ht-hosting-name { font-family: 'Outfit', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--brand-purple); margin-bottom: 0.5rem; }
.ht-hosting-desc { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; min-height: 2.75rem; line-height: 1.5; }
.ht-hosting-price .amount { font-size: 2.25rem; font-weight: 800; color: var(--brand-purple); }
.ht-hosting-price .period { font-size: 0.875rem; color: #9ca3af; }
.ht-hosting-billing { font-size: 0.75rem; color: #9ca3af; margin: 0.25rem 0 1.25rem; }
.ht-hosting-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.ht-hosting-features { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px dashed rgba(54, 1, 63, 0.12); }
.ht-hosting-features li { display: flex; gap: 0.5rem; font-size: 0.8125rem; padding: 0.35rem 0; color: #374151; }
.ht-hosting-features li span:first-child { color: var(--brand-orange); font-weight: 700; }
.ht-hosting-card--featured .ht-hosting-features li span:first-child { color: #ffb088; }
.ht-hosting-trust { margin-top: 3rem; text-align: center; }
.ht-hosting-trust > p { color: #6b7280; font-size: 0.875rem; margin-bottom: 1.25rem; }
.ht-hosting-trust-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ht-hosting-trust-grid { grid-template-columns: repeat(3, 1fr); } }
.ht-hosting-trust-grid > div {
    background: #faf8fb;
    border: 1px solid rgba(54, 1, 63, 0.08);
    border-radius: 0.75rem;
    padding: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-purple);
}

/* Process timeline */
.service-process {
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.service-process::before {
    content: '';
    position: absolute;
    width: 12rem;
    height: 12rem;
    background: var(--brand-orange);
    opacity: 0.15;
    border-radius: 50%;
    top: -4rem;
    right: -3rem;
}
.service-process-inner { position: relative; z-index: 1; }
.service-process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .service-process-steps { grid-template-columns: repeat(4, 1fr); }
}
.service-process-steps li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
}
.service-process-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-orange);
}

/* Feature grid, mosaic, stack */
.service-feature-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .service-feature-grid { grid-template-columns: repeat(2, 1fr); } }
.service-feature-card {
    position: relative;
    padding: 1.75rem;
    padding-top: 2.5rem;
    background: #faf8fb;
    border-radius: 1rem;
    border-left: 4px solid var(--brand-orange);
}
.service-feature-index {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(54, 1, 63, 0.08);
}
.service-cards-mosaic {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .service-cards-mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-cards-mosaic { grid-template-columns: repeat(3, 1fr); } }
.service-mosaic-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(54, 1, 63, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-mosaic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(54, 1, 63, 0.1); }
.service-mosaic-card--lift { margin-top: 1.5rem; }
@media (max-width: 767px) { .service-mosaic-card--lift { margin-top: 0; } }
.service-mosaic-img { aspect-ratio: 16/10; overflow: hidden; }
.service-mosaic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-mosaic-card:hover .service-mosaic-img img { transform: scale(1.05); }
.service-mosaic-body { padding: 1.25rem; }
.service-mosaic-link { font-weight: 600; font-size: 0.875rem; color: var(--brand-orange); }
.service-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.service-stack-item {
    display: grid;
    gap: 1rem;
    padding: 1.75rem;
    background: #faf8fb;
    border-radius: 1rem;
    border: 1px solid rgba(54, 1, 63, 0.08);
}
@media (min-width: 768px) {
    .service-stack-item { grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
}
.service-stack-marker {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
}
.service-stack-list { list-style: none; padding: 0; margin: 0; }
.service-stack-list li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    font-size: 0.875rem;
    color: #4b5563;
}
.service-stack-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-orange);
}
.service-stack-highlight {
    padding: 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    color: #fff;
}
.service-cta-bar {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, #faf8fb 0%, #fff 100%);
    border-radius: 1.25rem;
    border: 1px dashed rgba(54, 1, 63, 0.15);
    margin-top: 2rem;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    font-weight: 600;
    font-size: 0.875rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5); color: #fff; }
.whatsapp-float-icon { width: 1.75rem; height: 1.75rem; }
@media (max-width: 480px) {
    .whatsapp-float-label { display: none; }
    .whatsapp-float { padding: 0.875rem; border-radius: 9999px; }
}

/* Theme toggle — inside nav pill */
.nav-bar-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-light,
.theme-toggle-dark {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.theme-toggle-light:hover,
.theme-toggle-dark:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}
.theme-toggle-light svg,
.theme-toggle-dark svg {
    width: 1.125rem;
    height: 1.125rem;
}

[data-theme="light"] .theme-toggle-dark { display: inline-flex; }
[data-theme="dark"] .theme-toggle-light { display: inline-flex; }

[data-theme="dark"] .theme-toggle-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}
[data-theme="dark"] .theme-toggle-light svg {
    stroke: #fff;
}

.theme-toggle-wrap { display: none !important; }

/* Dark theme — page content on #240028 base */
[data-theme="dark"] {
    --page-bg: #240028;
    --page-surface: #2a0132;
    --page-surface-alt: #1a0020;
    --page-text: #e5e7eb;
    --page-text-muted: #b8a8bc;
    --mobile-menu-bg: #2a0132;
    --mobile-menu-color: #f3f4f6;
    --mobile-menu-muted: #b8a8bc;
    --mobile-menu-border: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bg-white { background-color: var(--page-surface) !important; }
[data-theme="dark"] .bg-gray-50 { background-color: var(--page-surface-alt) !important; }
[data-theme="dark"] .bg-gray-100 { background-color: #22222c !important; }
[data-theme="dark"] .text-gray-600,
[data-theme="dark"] .text-gray-700,
[data-theme="dark"] .text-gray-800 { color: var(--page-text-muted) !important; }
[data-theme="dark"] .text-brand-purple { color: #fff !important; }
[data-theme="dark"] .border-gray-100,
[data-theme="dark"] .border-gray-200 { border-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .form-input {
    background: #1a1a22;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f3f4f6;
}
[data-theme="dark"] .nav-dropdown-panel {
    background: #2a0132;
    border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .nav-simple-list a { color: rgba(255, 255, 255, 0.85); }
[data-theme="dark"] .nav-simple-list a:hover { color: var(--brand-orange); background: rgba(255,255,255,0.06); }
[data-theme="dark"] .service-page-hero {
    background: linear-gradient(180deg, #36013F 0%, #2d0136 35%, #240028 100%);
}
[data-theme="dark"] .service-page-body {
    background: linear-gradient(180deg, #240028 0%, #1f0024 100%);
}
[data-theme="dark"] .service-hero-title,
[data-theme="dark"] .service-page-hero .text-brand-purple {
    color: #fff !important;
}
[data-theme="dark"] .service-hero-desc,
[data-theme="dark"] .service-hero-benefits li,
[data-theme="dark"] .service-stack-item .text-brand-purple,
[data-theme="dark"] .service-stack-item .text-gray-600,
[data-theme="dark"] .service-stack-list li,
[data-theme="dark"] .service-feature-card .text-brand-purple,
[data-theme="dark"] .service-feature-card .text-gray-600 {
    color: rgba(255, 255, 255, 0.85) !important;
}
[data-theme="dark"] .service-stack-item h2,
[data-theme="dark"] .service-feature-card h2,
[data-theme="dark"] .service-feature-card h3 {
    color: #fff !important;
}
[data-theme="dark"] .service-trail {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .service-trail-link {
    color: rgba(255, 255, 255, 0.85);
}
[data-theme="dark"] .service-trail-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .service-feature-card,
[data-theme="dark"] .service-stack-item,
[data-theme="dark"] .ht-package-card,
[data-theme="dark"] .ht-hosting-card,
[data-theme="dark"] .service-mosaic-card {
    background: var(--page-surface);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ht-hosting-card {
    background: linear-gradient(180deg, #1c1c24 0%, #1a1a22 100%);
}

/* Package / hosting cards — readable titles & prices in dark mode */
[data-theme="dark"] .ht-package-name,
[data-theme="dark"] .ht-package-price,
[data-theme="dark"] .ht-hosting-name,
[data-theme="dark"] .ht-hosting-price .amount,
[data-theme="dark"] .ht-hosting-tag,
[data-theme="dark"] .ht-hosting-trust-grid > div {
    color: #ffffff !important;
}
[data-theme="dark"] .ht-package-desc,
[data-theme="dark"] .ht-hosting-desc,
[data-theme="dark"] .ht-hosting-billing,
[data-theme="dark"] .ht-hosting-price .period,
[data-theme="dark"] .ht-hosting-trust > p {
    color: rgba(255, 255, 255, 0.7) !important;
}
[data-theme="dark"] .ht-package-features li.included,
[data-theme="dark"] .ht-hosting-features li {
    color: rgba(255, 255, 255, 0.88) !important;
}
[data-theme="dark"] .ht-package-features li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ht-package-features li.excluded {
    color: rgba(255, 255, 255, 0.4) !important;
}
[data-theme="dark"] .ht-package-watermark,
[data-theme="dark"] .ht-hosting-index {
    color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .ht-hosting-tag {
    background: rgba(255, 255, 255, 0.1) !important;
}
[data-theme="dark"] .ht-hosting-features {
    border-top-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .ht-hosting-trust-grid > div {
    background: var(--page-surface) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .ht-hosting-card--featured .ht-hosting-name,
[data-theme="dark"] .ht-hosting-card--featured .ht-hosting-price .amount {
    color: #ffffff !important;
}
[data-theme="dark"] .ht-hosting-card--featured .ht-hosting-desc,
[data-theme="dark"] .ht-hosting-card--featured .ht-hosting-billing {
    color: rgba(255, 255, 255, 0.8) !important;
}
[data-theme="dark"] .ht-hosting-card--featured .ht-hosting-features li {
    color: rgba(255, 255, 255, 0.9) !important;
}
[data-theme="dark"] .service-mosaic-body h3,
[data-theme="dark"] .service-mosaic-body .text-brand-purple {
    color: #ffffff !important;
}
[data-theme="dark"] .service-mosaic-body .text-gray-600,
[data-theme="dark"] .service-mosaic-body p {
    color: rgba(255, 255, 255, 0.7) !important;
}
[data-theme="dark"] .service-cta-bar {
    background: var(--page-surface);
    border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: #f3f4f6;
}
[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* =========================================================
   LIGHT THEME — GLOBAL (must win over Tailwind utilities)
   Dark theme rules above are preserved.
   ========================================================= */
[data-theme="light"] {
    --page-bg: #ffffff;
    --page-surface: #ffffff;
    --page-surface-alt: #faf8fb;
    --page-text: #36013F;
    --page-text-muted: #4b4650;
    --page-border: #e8e1ea;
    --mobile-menu-bg: #ffffff;
    --mobile-menu-color: #36013F;
    --mobile-menu-muted: #4b4650;
    --mobile-menu-border: rgba(54, 1, 63, 0.1);
    color-scheme: light;
}

/* ROOT: force entire canvas light */
[data-theme="light"] html,
[data-theme="light"] body,
[data-theme="light"] main,
[data-theme="light"] #header-spacer {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}
[data-theme="light"] body {
    color: #36013F !important;
}

/* Every major section defaults to light (hero + orange CTA excluded) */
[data-theme="light"] main > section:not(#hero):not(.bg-gradient-to-br),
[data-theme="light"] main > .service-page,
[data-theme="light"] .service-page-hero,
[data-theme="light"] .service-page-body {
    background-color: #ffffff !important;
    background-image: none !important;
}
[data-theme="light"] main > section.bg-gray-50,
[data-theme="light"] main > section.section-padding.bg-gray-50 {
    background-color: #faf8fb !important;
}

/* Tailwind brand purple used as PAGE backgrounds → light */
[data-theme="light"] .stats-section,
[data-theme="light"] section.bg-brand-purple,
[data-theme="light"] section.bg-brand-purple-dark,
[data-theme="light"] footer.bg-brand-purple-dark,
[data-theme="light"] footer {
    background: #faf8fb !important;
    background-color: #faf8fb !important;
    background-image: none !important;
    color: #36013F !important;
}

/* Keep intentional orange CTA band */
[data-theme="light"] main > section.bg-gradient-to-br,
[data-theme="light"] main > section.from-brand-orange,
[data-theme="light"] section.bg-gradient-to-br.from-brand-orange.to-brand-orange-light {
    background-image: linear-gradient(to bottom right, #D63F08, #e85520) !important;
    background-color: #D63F08 !important;
    color: #ffffff !important;
}

/* Surfaces / text utilities */
[data-theme="light"] .bg-white { background-color: #ffffff !important; }
[data-theme="light"] .bg-gray-50 { background-color: #faf8fb !important; }
[data-theme="light"] .bg-gray-100 { background-color: #f3eef4 !important; }
[data-theme="light"] .text-brand-purple { color: #36013F !important; }
[data-theme="light"] .text-gray-600 { color: #4b4650 !important; }
[data-theme="light"] .text-gray-700 { color: #3f3a44 !important; }
[data-theme="light"] .text-gray-800 { color: #2d2832 !important; }
[data-theme="light"] .border-gray-100 { border-color: #e8e1ea !important; }
[data-theme="light"] .border-gray-200 { border-color: #e3d6e5 !important; }

/* Hero text readable on light */
[data-theme="light"] #hero,
[data-theme="light"] .hero-gradient {
    background:
        radial-gradient(circle at 90% 10%, rgba(214, 63, 8, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 5% 90%, rgba(54, 1, 63, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #faf8fb 55%, #f7f4f8 100%) !important;
    color: #36013F !important;
}
[data-theme="light"] #hero .text-white,
[data-theme="light"] #hero h1,
[data-theme="light"] #hero h1.text-white {
    color: #36013F !important;
}
[data-theme="light"] #hero .text-white\/80,
[data-theme="light"] #hero p.text-white\/80 {
    color: rgba(54, 1, 63, 0.75) !important;
}
[data-theme="light"] #hero .glass {
    background: rgba(54, 1, 63, 0.04) !important;
    border-color: rgba(54, 1, 63, 0.1) !important;
    color: #36013F !important;
}
[data-theme="light"] #hero .btn-secondary-white {
    border-color: #36013F !important;
    color: #36013F !important;
    background: transparent !important;
}
[data-theme="light"] #hero .btn-secondary-white:hover {
    background: #36013F !important;
    color: #ffffff !important;
}

/* Text that was white on purple page bands */
[data-theme="light"] .stats-section .text-white\/80,
[data-theme="light"] section.bg-brand-purple .text-white\/80,
[data-theme="light"] section.bg-brand-purple .text-white\/70,
[data-theme="light"] section.bg-brand-purple-dark .text-white\/80,
[data-theme="light"] section.bg-brand-purple-dark .text-white\/70,
[data-theme="light"] footer .text-white\/70,
[data-theme="light"] footer .text-white\/50 {
    color: rgba(54, 1, 63, 0.7) !important;
}
[data-theme="light"] .stats-section .bg-white\/5,
[data-theme="light"] .stats-card {
    background-color: #ffffff !important;
}
[data-theme="light"] .stats-section .border-white\/10,
[data-theme="light"] section.bg-brand-purple .border-white\/10,
[data-theme="light"] footer .border-white\/10 {
    border-color: #e8e1ea !important;
}
[data-theme="light"] footer a.hover\:text-white:hover {
    color: #36013F !important;
}

/* Forms */
[data-theme="light"] .form-input {
    background: #ffffff !important;
    border-color: #e8e1ea !important;
    color: #36013F !important;
}
[data-theme="light"] .form-input::placeholder {
    color: #6b6570 !important;
}

/* Nav / dropdowns / mobile — already set earlier; reinforce */
[data-theme="light"] .nav-dropdown-panel {
    background: #ffffff !important;
    border-color: #e8e1ea !important;
}
[data-theme="light"] .nav-simple-list a {
    color: #36013F !important;
}
[data-theme="light"] .mobile-menu-panel {
    background: #ffffff !important;
    color: #36013F !important;
}
[data-theme="light"] .mobile-menu-link {
    color: #36013F !important;
    border-bottom-color: #e8e1ea !important;
}
[data-theme="light"] .mobile-menu-sublink {
    color: #4b4650 !important;
}

/* Service pages / cards */
[data-theme="light"] .service-hero-title {
    color: #36013F !important;
}
[data-theme="light"] .service-hero-desc,
[data-theme="light"] .service-hero-benefits li {
    color: #4b4650 !important;
}
[data-theme="light"] .service-trail {
    background: #ffffff !important;
    border-color: #e8e1ea !important;
}
[data-theme="light"] .service-trail-link {
    color: #4b4650 !important;
}
[data-theme="light"] .service-trail-link.active {
    background: #36013F !important;
    color: #ffffff !important;
}
[data-theme="light"] .service-feature-card,
[data-theme="light"] .service-stack-item,
[data-theme="light"] .ht-package-card,
[data-theme="light"] .ht-hosting-card:not(.ht-hosting-card--featured),
[data-theme="light"] .service-mosaic-card {
    background: #ffffff !important;
    border-color: #e8e1ea !important;
}
[data-theme="light"] .service-cta-bar {
    background: #faf8fb !important;
    border-color: #e8e1ea !important;
}
[data-theme="light"] .btn-secondary {
    border-color: #36013F !important;
    color: #36013F !important;
}
[data-theme="light"] .btn-secondary:hover {
    background: #36013F !important;
    color: #ffffff !important;
}

/* Restore small brand accent icons (not page backgrounds) */
[data-theme="light"] span.bg-brand-purple,
[data-theme="light"] a > span.bg-brand-purple,
[data-theme="light"] .w-12.h-12.bg-brand-purple,
[data-theme="light"] .w-10.h-10.bg-brand-purple {
    background-color: #36013F !important;
    color: #ffffff !important;
}

/* Announcement bar — light theme */
[data-theme="light"] #announcement-bar {
    background: #faf8fb !important;
    color: #36013F !important;
    border-bottom: 1px solid #e8e1ea;
}
[data-theme="light"] .announcement-close {
    color: rgba(54, 1, 63, 0.55) !important;
}
[data-theme="light"] .announcement-close:hover {
    color: #36013F !important;
}

/* Final overrides — beat Tailwind CDN utility backgrounds on page sections */
[data-theme="light"] section.bg-brand-purple,
[data-theme="light"] section.bg-brand-purple-dark,
[data-theme="light"] footer.bg-brand-purple-dark,
[data-theme="light"] .stats-section.bg-brand-purple-dark {
    background: #faf8fb !important;
    background-color: #faf8fb !important;
    background-image: none !important;
    color: #36013F !important;
}
[data-theme="light"] section.bg-brand-purple .text-white\/80,
[data-theme="light"] section.bg-brand-purple .text-white\/70,
[data-theme="light"] section.bg-brand-purple .text-white,
[data-theme="light"] section.bg-brand-purple-dark .text-white\/80,
[data-theme="light"] section.bg-brand-purple-dark .text-white\/70 {
    color: rgba(54, 1, 63, 0.75) !important;
}
[data-theme="light"] section.bg-brand-purple h2,
[data-theme="light"] section.bg-brand-purple h3,
[data-theme="light"] section.bg-brand-purple-dark h2 {
    color: #36013F !important;
}
[data-theme="light"] main .section-padding {
    background-color: #ffffff;
    color: #36013F;
}
[data-theme="light"] main .section-padding.bg-gray-50 {
    background-color: #faf8fb !important;
}
[data-theme="light"] footer,
[data-theme="light"] footer.bg-brand-purple-dark {
    background-color: #faf8fb !important;
    color: #36013F !important;
}
[data-theme="light"] footer h4,
[data-theme="light"] footer a,
[data-theme="light"] footer p {
    color: inherit;
}
[data-theme="light"] .ht-hosting-card--featured,
[data-theme="light"] .service-stack-highlight {
    /* Branded content cards keep original design */
}
