/* ==========================================================
   DM STUDIO AI â€” PREMIUM HOMEPAGE
   Section 1: Learn in Four Simple Steps
   ========================================================== */

.learning-process {
    max-width: 1180px;
    margin: 90px auto;
    padding: 0 20px;
}

.learning-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.learning-process .learning-step {
    position: relative;
    min-width: 0;
    padding: 20px 18px 28px;
    border: 1px solid rgba(130, 115, 255, 0.16);
    border-radius: 25px;
    background: linear-gradient(155deg, #f6f0ff, #ffffff 75%);
    box-shadow: 0 16px 38px rgba(78, 75, 160, 0.10);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.learning-process .learning-step:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(78, 75, 160, 0.17);
}


/* Premium illustrations â€” preserve the entire image */
.learning-step-illustration {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto 18px;
    border-radius: 18px;
}


.learning-process .learning-step-number {
    z-index: 2;
    top: 12px;
    left: 12px;
}

.learning-process .learning-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.learning-process .learning-step p {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .learning-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .learning-process {
        margin: 60px auto;
        padding: 0 14px;
    }

    .learning-process-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .learning-process .learning-step {
        transition: none;
    }

    .learning-process .learning-step:hover {
        transform: none;
    }
}

/* ==========================================================
   PREMIUM LEARNING CARDS â€” REMOVE DUPLICATE NUMBER BADGES
   The illustrations already contain their own numbers.
   ========================================================== */

.learning-process .learning-step-number {
    display: none;
}


/* DM STUDIO AI â€” MEET PIXEL PREMIUM V2
   Replace the previous Meet Pixel premium CSS block with this file.
   Uses the existing home.php markup. */
.pixel-support-section.pixel-support-premium {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.04fr);
  align-items: center; gap: clamp(12px,2vw,30px);
  width: min(1440px,calc(100% - 40px)); max-width: 1440px;
  margin: 72px auto; padding: clamp(26px,3.5vw,54px);
  border: 1px solid rgba(153,139,255,.25); border-radius: 38px;
  background: radial-gradient(ellipse at 52% 52%,rgba(187,155,255,.33),transparent 45%),
              radial-gradient(circle at 80% 10%,rgba(150,211,255,.32),transparent 35%),
              linear-gradient(120deg,#fbfaff,#f0f5ff 60%,#effaff);
  box-shadow: 0 28px 70px rgba(82,74,160,.13);
  box-sizing: border-box; overflow: hidden;
}
.pixel-support-premium .pixel-support-content { min-width:0; position:relative; z-index:2; }
.pixel-support-premium .section-kicker { color:#6254e8; font-size:.76rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.pixel-support-premium .pixel-support-content h2 { margin:12px 0 18px; font-size:clamp(2.8rem,4.3vw,5rem); letter-spacing:-.055em; line-height:1.04; color:#11173e; }
.pixel-support-premium .pixel-gradient-text { background:linear-gradient(110deg,#853cf4,#1679ff); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.pixel-support-premium .pixel-support-description { max-width:470px; margin:0 0 24px; font-size:clamp(.93rem,1.1vw,1.08rem); line-height:1.75; color:#58648c; }
.pixel-support-premium .pixel-help-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
/* Reset the original span-based card styling; only one card per item */
.pixel-support-premium .pixel-help-item { display:flex; align-items:center; gap:12px; min-width:0; padding:14px 12px; border:1px solid rgba(153,145,250,.18); border-radius:19px; background:rgba(255,255,255,.82); box-shadow:0 10px 22px rgba(89,85,173,.07); color:#1b2450; font-size:.82rem; font-weight:700; line-height:1.4; }
.pixel-support-premium .pixel-help-item > span:last-child { display:block; flex:1; min-width:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:inherit; font:inherit; }
.pixel-support-premium .pixel-help-icon { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; margin:0; padding:0; border:0; border-radius:14px; background:linear-gradient(145deg,#dcd3ff,#f4efff); box-shadow:none; font-size:1.35rem; }
.pixel-support-premium .pixel-help-item:nth-child(2) .pixel-help-icon { background:linear-gradient(145deg,#baf5ff,#eaf9ff); }
.pixel-support-premium .pixel-help-item:nth-child(3) .pixel-help-icon { background:linear-gradient(145deg,#fff0a8,#fff8de); }
.pixel-support-premium .pixel-help-item:nth-child(4) .pixel-help-icon { background:linear-gradient(145deg,#ffd2f5,#fff0fb); }
/* Floating Pixel artwork: transparent feathered edges, no rectangular poster */
.pixel-support-premium .pixel-premium-visual { position:relative; display:grid; place-items:center; min-width:0; min-height:470px; overflow:visible; }
.pixel-support-premium .pixel-premium-glow { position:absolute; inset:14% 0; border-radius:50%; background:radial-gradient(circle,rgba(146,106,255,.33),rgba(67,195,255,.12) 58%,transparent 75%); filter:blur(24px); }
.pixel-support-premium .pixel-premium-image { position:relative; z-index:1; display:block; width:115%; max-width:540px; height:auto; border-radius:0; object-fit:contain; filter:drop-shadow(0 16px 25px rgba(96,74,205,.13)); animation:pixelHeroHover 6s ease-in-out infinite; }
/* Image already includes visual accents; avoid duplicate floating emojis */
.pixel-support-premium .pixel-floating-icon { display:none; }
@keyframes pixelHeroHover { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
/* Compact glass AI chat */
.pixel-support-premium .pixel-demo-card.pixel-demo-premium { position:relative; z-index:2; display:flex; flex-direction:column; gap:15px; min-width:0; padding:22px; border:1px solid rgba(255,255,255,.96); border-radius:27px; background:rgba(255,255,255,.74); box-shadow:0 20px 55px rgba(70,68,151,.15); backdrop-filter:blur(18px); color:#172047; }
.pixel-support-premium .pixel-demo-header { display:flex; align-items:center; gap:11px; padding-bottom:13px; border-bottom:1px solid #e7e6fb; }
.pixel-support-premium .pixel-demo-avatar { display:grid; place-items:center; flex:0 0 43px; width:43px; height:43px; border-radius:50%; background:#e8e5ff; font-size:1.45rem; }
.pixel-support-premium .pixel-demo-identity { display:flex; flex:1; flex-direction:column; gap:2px; }
.pixel-support-premium .pixel-demo-identity strong { color:#2d2575; font-size:1rem; }
.pixel-support-premium .pixel-demo-identity small { color:#7b84a5; font-size:.75rem; }
.pixel-support-premium .pixel-demo-status { color:#6a57f2; }
.pixel-support-premium .pixel-demo-question { align-self:flex-end; max-width:95%; padding:14px 16px; border:0; border-radius:17px 17px 5px 17px; background:#f0eaff; color:#242751; font-size:.87rem; line-height:1.5; font-weight:600; box-shadow:0 7px 18px rgba(93,78,172,.08); }
.pixel-support-premium .pixel-demo-answer { align-self:flex-start; max-width:95%; padding:16px; border:0; border-radius:17px 17px 17px 5px; background:linear-gradient(115deg,#8538f4,#2879ff); color:#fff; font-size:.88rem; line-height:1.6; box-shadow:0 10px 22px rgba(95,77,234,.16); }
.pixel-support-premium .pixel-demo-input { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px; padding:8px 8px 8px 16px; border:1px solid #e5e4f7; border-radius:999px; background:#fff; color:#9a9fba; font-size:.8rem; }
.pixel-support-premium .pixel-demo-send { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#8c4af6,#3c74ff); color:#fff; }
@media (max-width:1120px) {
  .pixel-support-section.pixel-support-premium { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:32px; }
  .pixel-support-premium .pixel-premium-visual { min-height:350px; }
  .pixel-support-premium .pixel-demo-card.pixel-demo-premium { grid-column:1/-1; }
}
@media (max-width:680px) {
  .pixel-support-section.pixel-support-premium { grid-template-columns:minmax(0,1fr); width:calc(100% - 24px); gap:16px; margin:42px auto; padding:25px 18px; border-radius:26px; }
  .pixel-support-premium .pixel-support-content h2 { font-size:clamp(2.5rem,11vw,3.6rem); }
  .pixel-support-premium .pixel-help-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .pixel-support-premium .pixel-help-item { flex-direction:column; align-items:flex-start; padding:12px; font-size:.75rem; }
  .pixel-support-premium .pixel-premium-visual { min-height:300px; }
  .pixel-support-premium .pixel-premium-image { width:100%; max-width:390px; }
  .pixel-support-premium .pixel-demo-card.pixel-demo-premium { grid-column:auto; padding:17px; }
}
@media (max-width:360px) { .pixel-support-premium .pixel-help-list { grid-template-columns:1fr; } .pixel-support-premium .pixel-help-item { flex-direction:row; } }
@media (prefers-reduced-motion:reduce) { .pixel-support-premium .pixel-premium-image { animation:none; } }
