/* ==========================================================================
   HilanX Technologies - Titanium Design Upgrade (Awwwards & Modern Agency Standards)
   Engineered using UI-UX Pro Max Guidelines
   ========================================================================== */

/* Enhanced Design Tokens */
:root {
    --primary-color: #1d4ed8;
    --primary-hover: #1e40af;
    --primary-subtle: #eff6ff;
    --accent-cyan: #0ea5e9;
    --accent-teal: #0d9488;
    --accent-purple: #7c3aed;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;

    --gradient-brand: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(29, 78, 216, 0.04) 0%, rgba(14, 165, 233, 0.02) 100%);
    --gradient-cta-dark: linear-gradient(135deg, #070e1b 0%, #0b1e3f 50%, #0369a1 100%);
    --gradient-contact: linear-gradient(145deg, #091a38 0%, #1e40af 60%, #0284c7 100%);

    --border-subtle: rgba(226, 232, 240, 0.85);
    --border-focus: rgba(29, 78, 216, 0.4);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 16px 36px -6px rgba(29, 78, 216, 0.25);
    --shadow-card-hover: 0 24px 50px -12px rgba(29, 78, 216, 0.14);

    --radius-pill: 9999px;
    --radius-card: 20px;
    --radius-subtle: 14px;
}

/* Smooth Scrolling & Typography Optimization */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    text-rendering: optimizeLegibility;
    color: #334155;
    background-color: #ffffff;
}

/* Header & Brand Polish - Pixel-Perfect Baseline Alignment */
.site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.brand-logo .logo-mark {
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.16);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brand-logo:hover .logo-mark {
    transform: rotate(5deg) scale(1.05);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-text {
    font-size: 1.625rem !important;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
}

.logo-subtext {
    font-size: 0.55rem !important;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #64748b;
    margin-top: 3px;
    line-height: 1;
}

/* Navigation Links Polish */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 6px 12px !important;
    border-radius: var(--radius-pill);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: #475569 !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(239, 246, 255, 0.85);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: var(--primary-subtle);
    font-weight: 700;
}

.nav-link.active::after {
    display: none !important;
}

.header-action {
    flex-shrink: 0;
}

.btn-header-cta {
    padding: 8px 20px !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.2) !important;
}

/* Titanium Button Physics */
.btn-pill {
    border-radius: var(--radius-pill) !important;
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-brand) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
    color: #ffffff !important;
}

.btn-primary:active {
    transform: translateY(0px) scale(0.98);
}

.btn-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid var(--border-subtle) !important;
}

.btn-secondary:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   1. HERO SECTION POLISH
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 85px 0 105px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 50% -15%, rgba(29, 78, 216, 0.09) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px);
    background-size: 100% 100%, 32px 32px;
    background-position: center top, center top;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(239, 246, 255, 0.95);
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.06);
    backdrop-filter: blur(10px);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.text-gradient {
    background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Glass Cards on Hero Media */
.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16);
    border-radius: 18px;
    padding: 12px 18px;
    z-index: 5;
    transition: transform 0.3s ease;
}

.floating-glass-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.floating-card-top {
    top: 24px;
    right: -20px;
    animation: floatTop 5s ease-in-out infinite alternate;
}

.floating-card-bottom {
    bottom: -20px;
    left: -20px;
    animation: floatBottom 5s ease-in-out infinite alternate;
}

@keyframes floatTop {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@keyframes floatBottom {
    0% { transform: translateY(0px); }
    100% { transform: translateY(10px); }
}

.trust-stat-num {
    font-feature-settings: "tnum";
    letter-spacing: -0.03em;
}

/* ==========================================================================
   2. ABOUT & PROCESS RIBBON
   ========================================================================== */
.about-section {
    background: #f8fafc;
}

.about-quote-card {
    border-left: 4px solid var(--primary-color) !important;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-quote-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.process-ribbon-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    border-radius: 24px;
}

.ribbon-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    border: 2px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ribbon-step-item:hover .ribbon-icon-circle {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.15);
}

/* ==========================================================================
   3. SERVICES CARDS (Awwwards Grade Bento Polish)
   ========================================================================== */
.service-feature-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 22px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(29, 78, 216, 0.25) !important;
}

.service-feature-card:hover::before {
    background: var(--gradient-brand);
}

.service-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 246, 255, 0.85);
    transition: transform 0.3s ease;
}

.service-feature-card:hover .service-card-icon {
    transform: scale(1.1) rotate(3deg);
}

.badge-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.badge-tag:hover {
    background: var(--primary-subtle);
    color: var(--primary-color);
    border-color: rgba(29, 78, 216, 0.2);
}

.card-explore-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-feature-card:hover .card-explore-link {
    gap: 10px;
}

/* ==========================================================================
   4. CAMPAIGN PLATFORM BROWSER MOCKUP
   ========================================================================== */
.platform-browser-frame {
    box-shadow: 0 30px 85px -20px rgba(15, 23, 42, 0.22) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.platform-browser-frame:hover {
    transform: translateY(-6px);
}

.browser-header {
    background: #f8fafc;
}

.browser-dots .window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-title-bar {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   5. PROCESS PIPELINE
   ========================================================================== */
.process-step-box {
    background: #ffffff !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.process-step-box:hover {
    transform: translateY(-6px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px -10px rgba(29, 78, 216, 0.12) !important;
}

.step-num-display {
    line-height: 1;
    letter-spacing: -0.04em;
    font-feature-settings: "tnum";
}

/* ==========================================================================
   6. WORK / PORTFOLIO CASE STUDIES
   ========================================================================== */
.case-study-tag-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: #ffffff;
}

.case-study-tag-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.1);
}

/* ==========================================================================
   7. WHY HILANX PILLARS
   ========================================================================== */
.why-pillar-card {
    border: 1px solid var(--border-subtle) !important;
    border-radius: 22px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.why-pillar-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.1) !important;
    border-color: rgba(29, 78, 216, 0.25) !important;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.why-pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(4deg);
}

/* ==========================================================================
   8. FULL-WIDTH CALL TO ACTION
   ========================================================================== */
.cta-gradient-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 28px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

.cta-gradient-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================================================================
   9. CONTACT & LEAD FORM
   ========================================================================== */
.contact-card-box {
    border-radius: 26px !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden;
}

.contact-info-panel {
    background: linear-gradient(155deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #e2e8f0;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(13, 153, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.contact-badge-glow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    background: rgba(13, 153, 255, 0.08) !important;
    border: 1px solid rgba(13, 153, 255, 0.25) !important;
    color: #0284c7 !important;
    backdrop-filter: blur(8px);
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #0d99ff 55%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-channel-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-channel-card:hover {
    background: #f8fafc !important;
    border-color: rgba(13, 153, 255, 0.35) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(13, 153, 255, 0.1);
}

.channel-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(13, 153, 255, 0.1) !important;
    border: 1px solid rgba(13, 153, 255, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7 !important;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.channel-label {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b !important;
    font-weight: 600;
}

.channel-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.channel-value:hover {
    color: #0284c7 !important;
}

.contact-guarantee-chip {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #065f46 !important;
    font-size: 0.75rem;
}

.form-control, .form-select {
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12) !important;
}

/* ==========================================================================
   10. FOOTER & FLOATING ACTIONS (Titan Dark Midnight Theme)
   ========================================================================== */
.site-footer {
    background: #f8fafc !important;
    color: #475569 !important;
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
    border-top: 1px solid #e2e8f0 !important;
}

.footer-cta-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(13, 153, 255, 0.08);
    border: 1px solid rgba(13, 153, 255, 0.2);
    color: #0284c7;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: footerPulse 2s infinite;
}

@keyframes footerPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-heading {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a !important;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748b !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #0d99ff !important;
    transform: translateX(3px);
}

.footer-chip {
    font-size: 0.875rem;
    color: #475569 !important;
}

.footer-sla-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.footer-status-pill {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-status-pill .status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.footer-sublink {
    color: #64748b !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-sublink:hover {
    color: #0f172a !important;
}

.border-white-10 {
    border-color: #e2e8f0 !important;
}

.site-footer .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.site-footer .social-icon:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.25);
}

.back-to-top-btn {
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.35) !important;
}


/* ==========================================================================
   11. TECH STRIP, TESTIMONIALS & FAQ (shadcn/ui Pattern)
   ========================================================================== */

/* Tech Stack Pills */
.hero-tech-strip .tech-pill {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.hero-tech-strip .tech-pill:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-subtle) !important;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(29, 78, 216, 0.2) !important;
}

.avatar-circle {
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

/* Custom Accordion (shadcn style) */
.custom-accordion .accordion-item {
    border: 1px solid var(--border-subtle) !important;
    background: #ffffff;
    margin-bottom: 12px;
    border-radius: 14px !important;
    transition: all 0.2s ease;
}

.custom-accordion .accordion-button {
    font-size: 0.95rem;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 14px !important;
    color: #0f172a;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(239, 246, 255, 0.5);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-subtle);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.custom-accordion .accordion-body {
    padding: 20px 22px;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Budget Selector Pills (shadcn radio button group) */
.budget-pill-label {
    cursor: pointer;
    margin: 0;
}

.budget-pill-badge {
    display: inline-block;
    padding: 7px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    transition: all 0.2s ease;
}

.budget-pill-label input:checked + .budget-pill-badge {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
    transform: translateY(-1px);
}

.budget-pill-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.budget-pill-label input:checked + .budget-pill-badge:hover {
    color: #ffffff;
}


/* Responsive Header Tuning for Mid-Sized Laptops */
@media (max-width: 1240px) {
    .nav-link {
        padding: 5px 8px !important;
        font-size: 0.8125rem !important;
    }
    .nav-list {
        gap: 2px !important;
    }
    .brand-logo .logo-text {
        font-size: 1.45rem !important;
    }
    .btn-header-cta {
        padding: 7px 16px !important;
        font-size: 0.8125rem !important;
    }
}


/* Brand Logo Styling */
.site-brand-logo {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .site-brand-logo {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .site-brand-logo {
        height: 30px;
    }
}

/* Ensure Swarm Rebuild HUD / Button is completely removed */
.hud, .hud.on, #swarmHud {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Campaign Platform Dashboard & Reference Light Theme Components
   ========================================================================== */

/* Handwritten Accent Badge ("People First") */
.handwriting-accent {
    font-family: 'Plus Jakarta Sans', cursive, sans-serif;
    font-style: italic;
    font-weight: 700;
    color: #0d99ff;
    letter-spacing: -0.02em;
}

/* Hero Badge & Dynamic Graphic Framing */
.hero-dynamic-frame {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(13, 153, 255, 0.25) 0%, rgba(0, 210, 255, 0.1) 100%);
    box-shadow: 0 20px 45px -10px rgba(13, 153, 255, 0.18);
}

.hero-dynamic-frame .hero-media-wrapper {
    border-radius: 18px;
    overflow: hidden;
}

/* Top Right Badge in Hero */
.badge-campaign-community {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Campaign Platform Dashboard Preview Component */
.campaign-dashboard-frame {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.campaign-dashboard-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
}

.campaign-dashboard-body {
    background: #ffffff;
}

.campaign-dashboard-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 16px 12px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard-nav-item:hover {
    background: #edf2f7;
    color: #0f172a;
}

.dashboard-nav-item.active {
    background: #0d99ff;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(13, 153, 255, 0.3);
}

.dashboard-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
}

.dashboard-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

/* Contact Royal Blue Panel */
.contact-panel-royal {
    background: linear-gradient(145deg, #1d4ed8 0%, #1e40af 50%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-radius: 24px 0 0 24px;
}

@media (max-width: 991px) {
    .contact-panel-royal {
        border-radius: 24px 24px 0 0;
    }
}

/* ==========================================================================
   True End-to-End Hero Section (Edge-to-Edge Panoramic Framer Benchmark)
   ========================================================================== */
.hero-section-bleed {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-bleed-stage {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

/* Full-bleed End-to-End Background Visual */
.hero-bleed-art-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-campaign-artwork-hd.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-bleed-stage {
        min-height: 560px;
    }
    
    .hero-bleed-art-layer {
        background-size: auto 100%;
        background-position: right center;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 10%, black 36%, black 100%);
        mask-image: linear-gradient(to right, transparent 0%, transparent 10%, black 36%, black 100%);
    }
}

@media (min-width: 1400px) {
    .hero-bleed-stage {
        min-height: 600px;
    }
    .hero-bleed-art-layer {
        background-size: auto 100%;
        background-position: right center;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 8%, black 32%, black 100%);
        mask-image: linear-gradient(to right, transparent 0%, transparent 8%, black 32%, black 100%);
    }
}

@media (min-width: 1800px) {
    .hero-bleed-stage {
        min-height: 640px;
    }
    .hero-bleed-art-layer {
        background-size: cover;
        background-position: right center;
    }
}

/* Content layer over the white section of the panoramic canvas */
.hero-content-layer-titan {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 3.5rem 0 3.5rem;
}

.hero-text-col {
    max-width: 520px;
}

/* Eyebrow - Pure Minimalist Typography matching reference */
.hero-eyebrow-titan {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #64748b;
    text-transform: uppercase;
    font-family: var(--framer-font-body, 'Inter', sans-serif);
    margin-bottom: 1.25rem;
}

.hero-title-titan {
    font-family: var(--framer-font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(2.35rem, 4.2vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #0f172a;
}

.title-dot-glow {
    color: #2563eb;
}

.hero-subhead-titan {
    color: #475569;
    font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
    line-height: 1.65;
    max-width: 480px;
    font-weight: 400;
}

.btn-hero-titan-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 0.85rem 1.95rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.28) !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-titan-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4) !important;
    color: #ffffff !important;
}

.btn-hero-titan-primary:hover .btn-arrow-icon {
    transform: translateX(4px);
}

.btn-arrow-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-titan-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #2563eb !important;
    border-radius: 9999px !important;
    padding: 0.85rem 1.95rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-titan-secondary:hover {
    background: #f8fafc !important;
    color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.12) !important;
}

.hero-tagline-titan {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #94a3b8;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tagline-titan .tagline-dot {
    color: #cbd5e1;
    font-size: 0.85rem;
}

/* Tablet & Mobile Fallback (< 992px) */
@media (max-width: 991.98px) {
    .hero-bleed-stage {
        min-height: auto;
        padding-bottom: 0;
    }
    .hero-bleed-art-layer {
        display: none;
    }
    .hero-content-layer-titan {
        padding: 2.5rem 0 1rem;
    }
    .hero-text-col {
        max-width: 100%;
    }
    .hero-mobile-end-to-end-art {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        overflow: hidden;
        margin-top: 1.5rem;
    }
    .hero-mobile-end-to-end-art img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 1024 / 397;
        object-fit: cover;
    }
}
