    /* ========================================================================= */
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }
    
    @keyframes shimmer {
      0% { background-position: -1000px 0; }
      100% { background-position: 1000px 0; }
    }
    
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }
    
    * { 
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* ========================================================================= */

    body {
      /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; */
      background: var(--page-bg); 
      color: var(--text-primary);
      min-height: 100vh;
      padding: 16px;
      position: relative;
      overflow-x: hidden;
    }

    /* === When Cyrus home header is injected === */
    body.has-site-header {
      padding: 0;
      padding-top: var(--cyrus-home-header-height, 75px);
    }

    body.has-site-header .app {
      padding: 16px;
    }

    /* html[dir="rtl"] body,
    html[data-lang="fa"] body {
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    } */


    body::before {
      content: '';
      position: fixed;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
      animation: float 20s ease-in-out infinite;
      pointer-events: none;
    }

    .app {
      max-width: 840px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    /* ====== Theme toggle pill (sun ? moon) ====== */

    .top-bar {
      position: absolute;
      top: 16px;
      left: 16px;
      right: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 9999;          
      pointer-events: none;   
    }

    .top-bar-left,
    .top-bar-right {
      display: flex;
      align-items: center;
      gap: 8px;
      pointer-events: auto;    
    }

    .theme-toggle-btn {
      position: relative;
      width: 64px;
      height: 30px;
      padding: 0;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(15, 23, 42, 0.92);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(15, 23, 42, 0.65);
      transition: all 0.25s ease;
    }

    .theme-toggle-btn::before,
    .theme-toggle-btn::after {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      pointer-events: none;
      filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
      transition: opacity 0.25s ease;
    }

    .theme-toggle-btn::before {
      content: "??";
      left: 9px;
      opacity: 0.4;
    }

    .theme-toggle-btn::after {
      content: "??";
      right: 9px;
      opacity: 1;   
    }

    .theme-toggle-icon {
      position: absolute;
      top: 50%;
      left: 0;
      width: 22px;
      height: 22px;
      border-radius: 999px;
      background: #e5e7eb;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.7);
      transform: translate(36px, -50%); 
      transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.25s ease;
      font-size: 0; 
    }


    .theme-toggle-text {
      display: none;
    }

    .theme-toggle-btn:hover {
      box-shadow: 0 9px 24px rgba(15, 23, 42, 0.85);
      transform: translateY(-1px);
    }


    [data-theme="light"] .theme-toggle-btn {
      background: rgba(255, 255, 255, 0.96);
      border-color: rgba(148, 163, 184, 0.9);
      box-shadow: 0 6px 18px rgba(148, 163, 184, 0.8);
    }

    [data-theme="light"] .theme-toggle-btn::before {
      opacity: 1;   
    }

    [data-theme="light"] .theme-toggle-btn::after {
      opacity: 0.4; 
    }

    [data-theme="light"] .theme-toggle-btn .theme-toggle-icon {
      transform: translate(4px, -50%); 
      background: #0f172a;        
    }

    .header {
      text-align: center;
      padding: 32px 20px;
      margin-bottom: 24px;
      position: relative;
      animation: fadeIn 0.6s ease-out;
    }
    
    .header-icon {
      font-size: 64px;
      margin-bottom: 16px;
      display: inline-block;
      animation: float 3s ease-in-out infinite;
      filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.4));
    }
    
    .header-title {
      font-size: 32px;
      font-weight: 800;
      background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 12px;
      letter-spacing: -0.5px;
    }
    
    .header-subtitle {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.6;
      max-width: 760px;
      margin: 0 auto;
    }
    
    @media (min-width: 701px) {
      .header-subtitle {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    /* Stepper */
    .progress-shell {
      width: 100%;
      margin: 0 auto 24px;
      position: relative;
      z-index: 20;
      animation: fadeIn 0.6s ease-out 0.2s backwards;
    }

    .mobile-progress-toggle {
      display: none;
    }

    .progress-indicator {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
      margin: 0;
    }

    .progress-step {
      width: 100%;
      min-width: 0;
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 7px 10px;
      border-radius: 999px;
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      font-size: 13px;
      font-weight: 700;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .progress-step.active {
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
      border-color: var(--accent-primary);
      color: var(--text-primary);
      box-shadow: 0 4px 20px var(--accent-glow);
    }

    .progress-step.completed {
      background: rgba(16, 185, 129, 0.2);
      border-color: var(--success);
      color: var(--success);
    }

    .progress-step > span:last-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    html[dir="rtl"] .progress-step > span:last-child {
      font-size: 14px;
      font-weight: 800;
    }

    .progress-number {
      flex: 0 0 22px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10.5px;
      font-weight: 800;
    }

    .progress-step.active .progress-number {
      background: var(--accent-primary);
    }

    .progress-step.completed .progress-number {
      background: var(--success);
    }

    .section {
      margin-bottom: 24px;
      animation: fadeIn 0.6s ease-out backwards;
    }

    .section:nth-child(2) { animation-delay: 0.1s; }
    .section:nth-child(3) { animation-delay: 0.2s; }
    .section:nth-child(4) { animation-delay: 0.3s; }
    
    /* ========================================================================= */

    .section-card {
      padding: 24px;
      border-radius: 24px;
      background: var(--card-bg);      /* ?? ?? ?????? */
      border: 1px solid var(--card-border);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
      transition: all 0.3s ease;
      color: var(--card-text);         /* ??? ???? ?? ???? ?? */
    }

    .section-card:hover {
      border-color: rgba(99, 102, 241, 0.3);
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
      transform: translateY(-2px);
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    
    .section-icon {
      font-size: 24px;
    }

    .section-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--card-text);
    }
 
    .section-hint {
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 16px;
      line-height: 1.5;
    }
