/* =====================================================
   PREMIUM MINIMAL AGENCY - Based on reference design
   Clean white, black CTAs, grid hero, code mockup
   ===================================================== */

:root {
    --pm-bg: #ffffff;
    --pm-bg-soft: #f8f9fa;
    --pm-bg-muted: #f1f3f5;
    --pm-text: #0a0a0a;
    --pm-text-muted: #5a5a5a;
    --pm-text-light: #888888;
    --pm-border: rgba(0, 0, 0, 0.08);
    --pm-border-strong: rgba(0, 0, 0, 0.15);
    --pm-black: #0a0a0a;
    --pm-white: #ffffff;
    --pm-radius: 16px;
    --pm-radius-sm: 12px;
    --pm-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --pm-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --pm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy aliases used by older page templates */
    --text-primary: #0a0a0a;
    --text-secondary: #5a5a5a;
    --text-muted: #737373;
    --bg-primary: #ffffff;
    --bg-card: #ffffff;
    --bg-secondary: #f8f8f8;
    --border-color: #e5e5e5;
}

.dark {
    /* Real dark palette when user toggles dark mode */
    --pm-bg: #0a0a0a;
    --pm-bg-soft: #141414;
    --pm-bg-muted: #1a1a1a;
    --pm-text: #fafafa;
    --pm-text-muted: #a3a3a3;
    --pm-text-light: #737373;
    --pm-border: rgba(255, 255, 255, 0.08);
    --pm-border-strong: rgba(255, 255, 255, 0.15);
    --pm-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --pm-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    color-scheme: dark;

    /* Legacy aliases used by older page templates */
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --bg-primary: #0a0a0a;
    --bg-card: #141414;
    --bg-secondary: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.08);
}

/* Base */
html, body {
    overflow-x: hidden;
}

body {
    background-color: var(--pm-bg) !important;
    color: var(--pm-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--pm-text);
}

/* Gradient text - subtle for highlighted words */
.gradient-text {
    background: linear-gradient(135deg, #d4d4d4 0%, #9a9a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

html:not(.dark) .gradient-text {
    background: linear-gradient(135deg, #e5e5e5 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - Reference style */
nav.glass-dark {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--pm-border) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important;
}

.dark nav.glass-dark {
    background: rgba(10, 10, 10, 0.95) !important;
}

nav .nav-link {
    color: var(--pm-text) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--pm-transition);
}

nav .nav-link:hover {
    color: var(--pm-text-muted) !important;
}

nav .nav-link::after {
    display: none;
}

/* Buttons - Black primary, outline secondary */
.premium-btn,
#mobile-menu a.premium-btn,
.hero-widget-section .hw-btn-primary,
.cw-btn-submit,
footer button[type="submit"] {
    background: var(--pm-black) !important;
    color: var(--pm-white) !important;
    border-radius: var(--pm-radius-sm) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    box-shadow: none !important;
    transition: var(--pm-transition) !important;
    border: 1.5px solid var(--pm-black) !important;
}

.premium-btn:hover,
.hero-widget-section .hw-btn-primary:hover,
.cw-btn-submit:hover,
footer button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--pm-shadow-lg) !important;
    opacity: 0.9 !important;
}

.premium-btn-outline,
.hero-widget-section .hw-btn-secondary {
    background: transparent !important;
    color: var(--pm-text) !important;
    border: 1.5px solid var(--pm-border-strong) !important;
    border-radius: var(--pm-radius-sm) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: var(--pm-transition) !important;
}

.premium-btn-outline:hover,
.hero-widget-section .hw-btn-secondary:hover {
    border-color: var(--pm-black) !important;
    background: var(--pm-bg-soft) !important;
}

/* Dark mode header CTA buttons */
.dark .premium-btn,
.dark #mobile-menu a.premium-btn {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border-color: #ffffff !important;
}

.dark .premium-btn:hover,
.dark #mobile-menu a.premium-btn:hover {
    background: #e5e5e5 !important;
    color: #0a0a0a !important;
    border-color: #e5e5e5 !important;
}

/* Override all colored buttons to black */
.bg-\[\#d4af37\],
.bg-\[\#b8860b\],
.bg-amber-500,
.bg-amber-600,
.bg-blue-500,
.bg-blue-600,
.bg-green-500,
.bg-emerald-500,
.bg-purple-500,
.bg-purple-600,
.bg-gradient-to-r.from-amber-600.to-yellow-500,
.bg-gradient-to-r.from-purple-500.to-pink-500,
.bg-gradient-to-r.from-purple-600.to-pink-600 {
    background: var(--pm-black) !important;
    color: var(--pm-white) !important;
    border-radius: var(--pm-radius-sm) !important;
    border: 1.5px solid var(--pm-black) !important;
    transition: var(--pm-transition) !important;
}

.bg-\[\#d4af37\]:hover,
.bg-\[\#b8860b\]:hover,
.bg-amber-500:hover,
.bg-amber-600:hover,
.bg-blue-500:hover,
.bg-blue-600:hover,
.bg-green-500:hover,
.bg-emerald-500:hover,
.bg-purple-500:hover,
.bg-purple-600:hover {
    transform: translateY(-2px);
    box-shadow: var(--pm-shadow-lg);
    opacity: 0.9;
}

/* Cards - Clean white with subtle border */
.premium-card,
.glass,
.service-card,
.project-card,
article,
.selection-card,
.testimonial-card,
.team-member,
.pricing-widget .glass,
.cards-widget .glass,
.stats-widget .glass,
.cw-info-card,
.cw-form-wrap,
.hero-widget-stat-card {
    background: var(--pm-bg) !important;
    border: 1px solid var(--pm-border) !important;
    border-radius: var(--pm-radius) !important;
    box-shadow: var(--pm-shadow) !important;
    transition: var(--pm-transition) !important;
}

.premium-card:hover,
.glass:hover,
.service-card:hover,
.project-card:hover,
article:hover,
.selection-card:hover,
.testimonial-card:hover,
.team-member:hover,
.pricing-widget .glass:hover,
.cards-widget .glass:hover,
.stats-widget .glass:hover,
.cw-info-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--pm-shadow-lg) !important;
    border-color: var(--pm-border-strong) !important;
}

/* Badges */
.premium-badge {
    background: var(--pm-bg-soft) !important;
    border: 1px solid var(--pm-border) !important;
    color: var(--pm-text-muted) !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
}

.dark .premium-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e5e5e5 !important;
}

/* Icon boxes - subtle gray */
.premium-gradient-bg,
.w-10.h-10.premium-gradient-bg,
.w-14.h-14.bg-gradient-to-r.from-amber-600.to-yellow-500,
.w-12.h-12.bg-gradient-to-r.from-amber-600.to-yellow-500,
.w-16.h-16.bg-gradient-to-r.from-amber-600.to-yellow-500,
.w-12.h-12.mx-auto.bg-gradient-to-r.from-amber-600.to-yellow-500,
.success-icon {
    background: var(--pm-bg-muted) !important;
    color: var(--pm-text) !important;
    border-radius: var(--pm-radius-sm) !important;
    box-shadow: none !important;
}

/* Hero Section - Grid background */
.hero-section {
    background: var(--pm-bg) !important;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--pm-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--pm-border) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
}

.hero-section .hero-headline {
    color: var(--pm-text) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-section .hero-headline .highlight {
    color: #d4d4d4 !important;
    font-weight: 800;
}

.hero-section .hero-subheadline {
    color: var(--pm-text-muted) !important;
}

.status-badge {
    background: var(--pm-bg) !important;
    border: 1px solid var(--pm-border-strong) !important;
    border-radius: 9999px !important;
    color: var(--pm-text) !important;
}

.status-dot {
    background: #22c55e !important;
    box-shadow: 0 0 10px #22c55e !important;
}

/* Hero Widget Section */
.hero-widget-section {
    background: var(--pm-bg) !important;
    position: relative;
}

.hero-widget-section::before {
    background-image:
        linear-gradient(var(--pm-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--pm-border) 1px, transparent 1px) !important;
    opacity: 0.6;
}

.hero-widget-section::after {
    display: none;
}

.hero-widget-badge {
    background: var(--pm-bg-soft) !important;
    border: 1px solid var(--pm-border) !important;
    color: var(--pm-text-muted) !important;
}

.hero-widget-title {
    color: var(--pm-text) !important;
}

.hero-widget-desc {
    color: var(--pm-text-muted) !important;
}

.hero-widget-stat-card {
    background: var(--pm-bg) !important;
    border: 1px solid var(--pm-border) !important;
}

.hero-widget-stat-value {
    color: var(--pm-text) !important;
}

.hero-widget-stat-label {
    color: var(--pm-text-muted) !important;
}

/* Code window mockup */
.code-window {
    background: #1e1e1e !important;
    border-radius: var(--pm-radius) !important;
    box-shadow: var(--pm-shadow-lg) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Sections */
.services-section,
.process-section,
section.py-24,
section.py-16 {
    background: var(--pm-bg) !important;
}

.services-section:nth-child(even),
.process-section:nth-child(even),
section.py-24:nth-child(even) {
    background: var(--pm-bg-soft) !important;
}

.premium-section-title {
    color: var(--pm-text) !important;
}

.premium-section-subtitle {
    color: var(--pm-text-muted) !important;
}

/* Dark CTA section */
.dark-cta {
    background: var(--pm-black) !important;
    color: var(--pm-white) !important;
}

.dark-cta h2,
.dark-cta h3,
.dark-cta p {
    color: var(--pm-white) !important;
}

/* ============================================================
   FOOTER — match reference exactly
   ============================================================ */
.pm-footer {
    background: #0a0a0a;
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.pm-footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.pm-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1100px) {
    .pm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .pm-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .pm-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.pm-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.pm-footer-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.pm-footer-desc {
    max-width: 320px;
    margin-bottom: 1.5rem;
    color: #a0a0a0;
    line-height: 1.75;
}

.pm-footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pm-footer-social {
    width: 42px;
    height: 42px;
    border-radius: 0.75rem;
    background: #1a1a1a;
    border: 1px solid #262626;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.pm-footer-social:hover {
    background: #262626;
    transform: translateY(-2px);
}

.pm-footer-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pm-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
}

.pm-badge-iso {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pm-badge-iso i {
    color: #ffffff;
}

.pm-badge-secure {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pm-badge-secure i {
    color: #10b981;
}

.pm-footer-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.pm-footer-links,
.pm-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pm-footer-links a,
.pm-footer-contact span {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.pm-footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.pm-footer-empty {
    color: #6a6a6a;
    font-style: italic;
}

.pm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pm-footer-contact i {
    width: 18px;
    flex-shrink: 0;
    margin-top: 0.3rem;
    color: #6a6a6a;
    font-size: 0.85rem;
}

.pm-footer-tags-wrap {
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.pm-footer-tags {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pm-footer-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    color: #a0a0a0;
    transition: all 0.2s ease;
}

.pm-footer-tag:hover {
    border-color: #404040;
    color: #ffffff;
}

.pm-footer-copy-wrap {
    border-top: 1px solid #1a1a1a;
}

.pm-footer-copy {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: #6a6a6a;
    font-size: 0.85rem;
}

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

.pm-footer-copy p {
    margin: 0;
}

.pm-footer-copy-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pm-footer-copy-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pm-footer-copy-links a:hover {
    color: #ffffff;
}

.pm-footer-copy-links span {
    color: #404040;
}

/* Forms */
.cw-form-input:focus,
.cw-form-textarea:focus,
.cw-form-select:focus {
    border-color: var(--pm-black) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--pm-black) !important;
    border-radius: 4px;
}

/* Mobile menu */
#mobile-menu.glass-dark {
    background: rgba(255, 255, 255, 0.98) !important;
}

.dark #mobile-menu.glass-dark {
    background: rgba(10, 10, 10, 0.98) !important;
}

#mobile-menu a,
#mobile-menu button {
    color: var(--pm-text) !important;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.text-primary-pm { color: var(--pm-text) !important; }
.text-muted-pm { color: var(--pm-text-muted) !important; }
.bg-primary-pm { background-color: var(--pm-bg) !important; }
.bg-soft-pm { background-color: var(--pm-bg-soft) !important; }

/* Override dark-hero-section to light like reference */
.dark-hero-section,
.hero-section.dark-hero-section,
.hero-section,
section.hero-section {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark-hero-section::before,
.hero-section::before,
section.hero-section::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) !important;
}

.dark-hero-section::after,
.hero-section::after,
section.hero-section::after {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%) !important;
}

.dark-hero-section .hero-title,
.dark-hero-section h1,
.dark-hero-section h2,
.hero-section .hero-title,
.hero-section h1,
.hero-section h2,
section.hero-section .hero-title,
section.hero-section h1,
section.hero-section h2 {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

.dark-hero-section .hero-breadcrumb,
.dark-hero-section .hero-breadcrumb a,
.hero-section .hero-breadcrumb,
.hero-section .hero-breadcrumb a,
section.hero-section .hero-breadcrumb,
section.hero-section .hero-breadcrumb a {
    color: #6a6a6a !important;
    -webkit-text-fill-color: #6a6a6a !important;
}

.dark-hero-section .hero-breadcrumb .current,
.dark-hero-section .hero-breadcrumb a:hover,
.hero-section .hero-breadcrumb .current,
.hero-section .hero-breadcrumb a:hover,
section.hero-section .hero-breadcrumb .current,
section.hero-section .hero-breadcrumb a:hover {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

.dark-hero-section .hero-description,
.dark-hero-section p,
.hero-section .hero-description,
.hero-section p,
section.hero-section .hero-description,
section.hero-section p {
    color: #5a5a5a !important;
    -webkit-text-fill-color: #5a5a5a !important;
}

.dark-hero-section .hero-badge,
.hero-section .hero-badge,
section.hero-section .hero-badge {
    background: #f8f9fa !important;
    border: 1px solid #e5e5e5 !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

.dark-hero-section .hero-badge i,
.hero-section .hero-badge i,
section.hero-section .hero-badge i {
    color: #0a0a0a !important;
}

.dark-hero-section .btn-primary,
.dark-hero-section .hero-buttons a:first-child,
.hero-section .btn-primary,
.hero-section .hero-buttons a:first-child,
section.hero-section .btn-primary,
section.hero-section .hero-buttons a:first-child {
    background: #0a0a0a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: var(--pm-radius-sm) !important;
}

.dark-hero-section .btn-secondary,
.dark-hero-section .hero-buttons a:last-child,
.hero-section .btn-secondary,
.hero-section .hero-buttons a:last-child,
section.hero-section .btn-secondary,
section.hero-section .hero-buttons a:last-child {
    background: #ffffff !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    border: 1.5px solid #d4d4d4 !important;
    border-radius: var(--pm-radius-sm) !important;
}

/* Dark mode variants for sub-page heroes */
.dark .dark-hero-section,
.dark .hero-section,
.dark section.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    color: #ffffff !important;
}

.dark .dark-hero-section::before,
.dark .hero-section::before,
.dark section.hero-section::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}

.dark .dark-hero-section::after,
.dark .hero-section::after,
.dark section.hero-section::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%) !important;
}

.dark .dark-hero-section .hero-title,
.dark .dark-hero-section h1,
.dark .dark-hero-section h2,
.dark .hero-section .hero-title,
.dark .hero-section h1,
.dark .hero-section h2,
.dark section.hero-section .hero-title,
.dark section.hero-section h1,
.dark section.hero-section h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.dark .dark-hero-section .hero-breadcrumb,
.dark .dark-hero-section .hero-breadcrumb a,
.dark .hero-section .hero-breadcrumb,
.dark .hero-section .hero-breadcrumb a,
.dark section.hero-section .hero-breadcrumb,
.dark section.hero-section .hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

.dark .dark-hero-section .hero-breadcrumb .current,
.dark .dark-hero-section .hero-breadcrumb a:hover,
.dark .hero-section .hero-breadcrumb .current,
.dark .hero-section .hero-breadcrumb a:hover,
.dark section.hero-section .hero-breadcrumb .current,
.dark section.hero-section .hero-breadcrumb a:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.dark .dark-hero-section .hero-description,
.dark .dark-hero-section p,
.dark .hero-section .hero-description,
.dark .hero-section p,
.dark section.hero-section .hero-description,
.dark section.hero-section p {
    color: rgba(255, 255, 255, 0.7) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
}

.dark .dark-hero-section .hero-badge,
.dark .hero-section .hero-badge,
.dark section.hero-section .hero-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f4e4bc !important;
    -webkit-text-fill-color: #f4e4bc !important;
}

.dark .dark-hero-section .btn-primary,
.dark .dark-hero-section .hero-buttons a:first-child,
.dark .hero-section .btn-primary,
.dark .hero-section .hero-buttons a:first-child,
.dark section.hero-section .btn-primary,
.dark section.hero-section .hero-buttons a:first-child {
    background: #ffffff !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

.dark .dark-hero-section .btn-secondary,
.dark .dark-hero-section .hero-buttons a:last-child,
.dark .hero-section .btn-secondary,
.dark .hero-section .hero-buttons a:last-child,
.dark section.hero-section .btn-secondary,
.dark section.hero-section .hero-buttons a:last-child {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.dark .hero-description,
.dark .hero-section p,
.dark section.hero-section p {
    color: #d4d4d4 !important;
    -webkit-text-fill-color: #d4d4d4 !important;
}

.dark .hero-breadcrumb,
.dark .hero-breadcrumb a,
.dark .hero-breadcrumb .separator {
    color: #a3a3a3 !important;
    -webkit-text-fill-color: #a3a3a3 !important;
}

.dark .hero-breadcrumb a:hover,
.dark .hero-breadcrumb .current {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ============================================================
   NEW HOMEPAGE HERO — completely rebuilt to match reference
   ============================================================ */
.pm-hero {
    position: relative;
    background: #ffffff;
    color: #0a0a0a;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.pm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 80px);
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
}

.dark .pm-hero::before {
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
}

.pm-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

@media (min-width: 1024px) {
    .pm-hero-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 4rem;
    }
}

.pm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
}

.pm-hero-badge span {
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.75rem;
}

.dark .pm-hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e5e5e5;
}

.dark .pm-hero-badge span {
    color: #ffffff;
}

html:not(.dark) .pm-hero-title,
.pm-hero-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 700;
    color: #0a0a0a !important;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.pm-hero-title em {
    font-style: normal;
    color: #f97316;
}

html:not(.dark) .pm-hero-title em {
    color: #f97316 !important;
}

.dark .pm-hero-title em {
    color: #fb923c !important;
}

html:not(.dark) .pm-hero-desc,
.pm-hero-desc {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: #333333 !important;
    max-width: 520px;
    margin-bottom: 2rem;
}

.pm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.pm-hero-actions .pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--pm-radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pm-hero-actions .pm-btn:hover {
    transform: translateY(-2px);
}

.pm-hero-actions .pm-btn-primary {
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pm-hero-actions .pm-btn-secondary {
    background: #ffffff;
    color: #0a0a0a;
    border: 1.5px solid #d4d4d4;
}

.dark .pm-hero-actions .pm-btn-primary {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 8px 24px rgba(255,255,255,0.12);
}

.dark .pm-hero-actions .pm-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.pm-hero-actions .pm-btn-outline {
    background: transparent;
    color: #0a0a0a;
    border: 1.5px solid #d4d4d4;
}

.dark .pm-hero-actions .pm-btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.pm-hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #5a5a5a;
}

.pm-hero-breadcrumb a {
    color: #5a5a5a;
    text-decoration: none;
}

.pm-hero-breadcrumb a:hover {
    color: #0a0a0a;
}

.pm-hero-breadcrumb .current {
    color: #0a0a0a;
}

.dark .pm-hero-breadcrumb,
.dark .pm-hero-breadcrumb a {
    color: #a1a1a1;
}

.dark .pm-hero-breadcrumb a:hover,
.dark .pm-hero-breadcrumb .current {
    color: #ffffff;
}

.pm-hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pm-hero-avatars {
    display: flex;
    align-items: center;
}

.pm-hero-avatars img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid var(--pm-white);
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pm-hero-avatars img:first-child {
    margin-left: 0;
}

.pm-hero-rating {
    font-size: 0.85rem;
    color: #5a5a5a;
    line-height: 1.4;
}

.pm-hero-rating strong {
    color: #0a0a0a;
    font-weight: 700;
}

.pm-hero-rating .stars {
    color: #0a0a0a;
    letter-spacing: 0.05em;
}

.dark .pm-hero-rating .stars {
    color: #ffffff;
}

.pm-hero-tech-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.5rem;
}

.pm-hero-tech-icons i {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-grid;
    place-items: center;
    background: #0a0a0a;
    color: #ffffff;
    border-radius: 0.6rem;
    font-size: 1rem;
    opacity: 1;
}

.dark .pm-hero-tech-icons i {
    background: #141414;
    color: #ffffff;
}

.pm-hero-avatars img {
    border-color: #ffffff;
}

/* Code editor mockup */
.pm-hero-visual {
    position: relative;
}

.pm-code-window {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: var(--pm-radius);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.10),
        0 8px 24px rgba(0,0,0,0.05);
    overflow: hidden;
}

.pm-code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.pm-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pm-code-dot.red { background: #ff5f57; }
.pm-code-dot.yellow { background: #febc2e; }
.pm-code-dot.green { background: #28c840; }

.pm-code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--pm-text-muted);
    font-family: var(--pm-font-body);
}

.pm-code-body {
    padding: 1.25rem;
    font-family: 'Fira Code', 'SFMono-Regular', Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #334155;
}

.pm-code-body .k { color: #7c3aed; font-weight: 600; }
.pm-code-body .f { color: #2563eb; }
.pm-code-body .s { color: #059669; }
.pm-code-body .c { color: #94a3b8; }
.pm-code-body .v { color: #0891b2; }

.dark .pm-code-window {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark .pm-code-header {
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark .pm-code-body {
    color: #d4d4d4;
}

.dark .pm-code-body .c {
    color: #6b7280;
}

.pm-code-terminal {
    font-family: 'Fira Code', 'SFMono-Regular', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #d4d4d4;
}

.pm-code-terminal .term-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pm-code-terminal .term-prompt {
    color: #60a5fa;
    font-weight: 600;
    user-select: none;
}

.pm-code-terminal .term-cmd {
    color: #d4d4d4;
}

.pm-code-terminal .term-bullet {
    color: #9ca3af;
    margin-left: 1.25rem;
    user-select: none;
}

.pm-code-terminal .term-output {
    color: #9ca3af;
}

.pm-code-terminal .term-success {
    color: #4ade80;
    margin-left: 1.25rem;
}

html:not(.dark) .pm-code-terminal {
    color: #334155;
}

html:not(.dark) .pm-code-terminal .term-prompt {
    color: #2563eb;
}

html:not(.dark) .pm-code-terminal .term-cmd,
html:not(.dark) .pm-code-terminal .term-output {
    color: #475569;
}

html:not(.dark) .pm-code-terminal .term-success {
    color: #16a34a;
}

.pm-hero-tech-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pm-hero-tech-row .tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0a0a0a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.pm-hero-tech-row .tech-badge i {
    font-size: 0.9rem;
}

.dark .pm-hero-tech-row .tech-badge {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Floating stat cards */
.pm-hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.pm-hero-stat-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: var(--pm-radius-sm);
    padding: 0.85rem 1rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dark .pm-hero-stat-card {
    background: #ffffff;
    border-color: #e5e5e5;
}

.dark .pm-hero-stat-card .pm-stat-icon {
    background: #0a0a0a;
    color: #ffffff;
}

.dark .pm-hero-stat-card .pm-stat-text strong {
    color: #0a0a0a;
}

.dark .pm-hero-stat-card .pm-stat-text span {
    color: #5a5a5a;
}

@media (max-width: 768px) {
    .pm-hero-stats-row {
        grid-template-columns: 1fr;
    }
}

.pm-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.pm-stat-icon.purple { background: #7c3aed; }
.pm-stat-icon.orange { background: #f97316; }
.pm-stat-icon.green { background: #10b981; }

.pm-hero-desc strong {
    color: #0a0a0a;
    font-weight: 700;
}

.dark .pm-hero-desc strong {
    color: #ffffff;
    font-weight: 700;
}

.pm-stat-text strong {
    display: block;
    font-size: 1rem;
    color: #0a0a0a;
    line-height: 1.1;
}

.pm-stat-text span {
    font-size: 0.75rem;
    color: #5a5a5a;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.pm-stats-strip {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 2.5rem 0;
}

.pm-stats-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .pm-stats-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pm-stat {
    text-align: center;
    padding: 1rem;
}

.pm-stat strong {
    display: block;
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #0a0a0a;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.pm-stat span {
    font-size: 0.9rem;
    color: #5a5a5a;
}

/* ============================================================
   BRAND MARQUEE — full-width, theme-aware
   ============================================================ */
.brand-marquee-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
    overflow: hidden;
}

.dark .brand-marquee-section {
    background: #0a0a0a;
    border-top-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand-marquee {
    width: 100%;
    display: flex;
    gap: 2rem;
    user-select: none;
    position: relative;
}

.brand-marquee-track {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
    min-width: 100%;
    align-items: center;
    justify-content: space-around;
    animation: scroll-marquee 25s linear infinite;
}

.brand-marquee:hover .brand-marquee-track {
    animation-play-state: paused;
}

.brand-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    color: #0a0a0a;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dark .brand-pill {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.brand-pill:hover {
    background: #f1f3f5;
    border-color: #0a0a0a;
}

.dark .brand-pill:hover {
    background: #1f1f1f;
    border-color: #ffffff;
}

.brand-pill i,
.brand-pill span {
    color: inherit;
}

.brand-pill img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-pill:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

@media (max-width: 768px) {
    .brand-marquee-track {
        animation-duration: 40s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-marquee-track {
        animation: none !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================================
   PAGE CONTENT — light theme
   ============================================================ */
.pm-page-content {
    background: #ffffff;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.pm-page-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.pm-page-body {
    color: #0a0a0a;
    font-size: 1rem;
    line-height: 1.8;
}

.pm-page-body h1,
.pm-page-body h2,
.pm-page-body h3,
.pm-page-body h4,
.pm-page-body h5,
.pm-page-body h6 {
    font-family: var(--pm-font-heading);
    color: #0a0a0a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pm-page-body h1 {
    font-size: 2rem;
}

.pm-page-body h2 {
    font-size: 1.5rem;
}

.pm-page-body h3 {
    font-size: 1.25rem;
}

.pm-page-body p {
    margin-bottom: 1.25rem;
    color: #5a5a5a;
}

.pm-page-body ul,
.pm-page-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.pm-page-body li {
    margin-bottom: 0.5rem;
    color: #5a5a5a;
}

.pm-page-body a {
    color: #0a0a0a;
    text-decoration: underline;
    font-weight: 600;
}

.pm-page-body a:hover {
    color: #262626;
}

.pm-page-body strong {
    color: #0a0a0a;
}

.dark .pm-page-content {
    background: #0a0a0a;
}

.dark .pm-page-body,
.dark .pm-page-body h1,
.dark .pm-page-body h2,
.dark .pm-page-body h3,
.dark .pm-page-body h4,
.dark .pm-page-body h5,
.dark .pm-page-body h6,
.dark .pm-page-body strong {
    color: #fafafa;
}

.dark .pm-page-body p,
.dark .pm-page-body li {
    color: #a3a3a3;
}

.dark .pm-page-body a {
    color: #ffffff;
}

.dark .pm-page-body a:hover {
    color: #d4d4d4;
}

/* ============================================================
   HERO WIDGET SECTIONS (sub-page heroes) — force light theme
   ============================================================ */
.hero-widget-section {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.hero-widget-section::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) !important;
}

.hero-widget-section::after {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%) !important;
}

.hero-widget-breadcrumb,
.hero-widget-breadcrumb a,
.hero-widget-breadcrumb .hw-sep {
    color: #6a6a6a !important;
}

.hero-widget-breadcrumb a:hover,
.hero-widget-breadcrumb .hw-current {
    color: #0a0a0a !important;
}

.hero-widget-badge {
    background: #f8f9fa !important;
    border-color: #e5e5e5 !important;
    color: #0a0a0a !important;
}

.hero-widget-badge i {
    color: #0a0a0a !important;
}

.hero-widget-title {
    color: #0a0a0a !important;
}

.hero-widget-desc {
    color: #5a5a5a !important;
}

.hero-widget-section .hw-btn-primary {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-radius: 0.65rem !important;
}

.hero-widget-section .hw-btn-primary:hover {
    background: #262626 !important;
}

.hero-widget-section .hw-btn-secondary {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: 1.5px solid #d4d4d4 !important;
    border-radius: 0.65rem !important;
}

.hero-widget-section .hw-btn-secondary:hover {
    border-color: #0a0a0a !important;
}

/* ============================================================
   GLOBAL SECTION HEADERS — override old gold/gray tags
   ============================================================ */
section .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

section .section-header .section-tag,
section .section-header .section-subtitle,
.section-header .section-subtitle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a !important;
    color: #ffffff !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-top: 25px !important;
    margin-bottom: 1rem !important;
}

section .section-header .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

section .section-header .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.pm-why-section {
    background: #f8f9fa;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.pm-why-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.pm-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .pm-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pm-why-grid {
        grid-template-columns: 1fr;
    }
}

.pm-why-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pm-why-card:hover {
    transform: translateY(-6px);
    border-color: #0a0a0a;
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.pm-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background: #0a0a0a;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.pm-why-card h3 {
    font-family: var(--pm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.pm-why-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5a5a5a;
}

/* ============================================================
   SERVICES SECTION — light, clean redesign
   ============================================================ */
.services-section {
    background: #ffffff !important;
    color: #0a0a0a;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.services-section .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.services-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.services-section .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.services-section .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.services-section .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .services-section .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-section .service-grid {
        grid-template-columns: 1fr;
    }
}

.services-section .service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.services-section .service-card:hover {
    transform: translateY(-6px);
    border-color: #0a0a0a;
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.services-section .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    background: #0a0a0a;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: transform 0.25s ease;
}

.services-section .service-card:hover .service-icon {
    transform: scale(1.05);
}

.services-section .service-title {
    font-family: var(--pm-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
}

.services-section .service-card p,
.services-section .service-card p.text-\[var\(--text-secondary\)\] {
    color: #5a5a5a !important;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.services-section .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0a0a0a;
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s ease;
}

.services-section .service-link:hover {
    gap: 0.7rem;
}

.dark .services-section .service-link {
    color: #ffffff !important;
}

/* Process section */
.process-section {
    background: #f8f9fa !important;
    color: #0a0a0a;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.process-section .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.process-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.process-section .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.process-section .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.process-section .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

@media (max-width: 1024px) {
    .process-section .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-section .process-grid {
        grid-template-columns: 1fr;
    }
}

.process-section .process-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1.25rem;
    padding: 1.75rem;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-section .process-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.process-section .process-item .process-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a0a0a;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.process-section .process-title {
    font-family: var(--pm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.process-section .process-item p,
.process-section .process-item p.text-\[var\(--text-secondary\)\] {
    color: #5a5a5a !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-section .process-line {
    display: none;
}

/* ============================================================
   PROJECTS SECTION — light, clean redesign
   ============================================================ */
.pm-projects-section {
    background: #ffffff !important;
    padding-top: clamp(4rem, 8vw, 6rem) !important;
    padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}

.pm-projects-section .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.pm-projects-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.pm-projects-section .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.pm-projects-section .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.project-card-wrap {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 1.25rem !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card-wrap:hover {
    transform: translateY(-6px);
    border-color: #0a0a0a !important;
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.project-card-wrap h3 {
    color: #0a0a0a !important;
}

.project-card-wrap h3:hover {
    color: #0a0a0a !important;
}

.project-card-wrap p,
.project-card-wrap p.text-\[var\(--text-secondary\)\] {
    color: #5a5a5a !important;
}

.project-card-wrap .mt-auto.pt-4 {
    border-color: #e5e5e5 !important;
}

.project-card-wrap span.inline-flex.items-center.gap-2 {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-radius: 0.6rem;
}

.project-card-wrap span.inline-flex.items-center.gap-2:hover {
    background: #333333 !important;
}

.pm-projects-section .text-center.mt-12 a {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: 1.5px solid #d4d4d4 !important;
    border-radius: 0.75rem !important;
    font-weight: 600;
}

.pm-projects-section .text-center.mt-12 a:hover {
    border-color: #0a0a0a !important;
}

/* ============================================================
   TESTIMONIALS & CTA — light redesign
   ============================================================ */
section.py-24.bg-white\/5.border-t {
    background: #f8f9fa !important;
    border-top: 1px solid #e5e5e5 !important;
    color: #0a0a0a;
}

section.py-24.bg-white\/5.border-t .text-center.mb-16 span {
    background: #0a0a0a;
    color: #ffffff;
    border: none;
}

section.py-24.bg-white\/5.border-t .text-center.mb-16 h2 {
    color: #0a0a0a !important;
}

section.py-24.bg-white\/5.border-t .text-center.mb-16 {
    margin-bottom: 4rem !important;
}

section.py-24.bg-white\/5.border-t .text-center.mb-16 p {
    color: #5a5a5a !important;
    margin-bottom: 0;
}

section.py-24.bg-white\/5.border-t .glass {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 1.25rem;
    color: #0a0a0a;
}

section.py-24.bg-white\/5.border-t .glass p {
    color: #5a5a5a !important;
}

section.py-24.bg-white\/5.border-t .glass .text-gray-300 {
    color: #5a5a5a !important;
}

section.py-24.bg-white\/5.border-t .glass .text-white {
    color: #0a0a0a !important;
}

section.py-24.bg-white\/5.border-t .glass .text-amber-500 {
    color: #0a0a0a !important;
}

section.py-24.bg-white\/5.border-t .glass .w-10.h-10.rounded-full {
    background: #f1f3f5 !important;
    color: #0a0a0a !important;
}

section.py-24.bg-white\/5.border-t .glass .text-xs.text-gray-500 {
    color: #888888 !important;
}

.pm-cta-section {
    background: #ffffff !important;
    color: #0a0a0a;
    padding: 5rem 0;
}

.pm-cta-section .pm-cta-card {
    background: #0a0a0a !important;
    color: #ffffff;
    border-radius: 1.5rem !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 1100px !important;
    position: relative !important;
    overflow: hidden !important;
}

.pm-cta-section h2 {
    color: #ffffff !important;
    padding-top: 15px;
}

.pm-cta-section p {
    color: #a0a0a0 !important;
}

.pm-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
    text-decoration: none;
}

@media (min-width: 640px) {
    .pm-cta-btn {
        width: auto;
    }
}

.pm-cta-btn:hover {
    transform: translateY(-2px);
}

.pm-cta-btn-primary {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: none;
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.pm-cta-btn-primary:hover {
    background: #f1f3f5 !important;
}

.pm-cta-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
}

.pm-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* ============================================================
   UNIFIED CTA SECTION — sub-page CTAs match homepage style
   ============================================================ */
.cta-section {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 1.5rem !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    margin: 0 0 4rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.cta-section::before,
.cta-section::after {
    display: none !important;
}

.cta-section .cta-title,
.cta-section h2,
.cta-section h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding-top: 15px;
    margin-bottom: 1rem;
}

.cta-section .cta-description,
.cta-section p {
    color: #a0a0a0 !important;
    -webkit-text-fill-color: #a0a0a0 !important;
    margin-bottom: 2rem;
}

.cta-section .cta-buttons,
.cta-section .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary,
.cta-section .cta-buttons a:first-child,
.cta-section .hero-buttons a:first-child {
    background: #ffffff !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta-section .btn-primary:hover,
.cta-section .cta-buttons a:first-child:hover,
.cta-section .hero-buttons a:first-child:hover {
    background: #f1f3f5 !important;
    transform: translateY(-2px);
}

.cta-section .btn-secondary,
.cta-section .cta-buttons a:last-child,
.cta-section .hero-buttons a:last-child {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    border-radius: 0.75rem !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta-section .btn-secondary:hover,
.cta-section .cta-buttons a:last-child:hover,
.cta-section .hero-buttons a:last-child:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: translateY(-2px);
}

/* Homepage CTA spacing so it doesn't merge with dark footer */
.pm-cta-section {
    margin-bottom: 4rem !important;
}

/* ============================================================
   TEKLIF PAGE OVERRIDES — black instead of gold, light cards
   ============================================================ */
.quote-page .hero-title-new .highlight,
.quote-page .hero-title-new span {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #0a0a0a !important;
    color: #0a0a0a !important;
}

.quote-page .hero-badge-new {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #0a0a0a !important;
}

.quote-page .social-proof-bar {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.quote-page .proof-dot {
    background-color: #0a0a0a !important;
}

.quote-page .trust-card-mini {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.quote-page .trust-card-mini:hover {
    border-color: #0a0a0a !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.quote-page .trust-card-mini .val {
    color: #0a0a0a !important;
}

.quote-page .form-card {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
}

.quote-page .form-card:hover {
    border-color: #0a0a0a !important;
}

.quote-page .step-indicator.active .step-circle {
    background: #0a0a0a !important;
    border-color: #0a0a0a !important;
    color: #ffffff !important;
}

.quote-page .step-indicator.active .step-label {
    color: #0a0a0a !important;
}

.quote-page .step-indicator.completed .step-circle {
    background: #525252 !important;
    border-color: #525252 !important;
    color: #ffffff !important;
}

.quote-page .step-indicator.completed .step-label {
    color: #525252 !important;
}

.quote-page .progress-fill {
    background: #0a0a0a !important;
}

.quote-page .step-circle {
    background: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: #5a5a5a !important;
}

.quote-page .stars {
    color: #0a0a0a !important;
}

.quote-page .cta-section {
    margin: 4rem 0 !important;
}

/* ============================================================
   FAQ SECTION — light redesign
   ============================================================ */
section#sss {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) 0 !important;
}

section#sss .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

section#sss .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

section#sss .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

section#sss .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

section#sss .faq-item {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 1rem !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

section#sss .faq-item:hover {
    border-color: #d4d4d4 !important;
}

section#sss .faq-question span {
    color: #0a0a0a !important;
}

section#sss .faq-question i {
    color: #0a0a0a !important;
}

section#sss .faq-answer {
    border-top: 1px solid #e5e5e5 !important;
}

section#sss .faq-answer p {
    color: #5a5a5a !important;
}

section#sss .text-center.mt-8 a {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: 1.5px solid #d4d4d4 !important;
    border-radius: 0.75rem !important;
}

section#sss .text-center.mt-8 a:hover {
    border-color: #0a0a0a !important;
}

/* Dark mode FAQ overrides */
.dark section#sss .section-tag {
    background: #141414;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark section#sss .section-title {
    color: #ffffff !important;
}

.dark section#sss .section-desc {
    color: #a3a3a3 !important;
}

.dark section#sss .faq-item {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark section#sss .faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.dark section#sss .faq-question span,
.dark section#sss .faq-question i {
    color: #ffffff !important;
}

.dark section#sss .faq-answer {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark section#sss .faq-answer p {
    color: #d4d4d4 !important;
}

section#sss .text-center.mt-8 a i {
    color: #0a0a0a !important;
}

/* ============================================================
   BLOG SECTION — light redesign
   ============================================================ */
.pm-blog-section {
    background: #f8f9fa !important;
    padding: clamp(4rem, 8vw, 6rem) 0 !important;
}

.pm-blog-section .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.pm-blog-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.pm-blog-section .section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.pm-blog-section .section-desc {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.pm-blog-section article.bg-\[var\(--bg-card\)\] {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 1.25rem !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pm-blog-section article.bg-\[var\(--bg-card\)\]:hover {
    transform: translateY(-6px);
    border-color: #0a0a0a !important;
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.pm-blog-section article .absolute.top-4.left-4 span {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

.pm-blog-section article h3,
.pm-blog-section article h3 a {
    color: #0a0a0a !important;
}

.pm-blog-section article h3 a:hover {
    color: #0a0a0a !important;
}

.pm-blog-section article p {
    color: #5a5a5a !important;
}

.pm-blog-section article .text-xs.text-\[var\(--text-muted\)\] {
    color: #888888 !important;
}

.pm-blog-section article a.text-\[\#d4af37\] {
    color: #0a0a0a !important;
    font-weight: 600;
    text-decoration: none;
}

.pm-blog-section article a.text-\[\#d4af37\]:hover {
    text-decoration: underline;
}

/* ============================================================
   GLOBAL GOLD-TO-BLACK OVERRIDE (light mode only)
   Project status badges use gradient backgrounds + text-white,
   so they remain colored. Everything else turns black.
   ============================================================ */
html:not(.dark) .text-amber-500,
html:not(.dark) .text-amber-400,
html:not(.dark) .text-amber-600,
html:not(.dark) .text-yellow-500,
html:not(.dark) .text-yellow-400,
html:not(.dark) .text-yellow-600,
html:not(.dark) .text-\[\#d4af37\],
html:not(.dark) .text-\[\#b8860b\],
html:not(.dark) .text-\[\#f4e4bc\] {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

html:not(.dark) .stat-value {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

html:not(.dark) .stat-label {
    color: #5a5a5a !important;
    -webkit-text-fill-color: #5a5a5a !important;
}

/* Force Tailwind gray text colors to be dark enough on light backgrounds */
html:not(.dark) .text-gray-300 {
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
}

html:not(.dark) .text-gray-400,
html:not(.dark) .text-gray-500 {
    color: #5a5a5a !important;
    -webkit-text-fill-color: #5a5a5a !important;
}

html:not(.dark) .text-gray-600,
html:not(.dark) .text-gray-700,
html:not(.dark) .text-gray-800 {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

/* Ensure gray text without dark: variant stays readable in dark mode */
.dark .text-gray-600,
.dark .text-gray-700,
.dark .text-gray-800 {
    color: #d4d4d4 !important;
    -webkit-text-fill-color: #d4d4d4 !important;
}

.dark .pm-hero {
    background: #0a0a0a !important;
    color: #fafafa !important;
}

.dark .pm-hero-title,
.dark .pm-hero h1,
.dark .pm-hero h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.dark .pm-hero-desc,
.dark .pm-hero p {
    color: #d4d4d4 !important;
    -webkit-text-fill-color: #d4d4d4 !important;
}

.dark .pm-hero-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e5e5e5 !important;
}

.dark .pm-services-section,
.dark .pm-projects-section,
.dark .pm-blog-section,
.dark .pm-page-content,
.dark .quote-page {
    background: #0a0a0a !important;
    color: #fafafa !important;
}

.dark .pm-services-section .section-title,
.dark .pm-projects-section .section-title,
.dark .pm-blog-section .section-title,
.dark .pm-page-body h1,
.dark .pm-page-body h2,
.dark .pm-page-body h3,
.dark .pm-page-body strong {
    color: #ffffff !important;
}

.dark .pm-services-section .section-desc,
.dark .pm-projects-section .section-desc,
.dark .pm-blog-section .section-desc,
.dark .pm-page-body p,
.dark .pm-page-body li {
    color: #d4d4d4 !important;
}

.dark .service-card,
.dark .pm-service-card,
.dark .pm-project-card,
.dark .pm-blog-section article.bg-\[var\(--bg-card\)\] {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark .service-card:hover,
.dark .pm-service-card:hover,
.dark .pm-project-card:hover,
.dark .pm-blog-section article.bg-\[var\(--bg-card\)\]:hover {
    border-color: #ffffff !important;
}

.dark .service-card p,
.dark .service-card p.text-\[var\(--text-secondary\)\],
.dark .pm-service-card p,
.dark .pm-project-card p,
.dark .pm-blog-section article p,
.dark .pm-testimonial-card p {
    color: #d4d4d4 !important;
}

.dark .service-card h3,
.dark .service-title,
.dark .pm-service-card h3,
.dark .pm-project-card h3,
.dark .pm-blog-section article h3,
.dark .pm-blog-section article h3 a {
    color: #ffffff !important;
}

.dark .pm-blog-section article .text-xs.text-\[var\(--text-muted\)\] {
    color: #a3a3a3 !important;
}

.dark .pm-blog-section article a.text-\[\#d4af37\] {
    color: #ffffff !important;
}

.dark .services-section .service-icon {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark .pm-hero-desc strong {
    color: #ffffff !important;
}

.dark .process-section .process-item p {
    color: #d4d4d4 !important;
}

.dark .pm-why-card p {
    color: #d4d4d4 !important;
}

.dark .project-card-wrap .absolute.bottom-0 a span.inline-flex,
.dark .project-card-wrap a span.inline-flex,
.dark .project-card-wrap .inline-flex.items-center.gap-2.px-4.py-2 {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border: 1px solid #0a0a0a !important;
}

.dark .project-card-wrap .absolute.bottom-0 a span.inline-flex:hover,
.dark .project-card-wrap a span.inline-flex:hover,
.dark .project-card-wrap .inline-flex.items-center.gap-2.px-4.py-2:hover {
    background: #333333 !important;
    border-color: #333333 !important;
}

/* Project detail page - theme-aware overrides */
.pm-project-detail {
    color: var(--pm-text);
}

.pm-project-detail h1,
.pm-project-detail h2,
.pm-project-detail h3 {
    color: var(--pm-text);
}

.dark .pm-project-detail h1,
.dark .pm-project-detail h2,
.dark .pm-project-detail h3 {
    color: #ffffff;
}

.pm-project-detail .glass .text-white {
    color: var(--pm-text);
}

.dark .pm-project-detail .glass .text-white {
    color: #ffffff;
}

.pm-project-detail .text-gray-300,
.pm-project-detail .text-gray-400 {
    color: var(--pm-text-muted);
}

.pm-project-detail .glass {
    background: var(--pm-white) !important;
    border-color: var(--pm-border) !important;
}

.dark .pm-project-detail .glass {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.pm-project-detail .bg-gradient-to-r.from-gray-700.to-gray-900,
.pm-project-detail .bg-gradient-to-r.from-gray-800.to-gray-900 {
    background: #0a0a0a !important;
}

.dark .pm-project-detail .bg-gradient-to-r.from-gray-700.to-gray-900,
.dark .pm-project-detail .bg-gradient-to-r.from-gray-800.to-gray-900 {
    background: #1f1f1f !important;
}

/* Icon boxes (divs with gradient) - green in both modes */
.pm-project-detail div.bg-gradient-to-r.from-gray-700.to-gray-900,
.pm-project-detail div.bg-gradient-to-r.from-gray-800.to-gray-900 {
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
}

.dark .pm-project-detail div.bg-gradient-to-r.from-gray-700.to-gray-900,
.dark .pm-project-detail div.bg-gradient-to-r.from-gray-800.to-gray-900 {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.pm-project-detail div.bg-gradient-to-r .text-white {
    color: #16a34a !important;
}

.dark .pm-project-detail div.bg-gradient-to-r .text-white {
    color: #22c55e !important;
}

/* Buttons and badges with gradient - always dark with white text */
.pm-project-detail a.bg-gradient-to-r,
.pm-project-detail span.bg-gradient-to-r {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

.pm-project-detail a.bg-gradient-to-r *,
.pm-project-detail span.bg-gradient-to-r * {
    color: #ffffff !important;
}

.dark .pm-project-detail a.bg-gradient-to-r,
.dark .pm-project-detail span.bg-gradient-to-r {
    background: #1f1f1f !important;
}

/* Prose content inside project detail */
.pm-project-detail .prose {
    color: var(--pm-text) !important;
}

.pm-project-detail .prose h1,
.pm-project-detail .prose h2,
.pm-project-detail .prose h3,
.pm-project-detail .prose h4,
.pm-project-detail .prose h5,
.pm-project-detail .prose h6,
.pm-project-detail .prose p,
.pm-project-detail .prose li,
.pm-project-detail .prose strong,
.pm-project-detail .prose a {
    color: var(--pm-text) !important;
}

.dark .pm-project-detail .prose,
.dark .pm-project-detail .prose h1,
.dark .pm-project-detail .prose h2,
.dark .pm-project-detail .prose h3,
.dark .pm-project-detail .prose h4,
.dark .pm-project-detail .prose h5,
.dark .pm-project-detail .prose h6,
.dark .pm-project-detail .prose p,
.dark .pm-project-detail .prose li,
.dark .pm-project-detail .prose strong {
    color: #d4d4d4 !important;
}

.dark .pm-project-detail .prose a {
    color: #ffffff !important;
}

.dark .project-card-wrap h3,
.dark .project-card-wrap:hover h3,
.dark .project-card-wrap.group:hover h3 {
    color: #0a0a0a !important;
}

/* ============================================================
   GREEN ICONS — single color across all pages
   ============================================================ */
.service-icon,
.pm-why-icon,
.feature-icon,
.why-icon-container,
.info-icon-wrap,
.pm-info-icon,
.pm-process-icon {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #16a34a !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
}

.dark .service-icon,
.dark .pm-why-icon,
.dark .feature-icon,
.dark .why-icon-container,
.dark .info-icon-wrap,
.dark .pm-info-icon,
.dark .pm-process-icon {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.service-card:hover .service-icon,
.pm-why-card:hover .pm-why-icon {
    background: rgba(34, 197, 94, 0.25) !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
}

.dark .pm-cta-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark .pm-stats-strip,
.dark .pm-why-section,
.dark .process-section,
.dark .pm-testimonials-section,
.dark .pm-faq-section,
.dark .pm-cta-section,
.dark .services-section,
.dark section.py-24,
.dark section.py-16 {
    background: #0a0a0a !important;
}

.dark .services-section:nth-child(even),
.dark .process-section:nth-child(even),
.dark section.py-24:nth-child(even),
.dark section.py-16:nth-child(even) {
    background: #141414 !important;
}

.dark .services-section .section-title,
.dark .process-section .section-title,
.dark .pm-testimonials-section .section-title,
.dark .pm-faq-section .section-title,
.dark .pm-why-section .section-title,
.dark .pm-stats-strip .stat-value,
.dark .pm-stats-strip .pm-stat strong {
    color: #ffffff !important;
}

.dark .services-section .section-desc,
.dark .process-section .section-desc,
.dark .pm-testimonials-section .section-desc,
.dark .pm-faq-section .section-desc,
.dark .pm-why-section .section-desc,
.dark .pm-stats-strip .stat-label,
.dark .pm-stats-strip .pm-stat span {
    color: #d4d4d4 !important;
}

.dark .pm-why-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark .pm-why-card:hover {
    border-color: #ffffff !important;
}

.dark .pm-why-icon {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark .pm-why-card h3 {
    color: #ffffff !important;
}

.dark .pm-why-card p {
    color: #a3a3a3 !important;
}

.dark .process-section .process-item {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark .process-section .process-item .process-step {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark .process-section .process-title {
    color: #ffffff !important;
}

.dark .process-section .process-item p {
    color: #d4d4d4 !important;
}

.dark .pm-footer {
    background: #050505 !important;
}

.dark .pm-footer-bottom {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Hero widget dark mode */
.dark .hero-widget-section {
    background: #0a0a0a !important;
}

.dark .hero-widget-section::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
}

.dark .hero-widget-breadcrumb,
.dark .hero-widget-breadcrumb a,
.dark .hero-widget-breadcrumb .hw-sep {
    color: #a3a3a3 !important;
}

.dark .hero-widget-breadcrumb a:hover,
.dark .hero-widget-breadcrumb .hw-current {
    color: #ffffff !important;
}

.dark .hero-widget-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e5e5e5 !important;
}

.dark .hero-widget-badge i {
    color: #e5e5e5 !important;
}

.dark .hero-widget-title {
    color: #ffffff !important;
}

.dark .hero-widget-desc {
    color: #a3a3a3 !important;
}

.dark .hero-widget-section .hw-btn-primary {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark .hero-widget-section .hw-btn-primary:hover {
    background: #e5e5e5 !important;
}

.dark .hero-widget-section .hw-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.dark .hero-widget-section .hw-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.dark .hero-widget-stat-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark .hero-widget-stat-card:hover {
    border-color: #ffffff !important;
}

.dark .hero-widget-stat-value {
    color: #ffffff !important;
}

.dark .hero-widget-stat-label {
    color: #a3a3a3 !important;
}

/* Teklif page success state — black instead of gold */
.quote-page .success-icon {
    background: #0a0a0a !important;
}

.quote-page .success-state h2 {
    color: #0a0a0a !important;
}

.quote-page .success-state p {
    color: #5a5a5a !important;
}

.quote-page .ref-box {
    background: #f8f9fa !important;
    border: 1px solid #e5e5e5 !important;
}

.quote-page .ref-label {
    color: #888888 !important;
}

.quote-page .ref-code {
    color: #0a0a0a !important;
}

.quote-page .selection-card {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
}

.quote-page .selection-card:hover,
.quote-page .selection-input:checked + .selection-card {
    border-color: #0a0a0a !important;
    background: #f8f9fa !important;
    box-shadow: none !important;
}

.quote-page .selection-input:checked + .selection-card .selection-icon {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

.quote-page .selection-label {
    color: #0a0a0a !important;
}

.quote-page .checkbox-card {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
}

.quote-page .checkbox-card:hover,
.quote-page .checkbox-input:checked + .checkbox-card {
    border-color: #0a0a0a !important;
    background: #f8f9fa !important;
}

.quote-page .checkbox-input:checked + .checkbox-card .check-circle {
    background: #0a0a0a !important;
    border-color: #0a0a0a !important;
    color: #ffffff !important;
}

.quote-page .form-nav {
    border-color: #e5e5e5 !important;
}

.quote-page .btn-next,
.quote-page .btn-submit {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

.quote-page .btn-next:hover,
.quote-page .btn-submit:hover {
    background: #262626 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.quote-page .btn-prev {
    background: #ffffff !important;
    border: 1px solid #d4d4d4 !important;
    color: #0a0a0a !important;
}

.quote-page .btn-prev:hover {
    border-color: #0a0a0a !important;
    color: #0a0a0a !important;
    background: #f8f9fa !important;
}

.quote-page .form-input,
.quote-page .form-textarea {
    background: #ffffff !important;
    border: 1px solid #d4d4d4 !important;
    color: #0a0a0a !important;
}

.quote-page .form-input:focus,
.quote-page .form-textarea:focus {
    border-color: #0a0a0a !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

.quote-page .form-label {
    color: #0a0a0a !important;
}

.quote-page .step-title {
    color: #0a0a0a !important;
}

/* Dark mode variants for teklif page */
.dark .quote-page {
    background: #0a0a0a !important;
}

.dark .quote-page .hero-title-new,
.dark .quote-page .hero-title-new .highlight,
.dark .quote-page .step-title,
.dark .quote-page .form-label,
.dark .quote-page .selection-label,
.dark .quote-page .ref-code {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.dark .quote-page .hero-desc-new,
.dark .quote-page .social-proof-bar,
.dark .quote-page .proof-item,
.dark .quote-page .trust-card-mini .lbl,
.dark .quote-page .step-label,
.dark .quote-page .ref-label {
    color: #a3a3a3 !important;
    -webkit-text-fill-color: #a3a3a3 !important;
}

.dark .quote-page .form-card,
.dark .quote-page .selection-card,
.dark .quote-page .checkbox-card,
.dark .quote-page .trust-card-mini {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .quote-page .selection-card:hover,
.dark .quote-page .selection-input:checked + .selection-card,
.dark .quote-page .checkbox-card:hover,
.dark .quote-page .checkbox-input:checked + .checkbox-card {
    border-color: #ffffff !important;
    background: #1a1a1a !important;
}

.dark .quote-page .form-input,
.dark .quote-page .form-textarea {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.dark .quote-page .form-input:focus,
.dark .quote-page .form-textarea:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
    background: #141414 !important;
}

.dark .quote-page .btn-next,
.dark .quote-page .btn-submit {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.dark .quote-page .btn-prev {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.dark .quote-page .success-state h2,
.dark .quote-page .success-state p,
.dark .quote-page .ref-box {
    color: #ffffff !important;
}

.dark .quote-page .success-icon {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

/* ============================================================
   TESTIMONIALS — theme-aware redesign
   ============================================================ */
.pm-testimonials-section {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.dark .pm-testimonials-section {
    background: #0a0a0a;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.pm-testimonials-section .pm-section-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f5f5f5;
    color: #0a0a0a;
    border: 1px solid #e5e5e5;
}

.dark .pm-testimonials-section .pm-section-tag {
    background: #141414;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.pm-testimonials-section .pm-section-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0a0a0a;
    margin-top: 1rem;
}

.dark .pm-testimonials-section .pm-section-title {
    color: #ffffff !important;
}

.pm-testimonials-section .pm-section-desc {
    color: #5a5a5a;
    margin-top: 0.5rem;
}

.dark .pm-testimonials-section .pm-section-desc {
    color: #a3a3a3 !important;
}

.pm-testimonial-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pm-testimonial-card:hover {
    border-color: #0a0a0a;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
}

.dark .pm-testimonial-card {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark .pm-testimonial-card:hover {
    border-color: #ffffff;
}

.pm-testimonial-card .quote-mark {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3.5rem;
    font-family: Georgia, serif;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    pointer-events: none;
}

.dark .pm-testimonial-card .quote-mark {
    color: rgba(255, 255, 255, 0.06);
}

.pm-testimonial-card .stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #0a0a0a;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.dark .pm-testimonial-card .stars {
    color: #ffffff;
}

.pm-testimonial-card p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.dark .pm-testimonial-card p {
    color: #d4d4d4 !important;
}

.pm-testimonial-card .author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid #e5e5e5;
}

.dark .pm-testimonial-card .author-row {
    border-color: rgba(255, 255, 255, 0.08);
}

.pm-testimonial-card .author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #0a0a0a;
    color: #ffffff;
}

.dark .pm-testimonial-card .author-avatar {
    background: #ffffff;
    color: #0a0a0a;
}

.pm-testimonial-card .author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0a0a0a;
}

.dark .pm-testimonial-card .author-name {
    color: #ffffff !important;
}

.pm-testimonial-card .author-role {
    font-size: 0.8rem;
    color: #6b7280;
}

.dark .pm-testimonial-card .author-role {
    color: #9ca3af !important;
}

.pm-testimonial-blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.35;
    background: rgba(0, 0, 0, 0.04);
}

.dark .pm-testimonial-blob {
    background: rgba(255, 255, 255, 0.04);
}

.pm-testimonial-blob.top {
    top: -6rem;
    left: -6rem;
}

.pm-testimonial-blob.bottom {
    bottom: -6rem;
    right: -6rem;
}

/* ============================================================
   SUB-PAGES DARK MODE COMPATIBILITY OVERRIDES
   ============================================================ */
.dark .pm-hero {
    background: #0a0a0a !important;
    color: #ffffff !important;
}
.dark .pm-hero::before {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
}
.dark .pm-hero-title {
    color: #ffffff !important;
}
.dark .pm-hero-desc {
    color: #d4d4d4 !important;
}
.dark .pm-hero-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .pm-hero-badge span {
    color: #ffffff !important;
}
.dark .pm-hero-breadcrumb,
.dark .pm-hero-breadcrumb a {
    color: #a3a3a3 !important;
}
.dark .pm-hero-breadcrumb .current {
    color: #ffffff !important;
}
.dark .pm-hero-stat-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
}
.dark .pm-hero-stat-card .pm-stat-text strong {
    color: #ffffff !important;
}
.dark .pm-hero-stat-card .pm-stat-text span {
    color: #a3a3a3 !important;
}

/* Sub-page Hero Widget overrides */
.dark .hero-widget-section {
    background: #0a0a0a !important;
    color: #ffffff !important;
}
.dark .hero-widget-section::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}
.dark .hero-widget-section::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%) !important;
}
.dark .hero-widget-title {
    color: #ffffff !important;
}
.dark .hero-widget-desc {
    color: #d4d4d4 !important;
}
.dark .hero-widget-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .hero-widget-badge i {
    color: #ffffff !important;
}
.dark .hero-widget-breadcrumb,
.dark .hero-widget-breadcrumb a,
.dark .hero-widget-breadcrumb .hw-sep {
    color: #a3a3a3 !important;
}
.dark .hero-widget-breadcrumb a:hover,
.dark .hero-widget-breadcrumb .hw-current {
    color: #ffffff !important;
}

/* Global Section Headers in Dark Mode */
.dark section .section-header .section-title,
.dark .services-section .section-title,
.dark .process-section .section-title,
.dark .pm-projects-section .section-title,
.dark .why-us-section .section-title,
.dark .faq-section .section-title {
    color: #ffffff !important;
}
.dark section .section-header .section-desc,
.dark .services-section .section-desc,
.dark .process-section .section-desc,
.dark .pm-projects-section .section-desc,
.dark .why-us-section .section-desc,
.dark .faq-section .section-desc {
    color: #a3a3a3 !important;
}
.dark section .section-header .section-tag,
.dark section .section-header .section-subtitle,
.dark .section-header .section-subtitle {
    background: #141414 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Hizmetler Page Overrides */
.dark .services-page {
    background: #0a0a0a !important;
}
.dark .service-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .service-card:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}
.dark .service-title {
    color: #ffffff !important;
}
.dark .service-description {
    color: #d4d4d4 !important;
}
.dark .service-price {
    color: #a3a3a3 !important;
}
.dark .service-price .amount {
    color: #ffffff !important;
}
.dark .service-link {
    color: #ffffff !important;
}
.dark .features-section {
    background: #141414 !important;
}
.dark .feature-card {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .feature-card:hover {
    border-color: #ffffff !important;
}
.dark .feature-title {
    color: #ffffff !important;
}
.dark .feature-description {
    color: #a3a3a3 !important;
}
.dark .process-step .process-number {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .process-step .process-title {
    color: #ffffff !important;
}
.dark .process-step .process-description {
    color: #d4d4d4 !important;
}

/* Teklif (Proposal) Page Overrides */
.dark .quote-page {
    background: #0a0a0a !important;
}
.dark .quote-page .hero-title-new .highlight,
.dark .quote-page .hero-title-new span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.dark .quote-page .hero-badge-new {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .quote-page .social-proof-bar {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .quote-page .proof-dot {
    background-color: #ffffff !important;
}
.dark .quote-page .trust-card-mini {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
.dark .quote-page .trust-card-mini:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}
.dark .quote-page .trust-card-mini .val {
    color: #ffffff !important;
}
.dark .quote-page .form-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7) !important;
}
.dark .quote-page .form-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.dark .quote-page .step-indicator.active .step-circle {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .quote-page .step-indicator.active .step-label {
    color: #ffffff !important;
}
.dark .quote-page .step-indicator.completed .step-circle {
    background: #d4d4d4 !important;
    border-color: #d4d4d4 !important;
    color: #0a0a0a !important;
}
.dark .quote-page .step-indicator.completed .step-label {
    color: #d4d4d4 !important;
}
.dark .quote-page .progress-fill {
    background: #ffffff !important;
}
.dark .quote-page .step-circle {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #a3a3a3 !important;
}
.dark .quote-page .stars {
    color: #ffffff !important;
}
.dark .form-label {
    color: #ffffff !important;
}
.dark .form-input,
.dark .form-textarea,
.dark .form-select {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.dark .form-input:focus,
.dark .form-textarea:focus,
.dark .form-select:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}
.dark .checkbox-card {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .checkbox-card:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.02) !important;
}
.dark .checkbox-input:checked+.checkbox-card {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
.dark .checkbox-input:checked+.checkbox-card .check-circle {
    background: #ffffff !important;
    border-color: #ffffff !important;
}
.dark .checkbox-input:checked+.checkbox-card .check-circle i {
    color: #0a0a0a !important;
}
.dark .selection-card {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .selection-card:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.02) !important;
}
.dark .selection-input:checked+.selection-card {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
.dark .selection-input:checked+.selection-card .selection-icon {
    background: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .selection-label {
    color: #ffffff !important;
}
.dark .btn-next,
.dark .btn-submit {
    background: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .btn-next:hover,
.dark .btn-submit:hover {
    background: #e5e5e5 !important;
}
.dark .btn-prev {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.dark .btn-prev:hover {
    border-color: #ffffff !important;
    color: #ffffff !important;
}
.dark .ref-box {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .ref-code {
    color: #ffffff !important;
}
.dark .success-icon {
    background: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .process-step .step-badge-circle {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .process-step:hover .step-badge-circle {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .process-step .step-step-title {
    color: #ffffff !important;
}
.dark .process-step:hover .step-step-title {
    color: #ffffff !important;
}
.dark .process-step .step-step-desc {
    color: #a3a3a3 !important;
}
.dark .why-us-section {
    background: #0a0a0a !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .why-premium-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
.dark .why-premium-card:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Projeler (Projects) Page Overrides */
.dark .projects-page {
    background: #0a0a0a !important;
}
.dark .filter-bar {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .filter-tab {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #d4d4d4 !important;
}
.dark .filter-tab:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}
.dark .filter-tab.active {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}
.dark .status-btn {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #d4d4d4 !important;
}
.dark .status-btn:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}
.dark .status-btn.active {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border-color: #ffffff !important;
}
.dark .search-input {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.dark .search-input:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}
.dark .results-count {
    color: #d4d4d4 !important;
}
.dark .results-count strong {
    color: #ffffff !important;
}
.dark .project-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .project-card:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
}
.dark .project-card:hover .project-title {
    color: #ffffff !important;
}
.dark .project-title {
    color: #ffffff !important;
}
.dark .project-desc {
    color: #d4d4d4 !important;
}
.dark .tech-tag {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.dark .project-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    color: #a3a3a3 !important;
}
.dark .project-price {
    color: #ffffff !important;
}

/* Service Detail (hizmet.php) specific fixes */
.dark .service-page {
    background: #0a0a0a !important;
}
.dark .stat-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .stat-card:hover {
    border-color: #ffffff !important;
}
.dark .stat-value {
    color: #ffffff !important;
}
.dark .stat-label {
    color: #a3a3a3 !important;
}
.dark .feature-tag {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.dark .feature-tag:hover {
    border-color: #ffffff !important;
}
.dark .feature-tag i {
    color: #ffffff !important;
}
.dark .tech-item {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .tech-item:hover {
    border-color: #ffffff !important;
}
.dark .tech-item span {
    color: #ffffff !important;
}
.dark .pricing-card {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .pricing-card.featured {
    border-color: #ffffff !important;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1) !important;
}
.dark .pricing-card:hover {
    transform: translateY(-4px) !important;
}
.dark .pricing-badge {
    background: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .pricing-name {
    color: #a3a3a3 !important;
}
.dark .pricing-price {
    color: #ffffff !important;
}
.dark .pricing-period {
    color: #a3a3a3 !important;
}
.dark .pricing-features li {
    color: #d4d4d4 !important;
}
.dark .pricing-features li i {
    color: #ffffff !important;
}
.dark .pricing-btn.primary {
    background: #ffffff !important;
    color: #0a0a0a !important;
}
.dark .pricing-btn.primary:hover {
    background: #e5e5e5 !important;
}
.dark .pricing-btn.secondary {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
.dark .pricing-btn.secondary:hover {
    border-color: #ffffff !important;
    color: #ffffff !important;
}
.dark .faq-section {
    background: #0a0a0a !important;
}
.dark .faq-item {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.dark .faq-question span,
.dark .faq-question i {
    color: #ffffff !important;
}
.dark .faq-answer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .faq-answer p {
    color: #d4d4d4 !important;
}
.dark .empty-state {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #a3a3a3 !important;
}
.dark .empty-icon {
    color: rgba(255, 255, 255, 0.15) !important;
}
.dark .project-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
}
.dark .project-placeholder i {
    color: #a3a3a3 !important;
}
.dark .project-placeholder span {
    color: #a3a3a3 !important;
}

/* General inline/Tailwind utility override fallbacks for dark mode */
.dark .bg-white,
.dark .bg-gray-50,
.dark .bg-slate-50,
.dark .bg-slate-100 {
    background-color: #141414 !important;
}
.dark .text-black,
.dark .text-gray-900,
.dark .text-slate-900,
.dark .text-gray-800,
.dark .text-slate-800,
.dark .text-gray-700,
.dark .text-slate-700 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.dark .text-gray-500,
.dark .text-slate-500,
.dark .text-gray-600,
.dark .text-slate-600 {
    color: #d4d4d4 !important;
    -webkit-text-fill-color: #d4d4d4 !important;
}
.dark .border-gray-200,
.dark .border-slate-200,
.dark .border-gray-100,
.dark .border-slate-100 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Button span color override fix */
.pm-btn span,
.pm-btn-primary span,
.pm-btn-secondary span,
.premium-btn span,
.premium-btn-outline span,
.btn-primary span,
.btn-secondary span {
    color: inherit !important;
}

