/* System-first fonts avoid a render-blocking third-party request. */

:root {
  --color-bg: #000000;
  --color-surface: #0d0d0d;
  --color-border: #222222;
  --color-text: #f0f0f0;
  --color-text-muted: #e8e8e8;
  --color-gold: #ffffff;
  --color-gold-hover: #e0e0e0;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Entrance Delays */
.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.reveal-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.reveal-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Disable Animate on Scroll on Mobile */
@media (max-width: 768px) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: #000000 !important;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1 0 auto;
}

/* Default Readable 16px Equivalent Paragraph & High Text Contrast */
p, .card-desc, .sc-desc, .tier-desc, .faq-answer, .process-step p, .split-content p, .modal-info p, .addon-info p, .resp-feature-card p, .cfc-info p, .work-desc {
    font-size: 1rem !important;
    color: #e8e8e8 !important;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-heading); 
  font-weight: 500 !important; 
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-style: normal !important;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.work-title, .card-title, .split-content h2, .cart-header h3,
.cart-total span:last-child, .modal-info h2, .mockup-title,
.step-title, [class*="-title"]:not(i), [class*="title"]:not(i) {
  font-style: normal !important;
  font-weight: 500 !important;
}

/* Ensure all FontAwesome icons preserve their required font-weight and font-family */
.fa, .fas, .fa-solid, i[class*="fa-"], span[class*="fa-"] {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
.far, .fa-regular {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', 'Font Awesome 5 Free' !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
.fab, .fa-brands {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', 'Font Awesome 5 Brands' !important;
  font-weight: 400 !important;
  font-style: normal !important;
}


h2 {
  font-size: 3.2rem;
  font-weight: 500 !important;
  letter-spacing: -0.04em;
  font-style: normal !important;
}

.section-subhead {
  max-width: 650px;
  margin: 1rem auto 0;
  text-align: center;
  font-style: normal !important;
}

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

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }


/* Typography */
.overline {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; color: #ffffff; display: block; font-weight: 600;
}

/* Header */
header {
  padding: 1.5rem 0;
  background-color: transparent;
  position: fixed; width: 100%; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
header.scrolled {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0 20px; max-width: 1400px; margin: 0 auto; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; }
.logo-wrapper { flex: 0 0 auto; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; min-width: 0; }
.nav-links a { 
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-muted); font-weight: 500;
  position: relative; 
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }

.nav-indicator {
  position: absolute;
  bottom: -36px;
  height: 2px;
  background: #fff;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  opacity: 0;
}
header.scrolled .nav-indicator { bottom: -16px; }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2.5rem);
  flex: 0 0 auto;
  white-space: nowrap;
}
.nav-cta-btn { flex: 0 0 auto; white-space: nowrap; }
.nav-cta-btn.active {
  background: #fff;
  border-color: #fff;
  color: #000;
}
.cart-toggle {
  background: transparent; border: none; color: var(--color-text);
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.8rem;
  flex: 0 0 auto; white-space: nowrap;
  transition: color 0.3s;
}
.cart-toggle:hover { color: #fff; }
.cart-count { color: #fff; font-weight: 500; font-size: 0.9rem; }

/* Hamburger Menu Icon */
.mobile-menu-btn { display: none; background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero Section - Single viewport-height section with images behind centered copy */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    text-align: center;
    background-color: #000000;
    background-image: url(../images/black-background.webp);
    background-size: cover;
    background-position: center;
    z-index: 10;
    overflow-x: clip;
    isolation: isolate;
}
/* Mockup image stage: absolute layer behind hero copy */
.hero-mockup-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hero-mockup-stage .work-mockup-poster {
    pointer-events: all;
}
.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    transform: translateY(clamp(5rem, 10vh, 7rem));
}
.hero-copy {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 { font-size: 4.2rem; margin-bottom: 1.25rem; color: #fff; font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; }
.hero p { color: var(--color-text-muted); font-size: 1.1rem; margin: 0 auto 1.75rem auto; font-weight: 400; max-width: 650px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 2.5rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; border: 1px solid var(--color-border); transition: var(--transition); background: transparent;
  border-radius: 50px;
}
.btn-primary { color: #000; background: #fff; border-color: #fff; }
.btn-primary:hover { background: transparent; color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-secondary { color: #fff; border-color: #fff; background: transparent; }
.btn-secondary:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }
.btn-soft { text-transform: none; letter-spacing: 0.03em; font-size: 0.9rem; padding: 0.7rem 1.8rem; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50px; background: transparent; }
.btn-soft:hover { border-color: #fff; background: #fff; color: #000; }
.btn-full { width: 100%; }

.hero-sub-advert-btn {
  padding: 1rem 2.4rem;
  white-space: nowrap;
}

/* Hero Devices Showcase */
.hero-device-showcase {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto 0 auto;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    perspective: 1200px;
    transition: var(--transition);
}

/* Base Device Styling */
.device-screen {
    background-size: calc(100% + 6px) auto;
    background-position: center top;
    background-color: #080808;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 2px #080808;
}
.device-screen::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: screenGleam 8s infinite linear;
}
@keyframes screenGleam {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* iMac (Desktop) */
.device-desktop {
    width: 760px;
    height: 450px;
    background: #080808;
    border: 1px solid var(--color-border);
    border-radius: 18px 18px 0 0;
    padding: 16px 16px 40px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 30px 80px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.04) inset;
    animation: floatDesktop 6s ease-in-out infinite;
    z-index: 1;
}
.device-desktop::before {
    content: '';
    position: absolute;
    bottom: 16px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.device-stand {
    position: absolute;
    bottom: -50px; left: 50%; transform: translateX(-50%);
    width: 140px; height: 50px;
    background: linear-gradient(to bottom, #111, #050505);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    z-index: -1;
}
.device-base {
    position: absolute;
    bottom: -55px; left: 50%; transform: translateX(-50%);
    width: 220px; height: 5px;
    background: #1a1a1a;
    border-radius: 5px 5px 0 0;
}

@keyframes floatDesktop {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

/* MacBook (Laptop) */
.device-laptop {
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 500px;
    height: 315px;
    background: #080808;
    border: 1px solid var(--color-border);
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 24px 12px;
    box-shadow: -20px 30px 50px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.05) inset;
    z-index: 2;
    animation: floatLaptop 7s ease-in-out infinite 1s;
}
.device-laptop .laptop-keyboard {
    position: absolute;
    bottom: -14px; left: -24px; right: -24px;
    height: 14px;
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    border-radius: 2px 2px 8px 8px;
    border-top: 1px solid #333;
}
.device-laptop .laptop-keyboard::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 70px; height: 3px; background: #000; border-radius: 0 0 4px 4px;
}

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

/* iPhone (Phone) */
.device-phone {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 155px;
    height: 320px;
    background: #050505;
    border: 3px solid #222;
    border-radius: 26px;
    padding: 7px;
    box-shadow: 25px 30px 60px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.1) inset;
    z-index: 4;
    animation: floatPhone 5s ease-in-out infinite 0.5s;
}
.device-phone .device-screen {
    border-radius: 18px;
}
.device-phone::before {
    content: '';
    position: absolute;
    top: 7px; left: 50%; transform: translateX(-50%);
    width: 45px; height: 14px;
    background: #050505;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* iPad (Tablet) */
.device-tablet {
    position: absolute;
    bottom: 25px;
    right: 145px;
    width: 270px;
    height: 360px;
    background: #080808;
    border: 2px solid #222;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 15px 25px 50px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.06) inset;
    z-index: 3;
    animation: floatTablet 6.5s ease-in-out infinite 0.8s;
}
.device-tablet .device-screen {
    border-radius: 14px;
}

@keyframes floatTablet {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Sections */
.section-padding { padding-top: 10rem !important; padding-bottom: 10rem !important; position: relative; }
#main-content {
    display: block;
    width: 100%;
    position: relative;
    isolation: isolate;
}
#main-content > section,
footer {
    display: block;
    width: 100%;
    clear: both;
}
.section-header { text-align: center; margin-bottom: 6rem; position: relative; z-index: 2;}
.section-header h2 { font-size: 3.5rem; color: #fff; margin-top: 0.2rem; }

/* Ensure all sections below the hero have transparent backgrounds so the 3 diagonal lines show through */
section:not(#hero), .section-padding {
    background: transparent !important;
}

/* Ensure all cards across the site have an opaque background color so background lines do not show through them */
.work-mockup-poster,
.hero-waas-console,
.console-feature-card,
.resp-feature-card,
.standard-card,
.pricing-card,
.addon-card,
.faq-item,
.contact-info-card,
.hosting-hero-card,
.hosting-tier-card,
.work-card,
.mockup-card,
.process-step,
.step-card {
    background: #080808 !important;
    background-color: #080808 !important;
}

/* Remove all section borders and enforce generous top and bottom spacing across all sections */
section:not(#hero), .section-padding {
    border-top: none !important;
    border-bottom: none !important;
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Enforce consistent gap between the addons and FAQ sections */
#addons {
    padding-bottom: 5rem !important;
}
#faq {
    padding-top: 10rem !important;
}

/* Elevated Architectural Features Section (All-Black Monochrome Showcase) */
.features-section-black {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}
.features-section-black .section-header {
    margin-bottom: 2.5rem !important;
}
.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 0;
}
.standard-card {
    background: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.standard-card:hover {
    background: rgba(22, 22, 22, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.08);
}
.sc-glow-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.standard-card:hover .sc-glow-top {
    opacity: 1;
}
.sc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.sc-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.standard-card:hover .sc-icon-box {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}
.sc-index {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
}
.standard-card:hover .sc-index {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}
.sc-title {
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.01em;
}
.sc-divider {
    width: 45px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.2rem;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}
.standard-card:hover .sc-divider {
    width: 100%;
    background: #ffffff;
}
.sc-desc {
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 !important;
    font-weight: 400;
    transition: color 0.4s ease;
}
.standard-card:hover .sc-desc {
    color: #ffffff;
}

/* Process Section - Outlined Cards Approach (Inspired by Get Outlined & Clearwater Studio) */
.process-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem; 
  position: relative; 
  z-index: 2;
  margin-top: 3.5rem;
}
.process-step { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  text-align: left;
  padding: 3rem 2.5rem;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.process-step:hover::before,
.process-step.active::before {
  opacity: 1;
}
.process-step:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.04);
  background: rgba(20, 20, 22, 0.85);
}
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
}
.process-number { 
  font-family: var(--font-heading); 
  font-size: 3.8rem; 
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  border: none;
  width: auto; height: auto;
  margin: 0;
  padding: 0;
  transition: var(--transition);
}
.step-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.process-step:hover .step-badge {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}
.process-step h4 { 
  font-size: 1.4rem; 
  margin-bottom: 1rem; 
  color: #fff; 
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}
.process-step p { 
  color: var(--color-text-muted); 
  font-size: 0.95rem; 
  line-height: 1.7; 
  max-width: 100%;
  margin: 0;
}
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 650px) {
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-step { padding: 2.2rem 1.8rem; }
  .process-number { font-size: 3rem; }
}

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; position: relative; z-index: 2;}
.work-item {
    aspect-ratio: 16/9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    border: 1px solid var(--color-border); background: var(--color-surface);
    background-size: cover; background-position: top center;
    transition: var(--transition); text-align: left; position: relative; overflow: hidden;
    padding: 3rem;
}
.work-item::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0.2) 60%, rgba(3,3,3,0) 100%);
    z-index: 1; transition: var(--transition);
}
.work-item:hover::before { background: rgba(3,3,3,0.4); }
.work-item > * { position: relative; z-index: 2; transform: translateY(10px); transition: var(--transition); opacity: 0.8; }
.work-item:hover > * { transform: translateY(0); opacity: 1; }
.work-item:hover { border-color: var(--color-gold); }
.work-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--color-gold); transition: width 0.6s ease; z-index: 3;}
.work-item:hover::after { width: 100%; }
.logo-wrapper { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 60px; width: auto; display: block;}
.footer-logo .logo-img { margin-bottom: 1.5rem; }
.work-title { font-family: var(--font-heading); font-size: 2.5rem; color: #fff; margin-bottom: 0.5rem; font-style: italic; }
.work-label { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-gold); margin-bottom: 0.5rem; }

/* Pricing Tabs */
.tabs-nav { display: flex; width: 600px; max-width: 100%; margin: 0 auto; border-bottom: 1px solid var(--color-border); }
.tab-btn {
    background: transparent; border: none; color: var(--color-text-muted);
    font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em;
    padding: 1rem 0; cursor: pointer; position: relative; transition: var(--transition);
    flex: 1; text-align: center;
}
.tab-btn.active { color: var(--color-gold); }
.tab-btn::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 0%; height: 2px;
    background: var(--color-gold); transition: width 0.3s ease;
}
.tab-btn.active::after { width: 100%; }
.tab-content { display: none; animation: fadeReveal 0.4s ease; }
.tab-content.active { display: block; }

/* Pricing */
.pricing-wrapper { position: relative; z-index: 2; padding: 0 1rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pricing-card { padding: 5rem 3rem; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; transition: var(--transition); background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pricing-card:nth-child(4n) { border-right: none; }
.pricing-card:last-child { border-right: none; }
.pricing-card:hover { background: rgba(0, 0, 0, 0.8); }
.card-header { margin-bottom: 1.25rem; text-align: center; }
.card-title { font-size: 2rem; margin-bottom: 1rem; color: #fff; font-style: italic; }
.card-price { font-family: var(--font-body); font-size: 2.5rem; font-weight: 800; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.2rem; line-height: 1.1; margin-bottom: 0.5rem; }
.card-price span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-muted); margin-bottom: 0; font-weight: 600; }
.card-desc { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; text-align: center; margin-bottom: 2rem; min-height: 7.5rem; display: flex; align-items: center; justify-content: center; }
.card-features { list-style: none; margin-bottom: 0; flex-grow: 1; }
.card-features li { margin-bottom: 1rem; font-size: 0.9rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.8rem; justify-content: flex-start; }
.card-features li::before { content: '✓'; color: var(--color-gold); font-size: 0.95rem; line-height: 1; }

.card-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.pricing-card .btn {
    margin-top: auto; /* Aligns all buttons horizontally */
    margin-bottom: 2.5rem;
}

.features-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    width: 100%;
}

.features-separator::before,
.features-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.features-separator:not(:empty)::before {
    margin-right: 1.5rem;
}

.features-separator:not(:empty)::after {
    margin-left: 1.5rem;
}

.features-separator span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 600;
}
.tab-intro {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.pricing-wrapper { position: relative; }
.pricing-card.highlighted .card-title { color: var(--color-gold); }

/* Add-ons List & Tooltips */
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; position: relative; z-index: 2;}
.addon-card {
  border: 1px solid var(--color-border); padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition); background: var(--color-bg); position: relative; border-radius: 16px; overflow: hidden;
}
.addon-card:hover { border-color: var(--color-text-muted); }
.addon-info { margin-bottom: 2rem; position: relative; }
.addon-info h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #fff; display: flex; align-items: center; gap: 0.75rem;}
.addon-info p { font-family: var(--font-body); font-size: 1rem; color: var(--color-gold); }

.info-icon {
  font-size: 0.9rem; color: var(--color-text-muted); cursor: help; position: relative;
}
.info-icon:hover { color: var(--color-gold); }
.tooltip-text {
  visibility: hidden; width: max-content; max-width: 220px;
  background-color: var(--color-surface); color: #fff;
  text-align: center; border-radius: 4px; padding: 0.75rem 1rem;
  font-size: 0.8rem; font-family: var(--font-body); font-weight: 300; line-height: 1.5;
  border: 1px solid var(--color-border);
  position: absolute; z-index: 100; bottom: 125%; right: -10px; left: auto; transform: none;
  opacity: 0; transition: opacity 0.3s;
}
p.tooltip-text { margin-bottom: 0; }
.info-icon:hover .tooltip-text { visibility: visible; opacity: 1; }

/* Split Sections */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-bottom: 8rem; position: relative; z-index: 2;}
.split-content h2 { font-size: 3.5rem; margin-bottom: 2rem; color: #fff; font-style: italic; }
.split-content p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.list-elegant { list-style: none; border-top: 1px solid var(--color-border); background: #000; }
.list-elegant li { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); font-size: 1rem; color: #fff; display: flex; justify-content: flex-start; gap: 1.5rem; align-items: center; }
.list-elegant li span { color: var(--color-gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* FAQ Section Refined */
.faq-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.5rem; 
  position: relative; 
  z-index: 2; 
  margin-top: 4rem; 
}

.faq-item { 
  background: #080808; 
  border: 1px solid var(--color-border); 
  border-radius: 12px; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
  height: fit-content;
  position: relative;
}

.faq-item:hover { 
  border-color: rgba(255, 255, 255, 0.15); 
  background: #0a0a0a;
}

.faq-item.active { 
  border-color: var(--color-gold); 
  background: #0a0a0a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-question {
  padding: 2.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.faq-question span {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.faq-question i {
  color: var(--color-gold);
  font-size: 0.85rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-answer {
  padding: 0 2.25rem 2.25rem 2.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  display: none;
  font-weight: 300;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-question { padding: 1.75rem; }
  .faq-answer { padding: 0 1.75rem 1.75rem 1.75rem; }
}

.contact-submit-wrapper {
  text-align: center;
  margin-top: 1rem;
}
.contact-submit-btn { padding: 1rem 4rem; width: 100%; }

@keyframes fadeReveal {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cart Sidebar (Minimal) */
.cart-overlay {
  position: fixed !important; inset: 0 !important; width: 100vw; height: 100dvh;
  background: rgba(0,0,0,0.86); z-index: 2147483646 !important;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  isolation: isolate;
}
.cart-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cart-sidebar {
  position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: min(500px, 100vw); height: 100dvh;
  background: var(--color-bg); border-left: 1px solid var(--color-border);
  z-index: 2147483647 !important; padding: 0; display: flex; flex-direction: column;
  transform: translate3d(100%, 0, 0); visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.45s;
  box-shadow: -30px 0 80px rgba(0,0,0,.75);
  isolation: isolate;
  will-change: transform;
}
.cart-sidebar.open { transform: translate3d(0, 0, 0); visibility: visible; transition-delay: 0s; }
body.cart-open { overflow: hidden !important; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.5rem 2.5rem 1.5rem; border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-header h3 { font-size: 1.8rem; font-style: italic; margin: 0; }
.cart-header-sub {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-text-muted); display: block; margin-top: 0.3rem;
}
.close-cart { background: transparent; border: none; color: var(--color-text-muted); font-size: 2rem; font-weight: 300; cursor: pointer; transition: color 0.3s; flex-shrink: 0; }
.close-cart:hover { color: #fff; }
/* cart-body: the scrollable step content area */
.cart-body {
  flex: 1; overflow-y: auto; padding: 2rem 2.5rem; min-height: 0;
}
.cart-body::-webkit-scrollbar { width: 3px; }
.cart-body::-webkit-scrollbar-track { background: transparent; }
.cart-body::-webkit-scrollbar-thumb { background: var(--color-border); }
.cart-items { padding: 0; } /* items sit inside cart-body which already pads */
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-title { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; margin-bottom: 0.3rem; }
.cart-item-price { color: var(--color-text-muted); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.remove-item { color: var(--color-text-muted); background: transparent; border: none; cursor: pointer; font-size: 0.8rem; }
.remove-item:hover { color: #fff; }
.cart-footer { padding: 1.5rem 2.5rem 2rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.cart-total { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.cart-total span:first-child { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-text-muted); }
.cart-total span:last-child { font-family: var(--font-heading); font-size: 2rem; color: #fff; font-style: italic; line-height: 1; }

/* Footer Redesign */
footer {
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 0; position: relative; z-index: 2;
  background: #030303;
  flex-shrink: 0;
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; 
  gap: 0; 
  margin-bottom: 3rem; 
}

.footer-col {
  padding: 0 3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { border-right: none; padding-right: 0; }

.footer-col .logo { margin-bottom: 2.5rem; display: block; }

.footer-col p { 
  color: var(--color-text-muted); 
  font-size: 0.95rem; 
  line-height: 1.8; 
  font-weight: 300;
}

.footer-col h4 { 
  font-family: var(--font-heading); 
  font-size: 1.15rem; 
  font-weight: 600;
  letter-spacing: 0.02em; 
  margin-bottom: 2.5rem; 
  color: #fff; 
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1.25rem; }
.footer-links a { 
  font-size: 0.95rem; 
  color: #fff; 
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  font-weight: 400;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.business-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-item i {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  opacity: 0.8;
}

.info-item span {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.info-item p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: var(--transition);
}

.info-item a:hover { color: var(--color-gold); }

.footer-bottom { 
  padding: 1.25rem 0; 
  border-top: 1px solid var(--color-border); 
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
.footer-bottom-inner p,
.footer-bottom-inner a {
  font-size: 0.75rem !important;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-legal a {
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer-legal a:hover { color: #fff; }
.footer-legal span { opacity: 0.3; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
  .footer-col { border-right: none; padding: 0; }
  .footer-bottom-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile Menu Navigation */
/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}
.contact-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex: 1;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.contact-info-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}
.contact-info-card i {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.contact-info-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.contact-info-card p, .contact-info-card a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1.6;
}
.contact-info-card a:hover {
    color: #fff;
}
.contact-form {
    background: var(--color-surface);
    padding: 4rem;
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 2;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.form-group {
    margin-bottom: 2.5rem;
}
.form-group.full-width {
    grid-column: span 2;
}
.form-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}
.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-bottom-color: #ffffff;
}
textarea.form-control {
    min-height: 100px;
    resize: none;
}
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 16px center;
    cursor: pointer;
    padding: 1rem 2.5rem 1rem 1.2rem !important;
    background-color: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
}
select.form-control:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
select.form-control option {
    background: #0d0d0d !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    font-size: 1rem;
    min-height: 2.5em;
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .contact-form { padding: 2.5rem 1.5rem; }
}

/* Portfolio Modal */
.modal-overlay {
    position: fixed; inset: 0; width: 100%; height: 100%;
    background: rgba(3,3,3,0.94); z-index: 6000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    padding: 2rem;
    isolation: isolate;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.portfolio-modal-inner {
    width: 100%; max-width: 1500px; height: 100%; max-height: 90vh;
    background: var(--color-surface); border: 1px solid var(--color-border);
    position: relative; overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .portfolio-modal-inner { opacity: 1; transform: translateY(0) scale(1); }
body.modal-open { overflow: hidden; }
.modal-close {
    position: absolute; top: 2rem; right: 2.5rem;
    background: transparent; border: none; color: #fff;
    font-size: 3rem; cursor: pointer; z-index: 10;
    transition: var(--transition);
    line-height: 1;
}
.modal-close:hover { color: var(--color-gold); transform: rotate(90deg); }

.modal-body { display: grid; grid-template-columns: 50% 50%; height: 100%; }
.modal-image-container { background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--color-border); }
.modal-image-container img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 1; }
.modal-info { padding: 6rem; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #070707 0%, #030303 100%); }
.modal-info h2 { font-size: 4.5rem; margin-bottom: 2rem; color: #fff; font-style: italic; letter-spacing: -0.02em; }
.modal-info p { font-size: 1.1rem; color: var(--color-text-muted); line-height: 1.9; max-width: 500px; font-weight: 300; }

@media (max-width: 1200px) {
    .modal-info h2 { font-size: 3.2rem; }
    .modal-info { padding: 4rem; }
}
.modal-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.modal-btn-primary, .modal-btn-soft {
  padding: 1.25rem 2.5rem;
}
.contact-info-card:nth-child(2) { transition-delay: 100ms; }
.contact-info-card:nth-child(3) { transition-delay: 200ms; }

@media (max-width: 992px) {
    .portfolio-modal-inner { max-height: 95vh; overflow-y: auto; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image-container { height: 450px; border-right: none; border-bottom: 1px solid var(--color-border); }
    .modal-info { padding: 4rem 2rem; }
}

@media (max-width: 640px) {
    .modal-overlay { padding: 0; align-items: stretch; }
    .portfolio-modal-inner { max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
    .modal-image-container { height: 38dvh; }
    .modal-info { padding: 2rem 1.25rem 3rem; }
    .modal-info h2 { font-size: 2.25rem; margin-bottom: 1rem; }
    .modal-close { position: fixed; top: 0.75rem; right: 0.75rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.8); }
}

.conversion-card {
    margin-top: 2.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: linear-gradient(145deg, #0d0d0d 0%, #050505 58%, #000 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.pricing-footnote {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.conversion-card-head { max-width: 780px; margin-bottom: 1.75rem; }
.conversion-card-head h3 { color: #fff; font-size: clamp(1.65rem, 3vw, 2.35rem); margin: .35rem 0 .75rem; }
.conversion-card-head p { color: #d8d8d8; line-height: 1.75; }
.conversion-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.conversion-table { width: 100%; border-collapse: collapse; background: #070707; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; }
.conversion-table th,.conversion-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.09); text-align: left; }
.conversion-table th { color: #fff; background: rgba(255,255,255,.035); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.conversion-table td { color: #eee; }
.conversion-table tr:last-child td { border-bottom: 0; }
.conversion-steps { margin: 0; padding: .25rem 0 .25rem clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid rgba(255,255,255,.18); list-style: none; counter-reset: conversion; display: grid; gap: 1rem; }
.conversion-steps li { counter-increment: conversion; display: grid; grid-template-columns: 34px 1fr; gap: .75rem; align-items: start; color: #ddd; }
.conversion-steps li::before { content: counter(conversion); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 800; }
.conversion-note { margin: 1.5rem 0 0; color: #c9c9c9; font-size: .92rem; line-height: 1.65; }
.conversion-actions { margin-top: 1.4rem; display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 820px) {
    .conversion-grid { grid-template-columns: 1fr; }
    .conversion-steps { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .conversion-table { font-size: .9rem; }
    .conversion-table th,.conversion-table td { padding: .75rem .6rem; }
}

.hosting-extra-note {
  font-size: 0.82em;
  color: var(--color-gold);
}

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--color-bg); z-index: 200;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    visibility: hidden; opacity: 0; transition: var(--transition);
}
.mobile-menu-overlay.open { visibility: visible; opacity: 1; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-nav-links a { font-size: 1.5rem; color: #fff; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.1em; }
.mobile-nav-links a:hover { color: var(--color-gold); }

/* Absolute Responsiveness */
@media (max-width: 1400px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { border-bottom: 1px solid var(--color-border); }
  .pricing-card:nth-child(even) { border-right: none; }
}
@media (max-width: 1200px) {
  .nav-cta-btn { display: none !important; }
}
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .footer-grid, .addons-grid { grid-template-columns: 1fr; gap: 4rem; }
  .nav-links, .nav-cta-btn { display: none !important; }
  .mobile-menu-btn { display: block; }
  .container { padding: 0 2rem; }
  section:not(#hero), .section-padding { padding-top: 6rem !important; padding-bottom: 6rem !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  .hero h1 { font-size: 4rem; }
  .hero-device-showcase {
    height: 400px;
    transform: scale(0.7);
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .header-content { padding: 0 1.5rem; }
  .pricing-grid, .features-grid, .process-grid, .work-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; padding: 3rem 1.5rem;}
  .hero { padding: 9rem 0 4rem 0; }
  .hero-content { transform: translateY(3.5rem); }
  .hero h1 { font-size: 3.2rem; }
  .hero-subtitle { font-size: 0.65rem; }
  .hero p { font-size: 1rem; }
  .hero-device-showcase {
    height: 250px;
    transform: scale(0.45);
    margin-top: 0;
  }
  .section-header h2 { font-size: 2.5rem; }
  .cart-sidebar { width: 100vw; max-width: none; padding: 0; border-left: 0; }
  .cart-sidebar.open { transform: translate3d(0, 0, 0); }
  .container { padding: 0 1.5rem; }
}
/* Luxury Hosting Banner Image Card */
.hosting-hero-card {
  min-height: 520px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 5rem 4rem;
  border: 1px solid #222222 !important;
  width: 100%;
  background-image: linear-gradient(to right, rgba(5,5,5,0.95) 30%, rgba(5,5,5,0.4) 100%), url('../images/hosting-server-bw.png') !important;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.hero-card-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}
.hosting-hero-overline-wrapper {
  margin-bottom: 1rem;
}
.hosting-hero-overline-wrapper .overline {
  margin-bottom: 0;
  color: #ffffff !important;
}
.hero-card-content .overline {
  color: #ffffff !important;
  margin-bottom: 1.2rem;
}
.hero-card-content h3 {
  font-family: var(--font-heading);
  font-size: 3.2rem !important;
  color: #ffffff !important;
  margin: 0 0 1.5rem 0;
  font-weight: 500 !important;
  line-height: 1.15;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
}
.hero-card-content p {
  color: #ffffff !important;
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0;
}
.hosting-hero-card .hero-card-content p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

@media (max-width: 900px) {
  .hosting-hero-card {
    min-height: 420px;
    padding: 3rem 2rem;
  }
  .hero-card-content h3 {
    font-size: 2.3rem;
  }
}

/* 3-Tier Showcase Grid */
.hosting-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.hosting-tier-card {
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  color: #ffffff;
}
.hosting-tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(22, 22, 22, 0.9);
}
.hosting-tier-card.featured {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(8, 8, 8, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 35px rgba(255, 255, 255, 0.08) !important;
  transform: scale(1.03);
  z-index: 2;
}
.hosting-tier-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.95), 0 0 45px rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
}
.tier-badge {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}
.featured-badge {
  color: #000000 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  font-weight: 800;
}
.tier-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600 !important;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 1rem;
}
.hosting-tier-card.featured .tier-price {
  color: #ffffff !important;
}
.tier-price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: #e0e0e0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hosting-tier-card.featured .tier-price span {
  color: #f0f0f0 !important;
}
.tier-desc {
  font-size: 1rem;
  color: #e8e8e8 !important;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hosting-tier-card.featured .tier-desc {
  color: #ffffff !important;
}
.tier-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 2rem;
}
.hosting-tier-card.featured .tier-divider {
  background: rgba(255,255,255,0.25);
}
.tier-features {
  list-style: none;
  margin: 0 0 2.5rem 0;
  padding: 0;
  flex: 1;
}
.tier-features li {
  font-size: 0.9rem;
  color: #dddddd;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hosting-tier-card.featured .tier-features li {
  color: #ffffff !important;
  border-bottom-color: rgba(255,255,255,0.1);
}
.tier-features li:last-child {
  border-bottom: none;
}
.tier-features li i {
  color: #ffffff;
  font-size: 0.75rem;
}
.hosting-tier-card.featured .tier-features li i {
  color: #ffffff !important;
}
@media (max-width: 1000px) {
  .hosting-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hosting-tier-card.featured {
    transform: scale(1);
  }
  .hosting-tier-card.featured:hover {
    transform: translateY(-6px);
  }
}

.hosting-bottom-note {
  margin-top: 3.5rem;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}
.hosting-bottom-note-icon {
  font-size: 1.8rem;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.hosting-bottom-note h4 { margin: 0 0 0.5rem 0; font-family: var(--font-heading); font-size: 1.3rem; color: #ffffff; font-weight: 700; }
.hosting-bottom-note p { margin: 0; color: #e8e8e8; font-size: 1rem; line-height: 1.7; }
.hosting-bottom-note strong { color: #ffffff; }
/* Mockups Showcase Row - Full Width and Single Row */
.mockups-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    gap: 0;
}

.mockup-item {
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background-size: cover;
    background-position: top center;
    position: relative;
    overflow: hidden;
    padding: 3rem;
    cursor: pointer;
    transition: var(--transition);
    /* Prevent subpixel grid hairline cracks/gaps between images */
    width: calc(100% + 1px);
    margin-right: -1px;
}

.mockup-item:last-child {
    width: 100%;
    margin-right: 0;
}

/* Linear gradient overlay for mockups (similar to work-item) */
.mockup-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3,3,3,0.85) 0%, rgba(3,3,3,0.2) 60%, rgba(3,3,3,0) 100%);
    z-index: 1;
    transition: var(--transition);
}

.mockup-item:hover::before {
    background: rgba(3, 3, 3, 0.4);
}

/* Background image classes for mockups */
.mockup-adulthood { background-image: url('../images/adulthood-v2.webp'); }
.mockup-beyond { background-image: url('../images/beyond-stationary-large.webp'); }
.mockup-inksplash { background-image: url('../images/ink-splash-designs-large-v2.webp'); }
.mockup-luscious { background-image: url('../images/Luscious-Locks-Large.webp'); }

/* Content inside mockup */
.mockup-content {
    position: relative;
    z-index: 3;
    transform: translateY(10px);
    transition: var(--transition);
    opacity: 0.8;
}

.mockup-item:hover .mockup-content {
    transform: translateY(0);
    opacity: 1;
}

.mockup-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.mockup-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
    font-style: italic;
}

/* Magnifying glass overlay on hover */
.mockup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.mockup-overlay i {
    font-size: 2.25rem;
    color: var(--color-gold);
    transform: scale(0.75);
    transition: all 0.4s ease;
}

.mockup-item:hover .mockup-overlay {
    opacity: 1;
}

.mockup-item:hover .mockup-overlay i {
    transform: scale(1);
}

/* Gold bottom accent line matching work-item style */
.mockup-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.6s ease;
    z-index: 4;
}

.mockup-item:hover::after {
    width: 100%;
}

/* Responsive constraints for mockups showcase */
@media (max-width: 1100px) {
    .mockups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mockup-item {
        width: calc(100% + 1px);
        margin-right: -1px;
    }
    .mockup-item:nth-child(2n) {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .mockups-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .mockup-item {
        width: 100%;
        margin-right: 0;
    }
}

/* Image Modal (Full Screen & Scrollable) */
.image-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 3, 3, 0.98); z-index: 3000;
  display: none; flex-direction: column; align-items: center; 
  overflow-y: auto; padding: 6rem 2rem;
  opacity: 0; transition: opacity 0.4s ease;
}
.image-modal.open { display: flex; opacity: 1; }
.image-modal-content { 
  width: 90%; max-width: 1400px; height: auto; 
  border: 1px solid var(--color-border); 
  box-shadow: 0 50px 100px rgba(0,0,0,0.8); 
  cursor: default;
}
.image-modal-close { 
  position: fixed; top: 2rem; right: 3rem; color: #fff; font-size: 3rem; 
  cursor: pointer; transition: var(--transition); 
  z-index: 3001;
  background: rgba(0,0,0,0.5); width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.image-modal-close:hover { color: var(--color-gold); transform: rotate(90deg); background: rgba(0,0,0,0.8); }
/* Animated Dot Matrix Background */
.dot-matrix-bg {
  position: relative;
  overflow: hidden;
}

.dot-matrix-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  background-position: 0 0;
  z-index: 0;
  pointer-events: none;
  animation: dotMatrixMove 60s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.dot-matrix-bg > .container {
  position: relative;
  z-index: 1;
}

@keyframes dotMatrixMove {
  0% { background-position: 0 0; }
  100% { background-position: 30px 30px; }
}

@media (max-width: 768px) {
  .hero-card-content h3 { font-size: 2.2rem; }
  .hosting-glass-card { padding: 2rem; min-height: auto; }
}

/* Multi-Step Form Styles */

/* Progress track */
.form-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}
.form-steps-indicator::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}
/* Gold fill bar driven by a CSS variable set by JS */
.form-steps-indicator::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    height: 2px;
    background: var(--color-gold);
    z-index: 1;
    width: var(--progress, 0%);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual step bubble + label wrapper */
.step-indicator-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}
.step-indicator {
    width: 36px;
    height: 36px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}
.step-indicator.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 0 0 4px rgba(193, 166, 141, 0.15);
}
.step-indicator.completed {
    background: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
    cursor: pointer;
}
.step-indicator.completed::before {
    content: '✓';
    font-size: 0.85rem;
}
/* Hide step number when completed */
.step-indicator.completed .step-num { display: none; }

.step-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 60px;
    line-height: 1.3;
    transition: color 0.3s;
    white-space: nowrap;
}
.step-indicator-wrap.active .step-label { color: var(--color-gold); }

/* Steps */
.form-step {
    display: none;
    animation: stepReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes stepReveal {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.form-step.active { display: block; }

/* Step heading */
.step-title {
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 2.5rem;
    font-style: italic;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.step-title::before {
    content: attr(data-icon);
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1rem;
    color: var(--color-gold);
}

/* Navigation buttons */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.step-actions .next-step { margin-left: auto; }
.step-actions button { min-width: 140px; }

/* Inline step progress text */
.step-progress-text {
    font-size: 0.7rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* Custom Checkbox & Radio card-style */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.custom-checkbox, .custom-radio {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}
.custom-checkbox:hover, .custom-radio:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
}
.custom-checkbox:has(input:checked),
.custom-radio:has(input:checked) {
    color: #fff;
    border-color: var(--color-gold);
    background: rgba(193, 166, 141, 0.06);
}
.custom-checkbox input, .custom-radio input {
    accent-color: var(--color-gold);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.radio-inline {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.radio-inline .custom-radio {
    min-width: 120px;
}

/* File upload rows */
.file-upload-group { margin-top: 1rem; }
.file-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
}
.file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.25rem;
    border: 1px dashed var(--color-border);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    gap: 1rem;
    transition: border-color 0.3s;
    cursor: pointer;
}
.file-label:hover { border-color: var(--color-gold); }
.file-label input[type="file"] {
    color: var(--color-text);
    font-size: 0.78rem;
    background: transparent;
    cursor: pointer;
}

/* Confirmation block */
.confirmation-group {
    background: rgba(193, 166, 141, 0.05);
    padding: 1.75rem;
    border-left: 3px solid var(--color-gold);
    border-radius: 0 4px 4px 0;
}
.confirmation-group .custom-checkbox {
    border: none;
    padding: 0;
    background: transparent;
    font-size: 0.95rem;
    color: var(--color-text);
}
.confirmation-group .custom-checkbox:hover { background: transparent; border: none; }

/* Field error highlights */
.field-error {
    border-bottom-color: #e05252 !important;
    color: #e05252 !important;
}
.field-error::placeholder { color: rgba(224, 82, 82, 0.5); }
.radio-inline.field-error, .radio-grid.field-error {
    outline: 1px solid rgba(224, 82, 82, 0.4);
    outline-offset: 6px;
    border-radius: 4px;
}

/* Responsive tweaks for form */
@media (max-width: 768px) {
    .form-steps-indicator { gap: 0; }
    .step-label { display: none; }
    .checkbox-grid, .radio-grid { grid-template-columns: repeat(2, 1fr); }
    .radio-inline { flex-direction: column; gap: 0.75rem; }
    .step-actions { flex-wrap: wrap; gap: 1rem; }
    .step-actions button { min-width: 0; flex: 1; }
}
@media (max-width: 480px) {
    .checkbox-grid, .radio-grid { grid-template-columns: 1fr; }
}

/* Pricing Card Inline Style Cleanups */
.card-title-long {
    font-size: 1.8rem !important;
}

.card-price-text {
    font-size: 1.35rem !important;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    min-height: 3.75rem;
}

.card-desc-stretched {
    flex-grow: 1;
}

/* Packages Section & Video Background z-index adjustments */
.packages-section {
    position: relative !important;
    overflow: hidden !important;
    z-index: 2; /* higher stacking context than 3 vertical lines */
    background: transparent !important;
}

/* Replaced inline styles for Packages Section layout */
.packages-header-container,
.packages-tabs-container,
.packages-wrapper-layer {
    position: relative;
    z-index: 1;
}

.packages-tabs-container {
    margin-bottom: 3rem;
}

.packages-pricing-container {
    padding: 0;
}

.packages-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}

/* Hosting start button cleanups */
.btn-hosting-start {
    background: transparent;
    border: 1px solid #fff !important;
    padding: 0.75rem 2rem;
    font-size: 0.7rem;
    margin-top: 1.5rem;
    display: inline-block;
    color: #fff !important;
}

.btn-hosting-start:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* Pricing Grid 4-Column Layout */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Tailored Solutions Standalone Row */
.tailored-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

.tailored-card {
    width: 100%;
    max-width: 100% !important; /* Spans the full container width */
    border: 1px solid var(--color-border) !important;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center contents horizontally */
    text-align: center;
    padding: 5rem 3rem;
}

.tailored-card .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

.tailored-card .card-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tailored-card .card-price {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-gold);
    justify-content: center;
    min-height: auto;
    margin-bottom: 0;
}

.tailored-card .card-desc {
    max-width: 800px; /* Restrict description width for readability */
    margin: 0 auto 3rem auto;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
    border-bottom: none; /* Remove bottom border */
    padding-bottom: 0;
}

.tailored-card .btn-tailored {
    width: auto;
    min-width: 250px;
    padding: 1rem 3rem;
    margin: 0 auto;
}

.tailored-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

/* ─── Legal Modals (Privacy Policy & Terms) ─────────────────────────────────── */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.legal-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.legal-modal-inner {
    width: 100%;
    max-width: 1200px;
    height: 90vh;      /* explicit height so grid rows have a bounded dimension */
    max-height: 90vh;
    display: grid;
    grid-template-columns: 380px 1fr;
    grid-template-rows: 1fr; /* single row fills the height */
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.9);
    animation: legalModalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
    position: relative;
}

@keyframes legalModalSlide {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

/* Left image column */
.legal-modal-image {
    position: relative;
    background-image: url('../images/hosting-server-bw.webp');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.legal-modal-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.legal-modal-image-branding {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-modal-image-branding .overline {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.legal-modal-image-branding p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Right content column */
.legal-modal-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0; /* critical: allows flex column to shrink so body can scroll */
}

.legal-modal-header {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
    background: var(--color-bg);
}

.legal-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

.legal-modal-header .legal-modal-updated {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.5rem;
    display: block;
}

.legal-modal-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    margin-left: 1rem;
    margin-top: -0.25rem;
}

.legal-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    flex-grow: 1;
    scroll-behavior: smooth;
}

/* Scrollbar styling for legal modal */
.legal-modal-body::-webkit-scrollbar { width: 4px; }
.legal-modal-body::-webkit-scrollbar-track { background: transparent; }
.legal-modal-body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.legal-modal-body::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* Typography inside legal modals */
.legal-modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    font-style: italic;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-modal-body h3:first-child { margin-top: 0; }

.legal-modal-body p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.legal-modal-body ul li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.legal-modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    background: var(--color-gold);
    border-radius: 50%;
}

.legal-modal-body a {
    color: var(--color-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-modal-body a:hover { opacity: 0.75; }

/* Responsive: stack to single column on smaller screens */
@media (max-width: 860px) {
    .legal-modal-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 1fr;
        height: 95vh;
        max-height: 95vh;
    }

    .legal-modal-image {
        min-height: 200px;
    }

    .legal-modal-image-branding { padding: 1.5rem 2rem; }

    .legal-modal-header { padding: 1.5rem 2rem 1rem; }
    .legal-modal-header h2 { font-size: 1.5rem; }
    .legal-modal-body { padding: 1.5rem 2rem; }
}

@media (max-width: 480px) {
    .legal-modal-overlay { padding: 0; }
    .legal-modal-inner {
        height: 100vh;
        max-height: 100vh;
        grid-template-rows: 160px 1fr;
        border: none;
    }
    .legal-modal-image { min-height: 160px; }
}

/* ─── Builder Step Indicators ────────────────────────────────────────────────── */
.builder-steps {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.builder-step-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    min-width: 56px;
}

.builder-step-bubble {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    background: transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.builder-step-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    transition: color 0.3s;
    text-align: center;
}

.builder-step-connector {
    flex: 1;
    height: 1px;
    background: var(--color-border);
    margin-top: 15px;
    transition: background 0.4s;
}

.builder-step-wrap.active .builder-step-bubble {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 10px rgba(193, 166, 141, 0.2);
}

.builder-step-wrap.active .builder-step-label { color: #fff; }

.builder-step-wrap.completed .builder-step-bubble {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: #000;
}

.builder-step-connector.completed { background: var(--color-gold); }

/* Step panels */
.builder-step-panel { display: none; }
.builder-step-panel.active { display: block; }

/* Section label inside steps */
.step-section-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.step-section-intro {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Empty cart state */
.cart-empty-msg {
    text-align: center;
    padding: 2.5rem 0;
    color: var(--color-text-muted);
}

.cart-empty-msg i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.3;
}

.cart-empty-msg p {
    font-size: 0.83rem;
    margin-bottom: 1rem;
}

.step-hint-link {
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.2s;
}

.step-hint-link:hover { opacity: 0.7; }

/* ─── Hosting Picker (inside sidebar Step 2) ─────────────────────────────────── */
.hosting-picker-card {
    border: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.75rem;
    background: transparent;
}

.hosting-picker-card:hover { border-color: rgba(255,255,255,0.18); }

.hosting-picker-card.selected {
    border-color: var(--color-gold);
    background: rgba(193, 166, 141, 0.07);
}

.hosting-picker-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hosting-picker-card.selected .hosting-picker-check {
    border-color: var(--color-gold);
    background: var(--color-gold);
}

.hosting-picker-card.selected .hosting-picker-check::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}

.hosting-picker-info { flex: 1; }
.hosting-picker-info h4 { font-size: 0.85rem; color: #fff; margin-bottom: 0.2rem; }
.hosting-picker-info p { font-size: 0.72rem; color: var(--color-text-muted); line-height: 1.4; }

.hosting-picker-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-gold);
    text-align: right;
    margin-left: 0.75rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.hosting-picker-price span {
    display: block;
    font-size: 0.58rem;
    font-family: var(--font-body);
    font-style: normal;
    color: var(--color-text-muted);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.skip-step-link {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.68rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.skip-step-link:hover { color: #fff; }

/* ─── Add-on Picker (inside sidebar Step 3) ──────────────────────────────────── */
.addon-picker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: opacity 0.2s;
}

.addon-picker-item:last-child { border-bottom: none; }

.addon-picker-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.addon-picker-item.selected .addon-picker-check {
    border-color: var(--color-gold);
    background: var(--color-gold);
}

.addon-picker-item.selected .addon-picker-check::after {
    content: '✓';
    font-size: 0.6rem;
    color: #000;
    font-weight: 700;
    line-height: 1;
}

.addon-picker-info { flex: 1; }
.addon-picker-info h4 { font-size: 0.82rem; color: #fff; margin-bottom: 0.15rem; }
.addon-picker-info p { font-size: 0.7rem; color: var(--color-text-muted); }

.addon-picker-price {
    font-size: 0.82rem;
    color: var(--color-gold);
    font-style: italic;
    font-family: var(--font-heading);
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

.addon-picker-price small {
    font-size: 0.6rem;
    font-style: normal;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    display: block;
}

/* ─── Builder Navigation ─────────────────────────────────────────────────────── */
.builder-nav {
    display: flex;
    gap: 0.75rem;
}

.builder-nav .btn {
    flex: 1;
    font-size: 0.73rem;
    padding: 0.9rem 1rem;
}

/* ─── Quote Form Panel ───────────────────────────────────────────────────────── */
.quote-form-panel {
    display: none;
}

.quote-form-group {
    margin-bottom: 1rem;
}

.quote-form-group label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.quote-input {
    width: 100%;
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding: 0.75rem !important;
}

/* ─── Hosting Pricing Grid (on the hosting page section) ─────────────────────── */
.hosting-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--color-border);
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}


/* =========================================
   BLACK AND WHITE MINIMALIST THEME RHYTHM
   ========================================= */

/* Light Theme Sections (Selected Work, Features, Process, Mockups, FAQ, Contact) */
.theme-light {
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
}
.theme-light .section-header h2 {
    color: #0a0a0a !important;
}
.theme-light .overline {
    color: #000000 !important;
}
.theme-light p {
    color: #555555 !important;
}

/* Features inside Light Theme */
.theme-light .feature-card {
    background: #ffffff !important;
    border-color: #e5e5e5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.theme-light .feature-card:hover {
    border-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.theme-light .feature-card h3 {
    color: #0a0a0a;
}
.theme-light .feature-card i {
    color: #000000 !important;
}

/* Process inside Light Theme (Outlined Cards) */
.theme-light .process-step {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.theme-light .process-number {
    background: linear-gradient(180deg, #000000 0%, rgba(0,0,0,0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.theme-light .step-badge {
    color: #333333;
    border-color: rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.03);
}
.theme-light .process-step h4 {
    color: #0a0a0a;
}
.theme-light .process-step p {
    color: #555555;
}

/* Portfolio / Selected Work inside Light Theme (Visual Image Showcase) */
.theme-light .work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}
.theme-light .work-item {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background-size: cover !important;
    background-position: top center !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.theme-light .work-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%) !important;
    z-index: 1;
    transition: var(--transition);
}
.theme-light .work-item:hover {
    transform: translateY(-8px);
    border-color: #000000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.theme-light .work-item:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%) !important;
}
.theme-light .work-item > * {
    position: relative;
    z-index: 2;
    transform: translateY(10px);
    transition: var(--transition);
    opacity: 0.9;
}
.theme-light .work-item:hover > * {
    transform: translateY(0);
    opacity: 1;
}
.theme-light .work-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    font-style: normal;
    font-weight: 700;
}
.theme-light .work-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #cccccc !important;
    margin-bottom: 0.5rem;
}
.theme-light .work-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 3px;
    background: #ffffff;
    transition: width 0.6s ease;
    z-index: 3;
}
.theme-light .work-item:hover::after {
    width: 100%;
}
@media (max-width: 768px) {
    .theme-light .work-grid {
        grid-template-columns: 1fr;
    }
    .theme-light .work-item {
        padding: 2rem;
    }
    .theme-light .work-title {
        font-size: 1.8rem;
    }
}

/* Why Us / Ownership (Split Sections & List Elegant) in Light Theme */
.theme-light .split-content h2 {
    color: #0a0a0a !important;
}
.theme-light .split-content p {
    color: #555555 !important;
}
.theme-light .list-elegant {
    background: #ffffff !important;
    border-top: 1px solid #e0e0e0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 0 1.5rem;
}
.theme-light .list-elegant li {
    color: #1a1a1a !important;
    border-bottom: 1px solid #eeeeee !important;
}
.theme-light .list-elegant li:last-child {
    border-bottom: none !important;
}
.theme-light .list-elegant li span {
    color: #000000 !important;
    font-weight: 700;
    background: #f0f0f0;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
}

/* Mockups inside Light Theme */
.theme-light .mockup-item {
    border: 1px solid #e0e0e0;
}
.theme-light .mockup-item:hover {
    border-color: #000000;
}

/* FAQ inside Light Theme */
.theme-light .faq-item {
    background: #ffffff !important;
    border-color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.theme-light .faq-item:hover {
    background: #ffffff !important;
    border-color: #1a1a1a;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.theme-light .faq-item.active {
    background: #ffffff !important;
    border-color: #000000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.theme-light .faq-question span {
    color: #0a0a0a;
}
.theme-light .faq-question i {
    color: #000000 !important;
}
.theme-light .faq-answer {
    color: #555555;
}

/* Contact inside Light Theme */
.theme-light .contact-form {
    background: #ffffff !important;
    border-color: #e0e0e0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.theme-light .contact-info-card {
    background: #ffffff !important;
    border-color: #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.theme-light .contact-info-card:hover {
    border-color: #000000;
}
.theme-light .contact-info-card h4 {
    color: #0a0a0a;
}
.theme-light .contact-info-card i {
    color: #000000 !important;
}
.theme-light .form-control {
    color: #0a0a0a !important;
    border-bottom-color: #cccccc;
}
.theme-light .form-control:focus {
    border-bottom-color: #000000;
}
.theme-light .form-group label {
    color: #555555;
}


/* Footer inside Light Theme */
footer.theme-light {
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
    border-top: 1px solid #e0e0e0 !important;
}
footer.theme-light .footer-col {
    border-right-color: #e0e0e0;
}
footer.theme-light .footer-col h4 {
    color: #0a0a0a;
}
footer.theme-light .footer-col p {
    color: #555555;
}
footer.theme-light .footer-links a {
    color: #333333;
}
footer.theme-light .footer-links a:hover {
    color: #000000;
}
footer.theme-light .info-item i {
    color: #000000 !important;
}
footer.theme-light .info-item span {
    color: #0a0a0a;
}
footer.theme-light .info-item a {
    color: #333333;
}
footer.theme-light .info-item a:hover {
    color: #000000;
}
footer.theme-light .footer-bottom {
    border-top-color: #e0e0e0;
}
footer.theme-light .footer-bottom-inner {
    color: #666666;
}
footer.theme-light .footer-legal a {
    color: #666666;
}
footer.theme-light .footer-legal a:hover {
    color: #000000;
}
footer.theme-light .logo-img {
    filter: invert(1) brightness(0);
}

/* =========================================
   TOP HALF REDESIGN & RESPONSIVENESS SHOWCASE
   ========================================= */

/* Updated Hero Content - Fullscreen 1080p Optimization */
.responsiveness-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
  overflow: visible;
}
.hero-content {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 2rem;
}
.hero h1 {
    font-size: 4.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
}
.hero-sub-advert-text strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.35rem;
}
.hero-highlight {
    color: #ffffff;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
}

/* Hero Packages Advertising Preview */
.hero-packages-preview {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.hero-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.hero-pkg-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.hero-pkg-pill:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}
.hero-pkg-pill.highlighted {
    background: #ffffff;
    border-color: #ffffff;
}
.hero-pkg-pill.highlighted .pkg-name,
.hero-pkg-pill.highlighted .pkg-price,
.hero-pkg-pill.highlighted i {
    color: #050505 !important;
}
.hero-pkg-pill.highlighted:hover {
    background: #f0f0f0;
}
.hero-pkg-pill .pkg-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.hero-pkg-pill .pkg-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.hero-pkg-pill .pkg-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: inherit;
    opacity: 0.8;
}
.hero-pkg-pill i {
    position: absolute;
    top: 1.75rem;
    right: 1.5rem;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.hero-pkg-pill:hover i {
    opacity: 1;
    transform: translateX(4px);
}

/* Dynamic Interactive Responsiveness Section */
.resp-control-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2.5rem auto 3.5rem auto;
    max-width: 850px;
}
.resp-tab-btn {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cccccc;
    padding: 0.75rem 1.4rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}
.resp-tab-btn:hover {
    background: rgba(40, 40, 40, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}
.resp-tab-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.resp-stage-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 40px;
    overflow: visible;
}
.resp-showcase {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 540px;
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.resp-dev-el {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.resp-dev-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 20;
}
.resp-dev-el:hover .resp-dev-label,
.resp-showcase.view-desktop .device-desktop .resp-dev-label,
.resp-showcase.view-laptop .device-laptop .resp-dev-label,
.resp-showcase.view-tablet .device-tablet .resp-dev-label,
.resp-showcase.view-phone .device-phone .resp-dev-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Dynamic State Modes */
.resp-showcase.view-desktop .device-desktop {
    transform: translateX(-50%) scale(1.1) translateY(-10px);
    z-index: 10;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.25));
}
.resp-showcase.view-desktop .device-laptop,
.resp-showcase.view-desktop .device-tablet,
.resp-showcase.view-desktop .device-phone {
    opacity: 0.25;
    filter: blur(4px);
    transform: scale(0.8) translateY(30px);
}

.resp-showcase.view-laptop .device-laptop {
    transform: scale(1.25) translateX(180px) translateY(-30px);
    z-index: 10;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.25));
}
.resp-showcase.view-laptop .device-desktop,
.resp-showcase.view-laptop .device-tablet,
.resp-showcase.view-laptop .device-phone {
    opacity: 0.25;
    filter: blur(4px);
    transform: scale(0.8) translateY(30px);
}

.resp-showcase.view-phone .device-phone {
    transform: scale(1.35) translateX(-280px) translateY(-40px);
    z-index: 10;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}
.resp-showcase.view-phone .device-desktop,
.resp-showcase.view-phone .device-laptop,
.resp-showcase.view-phone .device-tablet {
    opacity: 0.25;
    filter: blur(4px);
    transform: scale(0.8) translateY(30px);
}

.resp-showcase.view-tablet .device-tablet {
    transform: scale(1.25) translateX(-130px) translateY(-30px);
    z-index: 10;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}
.resp-showcase.view-tablet .device-desktop,
.resp-showcase.view-tablet .device-laptop,
.resp-showcase.view-tablet .device-phone {
    opacity: 0.25;
    filter: blur(4px);
    transform: scale(0.8) translateY(30px);
}

/* Hover Highlight Mode */
.resp-showcase .resp-dev-el.highlight-dev {
    transform: scale(1.08) translateY(-10px);
    z-index: 15;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.35));
}

.work-item-renilla {
  background-position: 50% 18%;
  cursor: pointer;
}

/* Interactive Feature Cards Grid */
.resp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 0 !important;
}
.resp-feature-card {
    background: rgba(13, 13, 13, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem 1.6rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.resp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.resp-feature-card:hover,
.resp-feature-card.active-card {
    background: rgba(25, 25, 25, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.08);
}
.resp-feature-card:hover::before,
.resp-feature-card.active-card::before {
    opacity: 1;
}
.resp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.resp-num {
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
}
.resp-card-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-weight: 500;
}
.resp-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}
.resp-feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #cccccc;
    margin: 0;
}

@media (max-width: 1200px) {
    .resp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .resp-showcase {
        transform: scale(0.75);
        height: 440px;
    }
    .hero h1 {
        font-size: 4.5rem;
    }
}
@media (max-width: 992px) {
    .hero-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}
@media (max-width: 768px) {
    .resp-features-grid {
        grid-template-columns: 1fr;
    }
    .resp-showcase {
        transform: scale(0.5);
        height: 300px;
    }
    .resp-stage-container {
        min-height: 330px;
    }
    .resp-control-hub {
        gap: 0.5rem;
    }
    .resp-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .hero-packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Mockup Showcase: poster positions relative to .hero section */
.hero-showcase-container {
    display: none; /* No longer used - images are now in .hero-mockup-stage */
}

/* Two-Column Subscription Advert below hero heading */
.hero-sub-advert {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2.5rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.6rem 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-sub-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}
.hero-sub-advert-text p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}
.hero-sub-advert-text p strong {
    color: #ffffff;
    font-weight: 700;
}
.hero-sub-advert-cta {
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .hero-sub-advert {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.4rem;
    }
    .hero-sub-advert-cta {
        display: flex;
        justify-content: center;
    }
}

/* Center: Pure Minimalist Subscription Text (No Box, No Clutter) */
.sub-center-showcase {
    position: relative;
    z-index: 20;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
}
/* Single Inline CTA Row */
.sub-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 60px;
    padding: 0.85rem 1.4rem 0.85rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}
.sub-cta-text {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 400;
    white-space: nowrap;
}
.sub-cta-text strong {
    color: #ffffff;
    font-weight: 700;
}
.sub-pill-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.sub-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.sub-heading {
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    color: #ffffff;
    margin: 0 0 1.2rem 0 !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.sub-description {
    font-size: 1.05rem;
    color: #cccccc;
    margin: 0 auto 2.2rem auto !important;
    line-height: 1.6;
    max-width: 480px;
}
.sub-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.sub-price {
    font-size: 1.1rem;
    color: #aaaaaa;
    font-weight: 500;
}
.sub-price strong {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 800;
    font-family: var(--font-body);
    letter-spacing: -0.03em;
    margin: 0 0.2rem;
}
.sub-price span {
    font-size: 0.85rem;
    color: #aaaaaa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sub-btn {
    padding: 1rem 2.8rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.sub-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.35);
    transform: translateY(-2px) scale(1.03);
}

/* Diagonal Website Mockup Posters (No Card UI, Pure Website Landing Pages) */
.diagonal-projects-grid {
    position: static;
}
.work-mockup-poster {
    position: absolute;
    background: #080808 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.poster-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1rem;
    border-radius: 14px;
    text-align: center;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transform: translateY(140%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
}

/* Hover Inspection Effect */
.work-mockup-poster:hover {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 45px 110px rgba(0, 0, 0, 0.98), 0 0 45px rgba(255, 255, 255, 0.2);
    z-index: 50 !important;
    opacity: 1 !important;
}
.diag-left-outer:hover, .diag-left-mid:hover, .diag-left-inner:hover {
    transform: scale(1.04) !important;
}
.diag-right-outer:hover, .diag-right-mid:hover, .diag-right-inner:hover {
    transform: scale(1.04) !important;
}
.work-mockup-poster:hover .poster-img {
    transform: scale(1.05);
}
.work-mockup-poster:hover .poster-label {
    transform: translateY(0);
}

/* Six-Poster Layout: 3 per side, straight/upright, centralized vertically and stepping down toward center */
/* LEFT SIDE */
.diag-left-outer {
    left: -3%;
    top: 18%;
    width: 330px;
    height: 520px;
    transform: none;
    z-index: 5;
}
.diag-left-mid {
    left: 10%;
    top: 32%;
    width: 265px;
    height: 415px;
    transform: none;
    z-index: 4;
}
.diag-left-inner {
    left: 21%;
    top: 45%;
    width: 200px;
    height: 310px;
    transform: none;
    z-index: 3;
}

/* RIGHT SIDE */
.diag-right-inner {
    right: 21%;
    top: 45%;
    width: 200px;
    height: 310px;
    transform: none;
    z-index: 3;
}
.diag-right-mid {
    right: 10%;
    top: 32%;
    width: 265px;
    height: 415px;
    transform: none;
    z-index: 4;
}
.diag-right-outer {
    right: -3%;
    top: 18%;
    width: 330px;
    height: 520px;
    transform: none;
    z-index: 5;
}

/* Responsive Handling */
@media (max-width: 1400px) {
    .diag-left-outer  { left: -2%; top: 18%; width: 280px; height: 450px; }
    .diag-left-mid    { left: 9%;  top: 32%; width: 225px; height: 358px; }
    .diag-left-inner  { left: 19%; top: 45%; width: 175px; height: 272px; }
    .diag-right-inner { right: 19%;top: 45%; width: 175px; height: 272px; }
    .diag-right-mid   { right: 9%; top: 32%; width: 225px; height: 358px; }
    .diag-right-outer { right: -2%;top: 18%; width: 280px; height: 450px; }
}
@media (max-width: 1150px) {
    .hero-showcase-container {
        display: flex;
        flex-direction: column;
        gap: 3.5rem;
        min-height: auto;
        padding: 2rem 1rem;
        margin-top: 3.5rem;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .sub-center-showcase {
        order: 1;
        max-width: 500px;
    }
    .diagonal-projects-grid {
        position: relative;
        width: 100%;
        max-width: 960px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        order: 2;
    }
    .work-mockup-poster {
        position: relative !important;
        top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
        width: 100% !important;
        height: 300px !important;
        transform: none !important;
        animation: none !important;
        margin: 0 !important;
        opacity: 1 !important;
    }
}
@media (max-width: 1080px) {
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}
@media (max-width: 768px) {
    .sub-heading {
        font-size: 1.7rem !important;
    }
    .sub-action-bar {
        flex-direction: column;
        gap: 1.2rem;
    }
    .sub-btn {
        width: 100%;
        justify-content: center;
    }
    .diagonal-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    .standard-card {
        padding: 2rem 1.75rem;
    }
}

/* WebBuildEx Parallax Advertising Section (Signature Monochrome Aesthetic) */
.webbuildex-parallax-section {
    position: relative;
    padding: 10rem 0 !important;
    background-image: url(../images/webbuildex-vivid-bg.png) !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}
.parallax-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(5, 5, 5, 0.35) 50%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
}
.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}
.parallax-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #ffffff;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}
.webbuildex-parallax-section h2 {
    font-size: 3.4rem;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: #ffffff;
}
.text-gradient-silver {
    background: linear-gradient(135deg, #ffffff 0%, #bbbbbb 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.parallax-desc {
    font-size: 1.15rem;
    color: #e8e8e8;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.8;
}
.parallax-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.parallax-btn {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #000000 !important;
    padding: 1rem 2.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.parallax-btn:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}
.parallax-features-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
}
.pf-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #eeeeee;
    font-weight: 500;
}
.pf-item i {
    color: #ffffff;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .webbuildex-parallax-section {
        padding: 5rem 0;
        background-attachment: scroll;
    }
    .webbuildex-parallax-section h2 {
        font-size: 2.4rem;
    }
    .parallax-features-row {
        gap: 1.5rem;
    }
}


/* Auto-Cycling Hero Mockup Carousel (Faded out to the far left and right) */
.hero-carousel-container {
    width: 100%;
    max-width: 1400px;
    margin: 2.5rem auto 3.5rem auto;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    background: transparent !important;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 2%, rgba(0, 0, 0, 1) 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 2%, rgba(0, 0, 0, 1) 98%, transparent 100%);
}
.hero-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: heroCarouselScroll 40s linear infinite;
}
.hero-carousel-track:hover {
    animation-play-state: paused;
}
@keyframes heroCarouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hero-carousel-card {
    flex: 0 0 300px;
    height: 195px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #080808;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}
.hero-carousel-card img {
    width: calc(100% + 4px);
    margin-left: -2px;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform-origin: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-carousel-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.65rem 0.8rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-carousel-card:hover {
    transform: scale(1.06) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.98), 0 0 30px rgba(255, 255, 255, 0.15);
    z-index: 10;
}
.hero-carousel-card:hover img {
    transform: scale(1.05);
}
.hero-carousel-card:hover .hero-carousel-label {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-carousel-container {
        margin: 2rem auto 2.5rem auto;
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 1) 96%, transparent 100%);
    }
    .hero-carousel-card {
        flex: 0 0 240px;
        height: 155px;
    }
}
/* Accessibility and rendering safeguards */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-status {
    min-height: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-align: center;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 4px !important;
}

button,
.btn,
[role="button"] {
    min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
