/* ============================================================
   GLOBAL BASE — UNIVERSAL RESET FOR DIG-it AI FORMS
   ============================================================ */

.is-hidden {
    display: none !important;
}

/* Reset Elementor/Theme weirdness */
.dig-it-facts-wrapper,
.dig-it-facts-form,
.dig-it-section,
.dig-it-field {
    box-sizing: border-box;
}

/* GLOBAL WRAPPER */
.dig-it-facts-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    background: var(--digit-bg);
}

/* MAIN FORM CONTAINER */
.dig-it-facts-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 50px 60px;
    background: #fff;
    border-radius: var(--digit-radius);
    box-shadow: 0 6px 28px var(--digit-shadow);
}

/* SECTION WRAPPER */
.dig-it-section {
    background: var(--digit-section-bg);
    padding: var(--digit-padding);
    border-radius: var(--digit-radius);
    border: 1px solid var(--digit-border);
    margin: 50px 0;
    box-shadow: 0 4px 16px var(--digit-shadow);
}

/* SECTION TITLES */
.dig-it-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--digit-border);
    color: #222;
}

.dig-it-section h3 {
    font-size: 22px;
    margin: 28px 0 16px 0;
    color: #444;
}

/* FORM FIELDS */
.dig-it-field {
    margin-bottom: var(--digit-gap);
    display: flex;
    flex-direction: column;
}

/* DIG-it core buttons (Elementor-safe) */
.dig-it-facts-wrapper button.button, .button-primary
.dig-it-facts-wrapper .button {
    background-color: #8a4cc9; /* Primary blue color */
    color: white;
    padding: 15px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
            
    /* Transition properties */
    /* Transitions background-color over 0.5s with a linear speed curve */
    transition: background-color 0.5s linear;
}

.dig-it-facts-wrapper button.button:hover {
  background: #6e3999;
}

.dig-it-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* INPUTS, TEXTAREAS, SELECT */
.dig-it-field input[type=text],
.dig-it-field input[type=email],
.dig-it-field input[type=password],
.dig-it-field input[type=number],
.dig-it-field textarea,
.dig-it-field select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    font-size: 16px;
    box-sizing: border-box;
}

.dig-it-field textarea {
    min-height: 130px;
    resize: vertical;
}

/* HELP TEXT */
.dig-it-help {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

/* MULTI-LOCATION BLOCK */
.dig-it-multi-location-group {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 22px;
    border-radius: 10px;
    margin: 20px 0 30px;
}


/* LOGO PREVIEW */
.dig-it-logo-selected-wrapper {
    background: #f3f3f3;
    padding: 16px;
    border-radius: 10px;
}

.dig-it-logo-selected-preview img {
    max-width: 180px;
    display: block;
    margin-bottom: 12px;
}

/* SAVE OPTIONS */
.dig-it-save-details {
    margin-left: 20px;
}

.digit-saved-state {
  opacity: 0.9;
  cursor: default;
}

/* =========================================================
   DIG-it Logo Modal — HARD CLICK SAFETY
   ========================================================= */

/* Default: modal is completely inert */
#dig-it-logo-modal {
    pointer-events: none;
}

/* Overlay must never block clicks unless modal is open */
#dig-it-logo-modal .dig-it-logo-modal-overlay {
    pointer-events: none;
}

/* Only when modal is OPEN do we allow interaction */
#dig-it-logo-modal.is-open {
    pointer-events: auto;
}

#dig-it-logo-modal.is-open .dig-it-logo-modal-overlay {
    pointer-events: auto;
}


/* ACTION BUTTONS */
.dig-it-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.dig-it-actions button,
.dig-it-actions input[type=submit] {
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 8px;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
    .dig-it-facts-form {
        padding: 35px 32px;
    }

    .dig-it-section {
        padding: 24px;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 600px) {
    .dig-it-facts-form {
        padding: 22px 18px;
    }

    .dig-it-actions {
        flex-direction: column;
    }

    .dig-it-actions button,
    .dig-it-actions input[type=submit] {
        width: 100%;
    }
}

.dig-it-saving {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.dig-it-saving::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    animation: digit-spin 0.8s linear infinite;
}

@keyframes digit-spin {
    to { transform: rotate(360deg); }
}

.digit-btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.25);
  border-top-color: rgba(0,0,0,0.65);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: digit-spin 1.1s linear infinite;
  vertical-align: middle;
}

/* =========================================================
   PROGRESS MODAL STYLING
   ========================================================= */
/* ============================================================
   DIG-it SAVE MODALS (48h / 7d / 365d)
   Minimal, production-safe
============================================================ */

/* Lock background scroll */
body.digit-modal-open {
    overflow: hidden;
}

/* Modal container */
.digit-save-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

/* Visible state */
.digit-save-modal[aria-hidden="false"] {
    display: block;
}

/* Backdrop */
.digit-save-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Modal window */
.digit-save-content {
    position: relative;
    max-width: 520px;
    margin: 10vh auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 26px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-size: 16px;
    line-height: 1.45;
}

/* Headings */
.digit-save-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
}

/* Body copy */
.digit-save-content p {
    margin-bottom: 14px;
}

/* Actions */
.digit-save-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.digit-save-actions .button {
    flex: 1 1 auto;
}

/* Close button */
.digit-save-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

/* Mobile */
@media (max-width: 520px) {
    .digit-save-content {
        margin: 8vh 16px;
        padding: 20px;
    }

    .digit-save-actions {
        flex-direction: column;
    }
}

/* ==========================================
   DIG-it DUDE — SMOOTH CONTENT FADE-IN
   ========================================== */

/* DUDE content starts hidden */
#dig-it-dude-overlay .dude-inner {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.8,.2,1);
}

/* When DUDE is ready, content fades in */
body.dude-active #dig-it-dude-overlay .dude-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================
   DIG-it DUDE — GLOBAL OVERLAY (AUTHORITATIVE)
   ========================================== */

/* Base DUDE state (hidden, non-interactive) */
#dig-it-dude-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;

  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 1.1s ease,
    visibility 0s linear 1.1s; /* 👈 delay visibility */
}

/* Ceremony active — DUDE visible */
body.dude-active #dig-it-dude-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition-delay: 0s;
}

/* ==========================================
   DIG-it DUDE — BACKDROP SCRIM
   ========================================== */

#dig-it-dude-overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.32); /* 👈 darkness level */
  backdrop-filter: blur(2px);     /* optional but nice */

  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Scrim visible only during ceremony */
body.dude-active #dig-it-dude-overlay::before {
  opacity: 1;
}

/* ==========================================
   DIG-it DUDE — SIZE & LAYOUT CONSTRAINT
   ========================================== */

/* Center DUDE content */
#dig-it-dude-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inner DUDE content wrapper (Elementor output lives here) */
#dig-it-dude-overlay .dude-inner,
#dig-it-dude-overlay .elementor,
#dig-it-dude-overlay .elementor-section-wrap {
  width: 100%;
  max-width: 400px;      /* 👈 controls “bus size” */
  max-height: 90vh;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Kill Elementor full-viewport forcing */
#dig-it-dude-overlay .elementor-section,
#dig-it-dude-overlay .elementor-container {
  min-height: auto !important;
  height: auto !important;
}

/* ==========================================
   DIG-it DUDE — CONTENT STYLING
   Matches core DIG-it 50m polish
   ========================================== */

#dig-it-dude-overlay .dude-inner {
  font-family: "Inter", Arial, sans-serif;
  text-align: center;
  color: #222;
}

/* DUDE message text */
#dig-it-dude-overlay p,
#dig-it-dude-overlay .elementor-text-editor {
  font-size: 17px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 20px;
}

/* DUDE primary button */
#dig-it-dude-overlay button,
#dig-it-dude-overlay .elementor-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 700;

  border-radius: 10px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, #B56EE4 0%, #8A4CC9 100%);
  color: #ffffff;

  box-shadow: 0 6px 20px rgba(181,110,228,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Hover polish */
#dig-it-dude-overlay button:hover,
#dig-it-dude-overlay .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(181,110,228,0.55);
  background: linear-gradient(135deg, #C27DF1 0%, #9A5AE1 100%);
}

/* ==========================================
   DIG-it DUDE — PLAY BUTTON OVERLAY
   ========================================== */

#dig-it-dude-overlay .dude-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none; /* enabled only when visible */
}

#dig-it-dude-overlay .dude-play-btn {
  width: 92px;
  height: 92px;
  border-radius: 50%;

  background: radial-gradient(
    circle at 30% 30%,
    #cfa6ff,
    #8a4cc9
  );

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 0 rgba(181,110,228,0.6);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  pointer-events: auto;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Triangle play icon */
#dig-it-dude-overlay .dude-play-btn::before {
  content: "";
  margin-left: 4px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}

/* Hover / intent */
#dig-it-dude-overlay .dude-play-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.45),
    0 0 0 12px rgba(181,110,228,0.18);
}

/* Gentle pulse (idle state) */
@keyframes dudePlayPulse {
  0%   { box-shadow: 0 0 0 0 rgba(181,110,228,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(181,110,228,0); }
  100% { box-shadow: 0 0 0 0 rgba(181,110,228,0); }
}

#dig-it-dude-overlay .dude-play-btn.pulse {
  animation: dudePlayPulse 2.6s infinite;
}

/* ============================================================
   BLOCK #2 — SECTION LAYOUT ENHANCER
   Improves spacing, hierarchy, readability, and structure
   ============================================================ */

/* Stronger section separation */
.dig-it-section {
    background: #ffffff;
    padding: 38px;
    margin: 55px 0;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

/* Smooth, subtle decorative fade on the top edge */
.dig-it-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(181,110,228,0.20),
        rgba(181,110,228,0.05)
    );
}

/* Smooth fade at bottom */
.dig-it-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.06),
        rgba(0,0,0,0.00)
    );
}

/* Headers get stronger hierarchy */
.dig-it-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.dig-it-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #444;
    margin-top: 24px;
    margin-bottom: 16px;
}

/* Improve input spacing globally */
.dig-it-field {
    margin-bottom: 32px;
}

.dig-it-field input,
.dig-it-field select,
.dig-it-field textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 14px 16px;
    transition: 0.15s ease all;
}

/* Professional input focus effect */
.dig-it-field input:focus,
.dig-it-field textarea:focus,
.dig-it-field select:focus {
    outline: none;
    border-color: #B56EE4;
    box-shadow: 0 0 0 3px rgba(181,110,228,0.25);
    background: #fff;
}

/* Enhance multi-location group appearance */
.dig-it-multi-location-group {
    background: #f9f7fc;
    border: 1px solid #ddd;
    padding: 24px;
    border-radius: 12px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
}

/* Spacing between button rows */
.dig-it-actions {
    margin-top: 40px;
}

/* Section spacing on mobile */
@media (max-width: 600px) {
    .dig-it-section {
        padding: 26px;
        margin: 35px 0;
    }
}
/* ============================================================
   BLOCK #3 — PREMIUM FORM FIELD PACK
   Polished inputs, selects, textareas, labels, UX interactions
   ============================================================ */

/* ------------------------------------------------------------
   Label Styling — crisp, readable, elevated
   ------------------------------------------------------------ */
.dig-it-field label {
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.2px;
}

/* Help Text */
.dig-it-help {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
    line-height: 1.4;
}

/* ------------------------------------------------------------
   Base Input Styling
   ------------------------------------------------------------ */
.dig-it-field input[type=text],
.dig-it-field input[type=email],
.dig-it-field input[type=password],
.dig-it-field input[type=number],
.dig-it-field select,
.dig-it-field textarea {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #d4d4d4;
    box-sizing: border-box;
    transition: all 0.22s ease;
}

/* Textarea height */
.dig-it-field textarea {
    min-height: 140px;
    resize: vertical;
}

/* ------------------------------------------------------------
   Input Hover Effects — premium micro-interactions
   ------------------------------------------------------------ */
.dig-it-field input:hover,
.dig-it-field select:hover,
.dig-it-field textarea:hover {
    background: #ffffff;
    border-color: #bbbbbb;
}

/* ------------------------------------------------------------
   Input Focus Effects — luxury glow + clean outline
   ------------------------------------------------------------ */
.dig-it-field input:focus,
.dig-it-field select:focus,
.dig-it-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: #B56EE4;
    box-shadow: 0 0 0 3px rgba(181,110,228,0.22);
}

/* ------------------------------------------------------------
   Placeholder Styling
   ------------------------------------------------------------ */
.dig-it-field input::placeholder,
.dig-it-field textarea::placeholder {
    color: #999;
    font-size: 15px;
}

/* ------------------------------------------------------------
   SELECT Styling — high-quality dropdown
   ------------------------------------------------------------ */
.dig-it-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23666' height='20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 45px;
}

/* ------------------------------------------------------------
   Disabled Field Styling (future state ready)
   ------------------------------------------------------------ */
.dig-it-field input[disabled],
.dig-it-field select[disabled],
.dig-it-field textarea[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f1f1;
    border-color: #ccc;
}

/* ------------------------------------------------------------
   Vertical Spacing Improvements
   ------------------------------------------------------------ */
.dig-it-field {
    margin-bottom: 32px;
}

/* ------------------------------------------------------------
   Responsive Improvements
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .dig-it-field input,
    .dig-it-field select,
    .dig-it-field textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
}
/* ============================================================
   BLOCK #4 — BUTTON & CTA ENHANCER
   Premium DIG-it action buttons and controls
   ============================================================ */

/* ------------------------------------------------------------
   Base Button Style (applies to all CTA actions)
   ------------------------------------------------------------ */
.dig-it-actions button,
.dig-it-actions input[type=submit],
button.dig-it-btn,
input[type=submit].dig-it-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;

    /* DIG-it Signature Gradient */
    background: linear-gradient(135deg, #B56EE4 0%, #8A4CC9 100%);
    color: #ffffff;

    box-shadow: 0 4px 16px rgba(181,110,228,0.35);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* ------------------------------------------------------------
   Hover Interaction — lift + brighter gradient
   ------------------------------------------------------------ */
.dig-it-actions button:hover,
.dig-it-actions input[type=submit]:hover,
button.dig-it-btn:hover,
input[type=submit].dig-it-btn:hover {
    background: linear-gradient(135deg, #C27DF1 0%, #9A5AE1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(181,110,228,0.45);
}

/* ------------------------------------------------------------
   Active Interaction — subtle press
   ------------------------------------------------------------ */
.dig-it-actions button:active,
.dig-it-actions input[type=submit]:active,
button.dig-it-btn:active,
input[type=submit].dig-it-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 12px rgba(181,110,228,0.35);
}

/* ------------------------------------------------------------
   Secondary Button (gray neutral option)
   ------------------------------------------------------------ */
.dig-it-btn-secondary {
    background: #e6e6e6;
    color: #333;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

.dig-it-btn-secondary:hover {
    background: #f2f2f2;
    transform: translateY(-3px);
}

/* ------------------------------------------------------------
   Danger/Reset Button Styling
   ------------------------------------------------------------ */
.dig-it-btn-danger {
    background: #d9534f;
    color: #fff;
    box-shadow: 0 3px 12px rgba(217,83,79,0.35);
}

.dig-it-btn-danger:hover {
    background: #e06663;
    transform: translateY(-3px);
}

/* ------------------------------------------------------------
   Buttons Row
   ------------------------------------------------------------ */
.dig-it-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

/*-------------------------------------------------------------
   Make buttons full-width on small screens
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .dig-it-actions button,
    .dig-it-actions input[type=submit] {
        width: 100%;
        text-align: center;
    }
}
/* ============================================================
   BLOCK #5 — SECTION HEADERS + TYPOGRAPHY ELITE PACK
   Premium layout rhythm and text hierarchy
   ============================================================ */

/* ------------------------------------------------------------
   Main Page Typography
   ------------------------------------------------------------ */
.dig-it-facts-wrapper {
    font-family: "Inter", Arial, sans-serif;
    color: #2a2a2a;
    line-height: 1.55;
    font-size: 17px;
}

/* Higher readability */
.dig-it-facts-wrapper p,
.dig-it-facts-wrapper .dig-it-help {
    line-height: 1.6;
    font-size: 15px;
    color: #555;
}

/* ------------------------------------------------------------
   Section Wrapper — smooth spacing + clarity
   ------------------------------------------------------------ */
.dig-it-section {
    padding: 36px 32px;
    margin: 48px 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.06);
}

/* ------------------------------------------------------------
   Section Title (H2)
   ------------------------------------------------------------ */
.dig-it-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;

    color: #1d1d1d;

    padding-bottom: 12px;
    border-bottom: 3px solid #B56EE4;

    letter-spacing: -0.25px;
}

/* ------------------------------------------------------------
   Subheading (H3)
   ------------------------------------------------------------ */
.dig-it-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 15px 0;

    color: #4a4a4a;
    letter-spacing: -0.15px;
}

/* ------------------------------------------------------------
   Field Labels
   ------------------------------------------------------------ */
.dig-it-field label {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333333;
}

/* Improve grouping and clarity */
.dig-it-field {
    margin-bottom: 28px;
}

/* Spacing between groups in multi-location sections */
.dig-it-multi-location-group {
    margin-top: 20px;
    margin-bottom: 32px;
}

/* ------------------------------------------------------------
   Typography for Small Details
   ------------------------------------------------------------ */
.dig-it-help {
    font-size: 14px;
    color: #6a6a6a;
    margin-top: 6px;
}

/* ------------------------------------------------------------
   Spacing Polish
   ------------------------------------------------------------ */
.dig-it-actions {
    margin-top: 40px;
}

/* Improve spacing inside logo preview box */
.dig-it-logo-selected-wrapper {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 20px;
}

/* ------------------------------------------------------------
   Responsive Typography
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .dig-it-section {
        padding: 26px 22px;
        margin: 32px 0;
    }

    .dig-it-section h2 {
        font-size: 26px;
    }

    .dig-it-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .dig-it-section {
        padding: 18px;
    }

    .dig-it-section h2 {
        font-size: 24px;
    }

    .dig-it-section h3 {
        font-size: 18px;
    }
}
/* ============================================================
   BLOCK #6 — ULTRA-CLEAN DIVIDER & VISUAL RHYTHM PACK
   Professional section grouping + spacing system
   ============================================================ */

/* ------------------------------------------------------------
   Section Rhythm
   ------------------------------------------------------------ */
.dig-it-section {
    position: relative;
    overflow: hidden;
}

/* Add soft vertical rhythm between fields */
.dig-it-field + .dig-it-field {
    margin-top: 28px;
}

/* Add medium spacing before sub-sections */
.dig-it-section h3 {
    margin-top: 42px;
}

/* ------------------------------------------------------------
   Elegant Section Dividers
   ------------------------------------------------------------ */

/* Thin 1px divider under section (premium look) */
.dig-it-section::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    pointer-events: none;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.05)
    );

    margin-top: 40px;
}

/* Do NOT place divider after last section */
.dig-it-section:last-child::after {
    display: none;
}

/* ------------------------------------------------------------
   Group Divider – Multi-location + Logo Section
   ------------------------------------------------------------ */
.dig-it-multi-location-group {
    border-left: 4px solid #b56ee4;
    padding-left: 18px;
    margin-left: 4px;
}

/* Logo box divider */
.dig-it-logo-selected-wrapper {
    border: 1px solid #e5e5e5;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
}

/* ------------------------------------------------------------
   Top/Bottom Section Breathing
   ------------------------------------------------------------ */
.dig-it-section:first-child {
    margin-top: 20px;
}

.dig-it-section:last-child {
    margin-bottom: 50px;
}

/* ------------------------------------------------------------
   Page-Level Visual Rhythm
   ------------------------------------------------------------ */
.dig-it-facts-form {
    margin-top: 20px;
    margin-bottom: 80px;
}

/* ------------------------------------------------------------
   Responsive Refinements
   ------------------------------------------------------------ */
@media (max-width: 1024px) {

    .dig-it-section::after {
        margin-top: 32px;
        pointer-events: none;
    }

    .dig-it-section h3 {
        margin-top: 32px;
    }

    .dig-it-field + .dig-it-field {
        margin-top: 22px;
    }
}

@media (max-width: 600px) {

    .dig-it-section::after {
        margin-top: 25px;
        pointer-events: none;
    }

    .dig-it-section h3 {
        margin-top: 26px;
    }

    .dig-it-field + .dig-it-field {
        margin-top: 18px;
    }
}
/* ============================================================
   BLOCK #7 — CARD SHADOW DEPTH + 3D LAYERING PACK
   Adds clean, modern depth to sections and content areas
   ============================================================ */

/* ------------------------------------------------------------
   Base elevated card effect for every section
   ------------------------------------------------------------ */
.dig-it-section {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);

    /* Subtle depth */
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 6px 14px rgba(0,0,0,0.06);
}

/* ------------------------------------------------------------
   Enhanced hover depth (desktop only)
   ------------------------------------------------------------ */
@media (hover:hover) {
    .dig-it-section:hover {
        transform: translateY(-2px);
        transition: 0.25s ease;
        box-shadow:
            0 4px 8px rgba(0,0,0,0.06),
            0 12px 24px rgba(0,0,0,0.10);
    }
}

/* ------------------------------------------------------------
   Inset effect for internal controls (premium UI feel)
   ------------------------------------------------------------ */
.dig-it-field input,
.dig-it-field textarea,
.dig-it-field select {
    background: #fafafa;
    border: 1px solid #dcdcdc;
    transition: all 0.2s ease-in-out;
}

/* On focus — subtle internal glow */
.dig-it-field input:focus,
.dig-it-field textarea:focus,
.dig-it-field select:focus {
    background: #ffffff;
    border-color: #b56ee4;
    box-shadow:
        0 0 0 3px rgba(181, 110, 228, 0.25),
        inset 0 1px 2px rgba(0,0,0,0.06);
}

/* ------------------------------------------------------------
   3D Logo Selection Section
   ------------------------------------------------------------ */
.dig-it-logo-selected-wrapper {
    background: #f8f5fc;
    border: 1px solid rgba(181,110,228,0.25);
    border-radius: 12px;

    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.03),
        0 4px 10px rgba(0,0,0,0.05);
}

/* ------------------------------------------------------------
   Multi-Location 3D Depth
   ------------------------------------------------------------ */
.dig-it-multi-location-group {
    background: #fbfbfb;
    border-left: 5px solid #b56ee4;
    border-radius: 10px;

    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.04),
        0 2px 8px rgba(0,0,0,0.05);
}

/* ------------------------------------------------------------
   Form container depth
   ------------------------------------------------------------ */
.dig-it-facts-form {
    background: #ffffff;
    border-radius: 16px;

    box-shadow:
        0 3px 8px rgba(0,0,0,0.05),
        0 12px 28px rgba(0,0,0,0.08);
}

/* ------------------------------------------------------------
   Prevent shadows from being crushed at tablet/mobile
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .dig-it-section {
        box-shadow:
            0 2px 4px rgba(0,0,0,0.04),
            0 6px 12px rgba(0,0,0,0.06);
    }

    .dig-it-facts-form {
        box-shadow:
            0 2px 6px rgba(0,0,0,0.05),
            0 8px 20px rgba(0,0,0,0.06);
    }
}
/* ============================================================
   BLOCK #8 — ANIMATION MICRO-INTERACTIONS PACK
   Adds smooth, modern motion to DIG-it AI forms
   ============================================================ */


/* ------------------------------------------------------------
   Section fade-in on load
   ------------------------------------------------------------ */
.dig-it-section {
    opacity: 0;
    transform: translateY(12px);
    animation: digFadeUp 0.55s ease forwards;
}

/* Slight stagger so sections don't animate at the same time */
.dig-it-section:nth-child(1) { animation-delay: 0.05s; }
.dig-it-section:nth-child(2) { animation-delay: 0.12s; }
.dig-it-section:nth-child(3) { animation-delay: 0.18s; }
.dig-it-section:nth-child(4) { animation-delay: 0.24s; }
.dig-it-section:nth-child(5) { animation-delay: 0.30s; }

@keyframes digFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ------------------------------------------------------------
   Field focus micro-animation
   ------------------------------------------------------------ */
.dig-it-field input,
.dig-it-field textarea,
.dig-it-field select {
    transition: all 0.25s ease;
}

.dig-it-field input:focus,
.dig-it-field textarea:focus,
.dig-it-field select:focus {
    transform: translateY(-1px);
}


/* ------------------------------------------------------------
   Button hover motion (premium app feel)
   ------------------------------------------------------------ */
.dig-it-facts-wrapper .dig-it-actions .button,
.dig-it-facts-wrapper .dig-it-actions input[type=submit],
.dig-it-facts-wrapper button[type="submit"] {
    transition: all 0.22s ease-out;
}

.dig-it-actions .button:hover,
.dig-it-actions input[type=submit]:hover,
button:hover,
input[type=button]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* ------------------------------------------------------------
   Subtle pulse on action buttons (optional)
   ------------------------------------------------------------ */
@media (hover:hover) {
    .dig-it-actions .button-primary {
        animation: digPulse 2.8s infinite ease-in-out;
    }

    @keyframes digPulse {
        0%   { box-shadow: 0 0 0 rgba(181,110,228,0.0); }
        50%  { box-shadow: 0 0 14px rgba(181,110,228,0.25); }
        100% { box-shadow: 0 0 0 rgba(181,110,228,0.0); }
    }
}


/* ------------------------------------------------------------
   Logo Maker buttons + grid motion
   ------------------------------------------------------------ */
.dig-it-logo-open-modal,
.dig-it-logo-clear,
.dig-it-logo-save-selected {
    transition: all 0.23s ease-out;
}

.dig-it-logo-open-modal:hover,
.dig-it-logo-clear:hover,
.dig-it-logo-save-selected:hover {
    transform: translateY(-2px);
}


/* ------------------------------------------------------------
   Logo thumbnails animate into place
   ------------------------------------------------------------ */
.dig-it-logo-grid img {
    opacity: 0;
    transform: scale(0.92) translateY(6px);
    animation: digThumbIn 0.45s ease forwards;
}

.dig-it-logo-grid img:nth-child(1)  { animation-delay: 0.05s; }
.dig-it-logo-grid img:nth-child(2)  { animation-delay: 0.10s; }
.dig-it-logo-grid img:nth-child(3)  { animation-delay: 0.15s; }
.dig-it-logo-grid img:nth-child(4)  { animation-delay: 0.20s; }
.dig-it-logo-grid img:nth-child(5)  { animation-delay: 0.25s; }
.dig-it-logo-grid img:nth-child(6)  { animation-delay: 0.30s; }
.dig-it-logo-grid img:nth-child(7)  { animation-delay: 0.35s; }
.dig-it-logo-grid img:nth-child(8)  { animation-delay: 0.40s; }
.dig-it-logo-grid img:nth-child(9)  { animation-delay: 0.45s; }
.dig-it-logo-grid img:nth-child(10) { animation-delay: 0.50s; }

@keyframes digThumbIn {
    0%   { opacity: 0; transform: scale(0.92) translateY(6px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}


/* ------------------------------------------------------------
   Multi-location group entrance motion
   ------------------------------------------------------------ */
.dig-it-multi-location-group {
    animation: digFadeUpSmall 0.45s ease forwards;
    opacity: 0;
}

@keyframes digFadeUpSmall {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ============================================================
   BLOCK #9 — LUXURY DEPTH + AMBIENT GLOW PACK
   Adds premium shadow layers, glow accents, and glass surfaces
   ============================================================ */


/* ------------------------------------------------------------
   Premium depth for all main section cards
   ------------------------------------------------------------ */
.dig-it-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);

    /* 3-layer elevated depth */
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 8px 18px rgba(0,0,0,0.06),
        0 20px 40px rgba(0,0,0,0.04);

    transition: all 0.35s ease;
}

/* Slight hover lift + glow */
.dig-it-section:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 10px rgba(0,0,0,0.06),
        0 18px 28px rgba(0,0,0,0.08),
        0 35px 65px rgba(0,0,0,0.07);
}


/* ------------------------------------------------------------
   Luxury ambient glow accent (DIG-it purple)
   ------------------------------------------------------------ */
.dig-it-section:hover {
    border-color: rgba(181,110,228,0.45) !important;
}

.dig-it-section:hover h2 {
    color: #b56ee4 !important;
}

/* Subtle animated underline glow */
.dig-it-section h2 {
    position: relative;
}

.dig-it-section h2::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(
        90deg,
        #b56ee4,
        #d39af2,
        #b56ee4
    );
    transition: width 0.35s ease;
    border-radius: 4px;
}

.dig-it-section:hover h2::after {
    width: 100%;
}


/* ------------------------------------------------------------
   Glassy elevated logo preview box
   ------------------------------------------------------------ */
.dig-it-logo-selected-wrapper {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 16px;
    padding: 20px;

    box-shadow:
        0 2px 6px rgba(0,0,0,0.05),
        0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.dig-it-logo-selected-wrapper:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.06),
        0 12px 28px rgba(0,0,0,0.10);
}


/* ------------------------------------------------------------
   Modern button glow + elevation
   ------------------------------------------------------------ */
.dig-it-actions .button,
.dig-it-actions input[type=submit] {
    position: relative;
    overflow: hidden;
}

.dig-it-actions .button::before,
.dig-it-actions input[type=submit]::before {
    content: "";
    position: absolute;
    top: 0; left: -40%;
    width: 180%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(181,110,228,0.15),
        rgba(255,255,255,0.08),
        rgba(181,110,228,0.15)
    );
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dig-it-actions .button:hover::before,
.dig-it-actions input[type=submit]:hover::before {
    opacity: 1;
}

.dig-it-actions .button:hover,
.dig-it-actions input[type=submit]:hover {
    box-shadow:
        0 4px 10px rgba(0,0,0,0.10),
        0 10px 25px rgba(181,110,228,0.25);
}


/* ------------------------------------------------------------
   Ambient shadow under inputs on focus
   ------------------------------------------------------------ */
.dig-it-field input:focus,
.dig-it-field textarea:focus,
.dig-it-field select:focus {
    box-shadow:
        0 0 0 3px rgba(181,110,228,0.22),
        0 8px 20px rgba(0,0,0,0.08);
    background: #ffffff;
}


/* ------------------------------------------------------------
   Logo grid upgrade — soft glow on hover
   ------------------------------------------------------------ */
.dig-it-logo-grid img {
    border-radius: 14px;
    transition: all 0.35s ease;
}

.dig-it-logo-grid img:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.08),
        0 14px 35px rgba(181,110,228,0.20);
    border: 2px solid rgba(181,110,228,0.45);
}


/* ------------------------------------------------------------
   Luxury multi-location group card polish
   ------------------------------------------------------------ */
.dig-it-multi-location-group {
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        #ffffff,
        #fbfbfb
    );
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow:
        0 2px 5px rgba(0,0,0,0.04),
        0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.dig-it-multi-location-group:hover {
    transform: translateY(-3px);
    box-shadow:
        0 5px 15px rgba(0,0,0,0.06),
        0 15px 40px rgba(0,0,0,0.08);
}
/* ============================================================
   BLOCK #10 — HERO ABOVE-THE-FOLD EXPERIENCE
   Adds ambient gradient, spotlight halo, and premium framing
   ============================================================ */


/* ------------------------------------------------------------
   1. Full-page ambient gradient backdrop
   ------------------------------------------------------------ */
.page-id-3826 .dig-it-facts-wrapper,
.page-id-3911 .dig-it-facts-wrapper {
    background: linear-gradient(
        135deg,
        #f8f5fc 0%,
        #fcfaff 40%,
        #ffffff 100%
    );
    padding-top: 60px;     /* Reduce from the 2.5-inch gap */
    padding-bottom: 60px;
    border-radius: 0;
    position: relative;
}


/* ------------------------------------------------------------
   2. Soft spotlight halo behind form
   ------------------------------------------------------------ */
.page-id-3826 .dig-it-facts-wrapper::before,
.page-id-3911 .dig-it-facts-wrapper::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(
        circle at center,
        rgba(181,110,228,0.18) 0%,
        rgba(181,110,228,0.08) 35%,
        rgba(181,110,228,0.03) 60%,
        rgba(255,255,255,0) 100%
    );
    z-index: 0;
    filter: blur(60px);
    opacity: 0.9;
}


/* Make sure form layers sit above the halo */
.dig-it-facts-form {
    position: relative;
    z-index: 5;
}


/* ------------------------------------------------------------
   3. Hero top framing: subtle fade + spacing
   ------------------------------------------------------------ */
.page-id-3826 .dig-it-facts-form,
.page-id-3911 .dig-it-facts-form {
    padding-top: 48px;
    padding-bottom: 55px;

    /* Clean premium card appearance */
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.75);

    box-shadow:
        0 8px 22px rgba(0,0,0,0.05),
        0 20px 45px rgba(0,0,0,0.06),
        0 40px 90px rgba(181,110,228,0.05);
}


/* ------------------------------------------------------------
   4. Hero curve (top rounded subtle look)
   ------------------------------------------------------------ */
.page-id-3826 .dig-it-facts-form,
.page-id-3911 .dig-it-facts-form {
    border-radius: 22px;
}


/* ------------------------------------------------------------
   5. Overflow polish (fixes halo clipping on some devices)
   ------------------------------------------------------------ */
.page-id-3826 .elementor,
.page-id-3911 .elementor {
    overflow: visible !important;
}


/* ------------------------------------------------------------
   6. Mobile + Tablet hero adjustments
   ------------------------------------------------------------ */
@media (max-width: 1024px) {

    .page-id-3826 .dig-it-facts-wrapper,
    .page-id-3911 .dig-it-facts-wrapper {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .page-id-3826 .dig-it-facts-wrapper::before,
    .page-id-3911 .dig-it-facts-wrapper::before {
        width: 600px;
        height: 350px;
        filter: blur(40px);
        opacity: 0.65;
        top: 30px;
    }

    .page-id-3826 .dig-it-facts-form,
    .page-id-3911 .dig-it-facts-form {
        border-radius: 16px;
        padding: 28px 20px;
    }
}


/* ------------------------------------------------------------
   7. Small mobile tweaks
   ------------------------------------------------------------ */
@media (max-width: 600px) {

    .page-id-3826 .dig-it-facts-wrapper,
    .page-id-3911 .dig-it-facts-wrapper {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .page-id-3826 .dig-it-facts-wrapper::before,
    .page-id-3911 .dig-it-facts-wrapper::before {
        width: 420px;
        height: 280px;
        filter: blur(35px);
        opacity: 0.55;
        top: 20px;
    }

    .page-id-3826 .dig-it-facts-form,
    .page-id-3911 .dig-it-facts-form {
        padding: 22px 16px;
    }
}
/* ============================================================
   BLOCK #11 — GLOW MOTION + MICRO-INTERACTIONS PACK
   DIG-it Premium UX Layer
   ============================================================ */


/* ------------------------------------------------------------
   1. Section Hover Glow + Micro Elevation
   ------------------------------------------------------------ */
.dig-it-section {
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.dig-it-section:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.06),
        0 20px 40px rgba(181,110,228,0.07);
    border-color: rgba(181,110,228,0.35);
}


/* ------------------------------------------------------------
   2. Input + Select + Textarea — Premium Focus Glow
   ------------------------------------------------------------ */
.dig-it-field input:focus,
.dig-it-field select:focus,
.dig-it-field textarea:focus {
    border-color: #B56EE4 !important;
    box-shadow:
        0 0 0 3px rgba(181,110,228,0.25),
        0 0 12px rgba(181,110,228,0.20);
    background: #ffffff;
    outline: none !important;
    transition: 0.25s ease;
}


/* ------------------------------------------------------------
   3. “Breathing” card effect — subtle ambient motion
   ------------------------------------------------------------ */
.dig-it-facts-form {
    animation: digItBreathing 7s ease-in-out infinite;
}

@keyframes digItBreathing {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
}


/* ------------------------------------------------------------
   4. Buttons — Lift, Glow, Tap
   ------------------------------------------------------------ */
.dig-it-actions button,
.dig-it-actions input[type=submit] {
    transition: 
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover — premium lift */
.dig-it-actions button:hover,
.dig-it-actions input[type=submit]:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.12),
        0 12px 35px rgba(181,110,228,0.25);
}

/* Tap — mobile feedback */
@media (max-width: 600px) {
    .dig-it-actions button:active,
    .dig-it-actions input[type=submit]:active {
        transform: scale(0.97);
        box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    }
}


/* ------------------------------------------------------------
   5. Logo thumbnails — hover glow + micro-tilt
   ------------------------------------------------------------ */
.dig-logo-thumb {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dig-logo-thumb:hover {
    transform: translateY(-4px) rotate(1.5deg);
    box-shadow:
        0 6px 14px rgba(0,0,0,0.12),
        0 12px 25px rgba(181,110,228,0.18);
    border-color: #B56EE4;
}

/* Selected state — highlight + glow */
.dig-logo-thumb.selected {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 3px rgba(181,110,228,0.45),
        0 12px 24px rgba(181,110,228,0.20);
}


/* ------------------------------------------------------------
   6. Logo Preview Box — soft breathing glow
   ------------------------------------------------------------ */
.dig-it-logo-selected-wrapper {
    animation: digItSelectedGlow 6.5s ease-in-out infinite;
}

@keyframes digItSelectedGlow {
    0%   { box-shadow: 0 0 0 rgba(181,110,228,0.0); }
    50%  { box-shadow: 0 0 18px rgba(181,110,228,0.20); }
    100% { box-shadow: 0 0 0 rgba(181,110,228,0.0); }
}


/* ------------------------------------------------------------
   7. Fields — subtle lift on hover
   ------------------------------------------------------------ */
.dig-it-field input:hover,
.dig-it-field select:hover,
.dig-it-field textarea:hover {
    border-color: rgba(181,110,228,0.35);
}


/* ------------------------------------------------------------
   8. Smooth transitions applied globally
   ------------------------------------------------------------ */
.dig-it-facts-wrapper,
.dig-it-facts-form,
.dig-it-section,
.dig-it-field input,
.dig-it-field select,
.dig-it-field textarea {
    transition: 0.25s ease;
}
/* ============================================================
   BLOCK #12-A — IMMERSIVE HEADER STRIP + PROGRESS BAR SYSTEM
   DIG-it Guided Experience Layer
   ============================================================ */


/* ------------------------------------------------------------
   1. TOP HEADER STRIP — fixed premium bar
   ------------------------------------------------------------ */
.dig-it-progress-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background: linear-gradient(90deg, #B56EE4, #7d44ff);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.98;
}

/* Optional title inside header */
.dig-it-progress-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: uppercase;
    pointer-events: none;
}


/* ------------------------------------------------------------
   2. MAIN PROGRESS BAR (fills as user scrolls)
   ------------------------------------------------------------ */
.dig-it-progress-bar {
    position: fixed;
    top: 54px; /* directly under header strip */
    left: 0;
    height: 6px;
    width: 0%;
    background: linear-gradient(90deg, #7d44ff, #B56EE4);
    box-shadow: 0 0 10px rgba(181,110,228,0.55);
    transition: width 0.25s ease-out;
    z-index: 9998;
}


/* ------------------------------------------------------------
   3. PROGRESS DOTS — match sections visually
   ------------------------------------------------------------ */
.dig-it-progress-dots {
    position: fixed;
    top: 14px;
    right: 22px;
    display: flex;
    gap: 10px;
    z-index: 10000;
}

.dig-it-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: background 0.25s ease, transform 0.25s ease;
}

.dig-it-dot.active {
    background: #fff;
    transform: scale(1.35);
}


/* ------------------------------------------------------------
   4. OFFSET THE PAGE TO MAKE ROOM FOR FIXED STRIP
   ------------------------------------------------------------ */
body.dig-it-progress-enabled {
    padding-top: 70px !important; /* space for header + bar */
}


/* ------------------------------------------------------------
   5. Section activation highlight
   ------------------------------------------------------------ */
.dig-it-section.active-section {
    border-color: #B56EE4 !important;
    box-shadow:
        0 0 0 3px rgba(181,110,228,0.20),
        0 8px 20px rgba(181,110,228,0.15);
    transition: 0.35s ease;
}


/* ------------------------------------------------------------
   6. Responsive adjustments
   ------------------------------------------------------------ */
@media (max-width: 600px) {

    .dig-it-progress-header {
        height: 48px;
    }

    .dig-it-progress-title {
        font-size: 14px;
    }

    .dig-it-progress-bar {
        top: 48px;
        height: 5px;
    }

    .dig-it-progress-dots {
        right: 15px;
        top: 9px;
        gap: 8px;
    }

    .dig-it-dot {
        width: 8px;
        height: 8px;
    }
}

/* ============================================================
   DIG-it BUTTON FIX — LOCALIZED OVERRIDE (Option B)
   Applies ONLY inside DIG-it AI Builder forms
   ============================================================ */

/* SAFE button normalization — does NOT break inputs */
.dig-it-facts-wrapper .dig-it-actions button,
.dig-it-facts-wrapper .dig-it-actions input[type=submit],
.dig-it-facts-wrapper .dig-it-logo-open-modal,
.dig-it-facts-wrapper .dig-it-logo-save-selected {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: linear-gradient(135deg, #B56EE4 0%, #8A4CC9 100%);
    color: #fff;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
}

/* Hover effect */
.dig-it-facts-wrapper .dig-it-logo-open-modal:hover,
.dig-it-facts-wrapper .dig-it-logo-clear:hover,
.dig-it-facts-wrapper .dig-it-logo-save-selected:hover,
.dig-it-facts-wrapper .dig-it-actions .button:hover,
.dig-it-facts-wrapper .dig-it-actions button:hover,
.dig-it-facts-wrapper .dig-it-actions input[type=submit]:hover {
    background: linear-gradient(135deg, #C27DF1 0%, #9A5AE1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(181,110,228,0.45);
}

/* Active / tap */
.dig-it-facts-wrapper .dig-it-actions button:active,
.dig-it-facts-wrapper .dig-it-actions input[type=submit]:active,
.dig-it-facts-wrapper .dig-it-logo-open-modal:active,
.dig-it-facts-wrapper .dig-it-logo-save-selected:active {
    transform: translateY(1px);
    box-shadow: 0 3px 12px rgba(181,110,228,0.35);
}

/* "Cancel" or link-style buttons */
.dig-it-facts-wrapper .button-link,
.dig-it-facts-wrapper .dig-it-logo-clear {
    all: unset;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    color: #8A4CC9;
    cursor: pointer;
    text-decoration: underline;
    transition: 0.25s ease;
}

.dig-it-facts-wrapper .button-link:hover,
.dig-it-facts-wrapper .dig-it-logo-clear:hover {
    color: #B56EE4;
}


/* ============================================================
   BUTTON LAYOUT FIX — ENSURE CORRECT SPACING + WIDTH
   ============================================================ */

.dig-it-facts-wrapper .dig-it-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

@media (max-width: 600px) {
    .dig-it-facts-wrapper .dig-it-actions button,
    .dig-it-facts-wrapper .dig-it-actions input[type=submit] {
        width: 100%;
    }
}

/* Slide-open panels for Upload / Generate blocks */
.dig-it-section-subbox {
    background: rgba(255,255,255,0.75);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px 25px;
    margin-top: 15px;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.05),
        0 8px 20px rgba(181,110,228,0.05);
}

.dig-it-logo-upload-panel img,
.dig-it-logo-generate-panel img {
    max-width: 200px;
    margin-top: 12px;
    display: block;
}

/* ==========================================================
   C4 — BLANK MODE VISUAL IGNITION
   ========================================================== */

/* Pre-ignition: everything is calm, not hidden */
body:not(.digit-blank-ready) .dig-it-section {
    opacity: 1;
    transform: none;
}

/* Ignition moment */
body.digit-blank-ready .dig-it-section {
    animation: digitAssemble 0.9s cubic-bezier(.2,.8,.2,1) both;
}

/* Slight stagger — feels cinematic, not stepwise */
body.digit-blank-ready .dig-it-section:nth-child(1) { animation-delay: 0s; }
body.digit-blank-ready .dig-it-section:nth-child(2) { animation-delay: 0.08s; }
body.digit-blank-ready .dig-it-section:nth-child(3) { animation-delay: 0.16s; }
body.digit-blank-ready .dig-it-section:nth-child(4) { animation-delay: 0.24s; }
body.digit-blank-ready .dig-it-section:nth-child(5) { animation-delay: 0.32s; }

@keyframes digitAssemble {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ==========================================================
   C5 — ACCENT IGNITION (BLANK MODE)
   ========================================================== */

/* ----------------------------------------------------------
   Global ambient glow
---------------------------------------------------------- */
body.digit-blank-ready {
    background-image:
        radial-gradient(
            circle at 50% 10%,
            rgba(181, 110, 228, 0.08),
            transparent 60%
        );
    transition: background-image 1.2s ease;
}

/* ----------------------------------------------------------
   Hero accent (headline / intro block)
---------------------------------------------------------- */
body.digit-blank-ready .dig-it-hero,
body.digit-blank-ready .dig-it-intro {
    filter: drop-shadow(0 0 18px rgba(181, 110, 228, 0.25));
    transition: filter 1.1s ease;
}

/* ----------------------------------------------------------
   Primary CTA emphasis
---------------------------------------------------------- */
body.digit-blank-ready .dig-it-primary-cta,
body.digit-blank-ready button.button-primary {
    box-shadow:
        0 0 0 rgba(181, 110, 228, 0),
        0 0 22px rgba(181, 110, 228, 0.35);
    transition: box-shadow 1s ease;
}

/* ----------------------------------------------------------
   Form depth polish
---------------------------------------------------------- */
body.digit-blank-ready .dig-it-facts-form,
body.digit-blank-ready .dig-it-section {
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.25);
    transition: box-shadow 1.2s ease;
}

/* ==========================================================
   C6 — MICRO-MOTION POLISH (BLANK MODE)
   ========================================================== */

/* ----------------------------------------------------------
   Input focus intelligence
---------------------------------------------------------- */
body.digit-blank-ready input,
body.digit-blank-ready textarea,
body.digit-blank-ready select {
    transition:
        box-shadow 180ms ease,
        border-color 180ms ease,
        transform 120ms ease;
}

body.digit-blank-ready input:focus,
body.digit-blank-ready textarea:focus,
body.digit-blank-ready select:focus {
    box-shadow:
        0 0 0 2px rgba(181, 110, 228, 0.25),
        0 6px 18px rgba(0, 0, 0, 0.2);
    border-color: rgba(181, 110, 228, 0.6);
    transform: translateY(-1px);
}

/* ----------------------------------------------------------
   Button intent confirmation
---------------------------------------------------------- */
body.digit-blank-ready button,
body.digit-blank-ready .button {
    transition:
        transform 120ms ease,
        box-shadow 160ms ease;
}

body.digit-blank-ready button:hover,
body.digit-blank-ready .button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.35);
}

body.digit-blank-ready button:active,
body.digit-blank-ready .button:active {
    transform: translateY(0);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------------------------------
   Card / panel depth on intent
---------------------------------------------------------- */
body.digit-blank-ready .dig-it-card,
body.digit-blank-ready .dig-it-panel,
body.digit-blank-ready .dig-it-section {
    transition:
        box-shadow 220ms ease,
        transform 180ms ease;
}

body.digit-blank-ready .dig-it-card:hover,
body.digit-blank-ready .dig-it-panel:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ----------------------------------------------------------
   Section breathing (ambient, non-visible motion)
---------------------------------------------------------- */
body.digit-blank-ready .dig-it-section {
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    body.digit-blank-ready .dig-it-section {
        animation: digit-section-breathe 12s ease-in-out infinite;
    }
}

@keyframes digit-section-breathe {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

/* ============================================================
   DIG-it — Intent-Gated Assembly
   ============================================================ */

/* Default: dormant */
.dig-it-section {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* Ignition moment */
body.digit-blank-ready .dig-it-section {
  opacity: 1;
  transform: translateY(0);
}
.button,
.dig-it-button {
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* No pulse until ready */
body:not(.digit-blank-ready) .dig-it-button.pulse {
  animation: none;
}

/* Pulse after readiness */
body.digit-blank-ready .dig-it-button.pulse {
  animation: dig-it-pulse 2.4s infinite;
}
.dig-it-accent {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.digit-blank-ready .dig-it-accent {
  opacity: 1;
}
.dig-it-divider {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

body.digit-blank-ready .dig-it-divider {
  transform: scaleX(1);
}
/* =========================================================
   CLICK SAFETY — ENSURE FORM ELEMENTS ALWAYS RECEIVE INPUT
   ========================================================= */

/* Form fields must always accept interaction */
.dig-it-field,
.dig-it-field * {
    pointer-events: auto;
}

.dig-it-field label {
    cursor: pointer;
}

/* Ensure transformed sections never block inputs */
.dig-it-section {
    isolation: isolate;
}

/* Sections should never block clicks on descendants */
.dig-it-section {
    pointer-events: auto;
}

/* FINAL VISIBILITY AUTHORITY */
.dig-it-section {
    opacity: 1;
    transform: none;
}
/* =========================================================
   DIG-it LOGO MODAL — FINAL CLICK AUTHORITY MODEL
   ========================================================= */

/* Modal wrapper */
#dig-it-logo-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

/* Open state */
#dig-it-logo-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay blocks background clicks */
#dig-it-logo-modal .dig-it-logo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: auto;     /* 👈 BLOCKS BACKGROUND */
}

/* Modal content sits above overlay */
#dig-it-logo-modal .dig-it-logo-modal-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;     /* 👈 RECEIVES CLICKS */
}

/* Logo thumbnails MUST be clickable */
#dig-it-logo-modal .dig-it-logo-grid img,
#dig-it-logo-modal button {
    pointer-events: auto;
    cursor: pointer;
}

.dig-it-facts-form-blank {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.dig-it-facts-form-blank * {
    box-sizing: border-box;
}

/* =========================================================
   DIG-it BUTTON BACKGROUND AUTHORITY (FINAL FIX)
   Ensures all DIG-it buttons are NEVER transparent
   ========================================================= */

.dig-it-facts-wrapper button,
.dig-it-facts-wrapper .button,
.dig-it-facts-wrapper .button-primary,
.dig-it-facts-wrapper .digit-save-confirm,
.dig-it-facts-wrapper .dig-it-logo-open-modal,
.dig-it-facts-wrapper .dig-it-logo-save-selected {
    background: linear-gradient(135deg, #B56EE4 0%, #8A4CC9 100%) !important;
    color: #ffffff !important;
    border: none;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================================
   FIX: Clear Logo Selection text clipping
   ========================================================= */

.dig-it-facts-wrapper .dig-it-logo-clear {
    display: inline-flex;          /* restores box model */
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    white-space: nowrap;

    min-width: max-content;        /* 👈 THIS is the key */
}

/* =========================================================
   FINAL FIX — Clear Logo Selection text clipping
   ========================================================= */

.dig-it-facts-wrapper .dig-it-logo-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* 🔑 RESTORE TEXT GEOMETRY */
    line-height: 1.2;
    font-size: 16px;
    white-space: nowrap;

    /* 🔑 REMOVE HEIGHT LOCK */
    height: auto;
    min-height: unset;

    /* SAFE BOX MODEL */
    box-sizing: border-box;
    padding: 12px 18px;
}

/* =========================================================
   FINAL ALIGNMENT — Match DIG-it Button Shape
   ========================================================= */

.dig-it-facts-wrapper .dig-it-logo-clear {
    border-radius: 10px; /* match core DIG-it buttons */
}

.digit-btn-active {
  transform: scale(0.95);
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
  transition: all 0.15s ease;
}

input[type=radio] {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 7px;
    border: 0px;
    width: 16px;
    height: 2em;
}

input[type=checkbox] {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 7px;
    border: 0px;
    width: 14px;
    height: 2em;
}




